From ba716bde839f65ee5c631c9b1727ee40f5f597d0 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Fri, 14 Jun 2024 11:09:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/spring/modules/base/data/PartInformationVo.java | 1 + .../com/spring/modules/base/entity/PartInformationEntity.java | 1 + src/main/resources/mapper/base/PartMapper.xml | 2 ++ 3 files changed, 4 insertions(+) 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,