From ab3a4c17255a09e9725212d704fc3c3d4b5e0e4d Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Thu, 25 Dec 2025 11:26:27 +0800 Subject: [PATCH] =?UTF-8?q?2025-12-25=20=E5=BA=93=E5=AD=98=E4=BB=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0commGroup3=E3=80=81supplyCode=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../part/entity/PartInformationEntity.java | 10 ++++++++++ .../service/impl/PartInformationServiceImpl.java | 6 ++++++ .../spring/modules/part/vo/PartInformationVo.java | 4 ++++ .../mapper/part/PartInformationMapper.xml | 15 +++++++++++++++ .../mapper/part/ProductGroupInformationMapper.xml | 3 ++- 5 files changed, 37 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/spring/modules/part/entity/PartInformationEntity.java b/src/main/java/com/spring/modules/part/entity/PartInformationEntity.java index 72e2980c..f058be7b 100644 --- a/src/main/java/com/spring/modules/part/entity/PartInformationEntity.java +++ b/src/main/java/com/spring/modules/part/entity/PartInformationEntity.java @@ -108,6 +108,11 @@ public class PartInformationEntity extends QueryPage implements Serializable { **/ @TableField("product_group_id4") private String productGroupId4; + /** + * 商品组3(Comm Group 3) + **/ + @TableField("comm_group3") + private String commGroup3; /** * erp物料编码 **/ @@ -187,6 +192,11 @@ public class PartInformationEntity extends QueryPage implements Serializable { @JsonInclude(JsonInclude.Include.NON_EMPTY) private BigDecimal intrastatConvFactor; + /** + * 默认物料需求供应(Default Mtr Req Supply) + **/ + @TableField("supply_code") + private String supplyCode; /** * 物料状态编码 **/ diff --git a/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java b/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java index 7cca702c..8fa10c0a 100644 --- a/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java +++ b/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java @@ -306,6 +306,8 @@ public class PartInformationServiceImpl extends ServiceImpl().eq("part_no", fromPart.getPartNo())); masterPart.setPartNo(inData.getPartNo()); + masterPart.setPartDesc(inData.getPartDesc()); masterPartInformationMapper.insert(masterPart); } // master part 模板和属性 @@ -2199,6 +2202,7 @@ public class PartInformationServiceImpl extends ServiceImpl