diff --git a/src/main/java/com/spring/modules/base/data/PartInformationVo.java b/src/main/java/com/spring/modules/base/data/PartInformationVo.java index 30058b7..6c88932 100644 --- a/src/main/java/com/spring/modules/base/data/PartInformationVo.java +++ b/src/main/java/com/spring/modules/base/data/PartInformationVo.java @@ -23,6 +23,7 @@ public class PartInformationVo extends PartInformationEntity { * 类型名称 **/ private String familyName; + private String phaseDescription; /** * 分组名称 **/ diff --git a/src/main/java/com/spring/modules/base/entity/PartInformationEntity.java b/src/main/java/com/spring/modules/base/entity/PartInformationEntity.java index b3207f4..0ed6dfd 100644 --- a/src/main/java/com/spring/modules/base/entity/PartInformationEntity.java +++ b/src/main/java/com/spring/modules/base/entity/PartInformationEntity.java @@ -58,6 +58,7 @@ public class PartInformationEntity extends QueryPage implements Serializable { * 计量单位 **/ private String umId; + private String phaseCode; /** * 净重 **/ diff --git a/src/main/resources/mapper/base/PartMapper.xml b/src/main/resources/mapper/base/PartMapper.xml index d8610d0..a1c9a11 100644 --- a/src/main/resources/mapper/base/PartMapper.xml +++ b/src/main/resources/mapper/base/PartMapper.xml @@ -22,6 +22,8 @@ uom_for_volume_net, lot_tracking_code, active, + phase_Code, + dbo.get_phaseDescription(phase_Code) phaseDescription, product_group_id1, dbo.get_product_group_name(site, product_group_id1, '1') as productGroupName1, product_group_id2,