From 281e55a5515f4707214e8701c198738d74ad6a52 Mon Sep 17 00:00:00 2001 From: LJW Date: Tue, 12 Nov 2024 14:22:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=85=A5=E5=BA=93=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E5=AE=9E=E4=BE=8B):=20=E6=96=B0=E5=A2=9Erfid?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ktg/mes/wm/domain/WmsInPlanDetailEntity.java | 14 ++++++++++++++ .../mapper/wm/WmsInPlanDetailEntityMapper.xml | 10 ++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetailEntity.java b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetailEntity.java index f7039ff..532a38c 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetailEntity.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetailEntity.java @@ -43,6 +43,12 @@ public class WmsInPlanDetailEntity extends BaseEntity { @Excel(name = "台账ID") private Long knifeId; + /** + * rfid + */ + @Excel(name = "rfid") + private String rfid; + /** * 消耗寿命 */ @@ -89,6 +95,14 @@ public class WmsInPlanDetailEntity extends BaseEntity { return knifeId; } + public String getRfid() { + return rfid; + } + + public void setRfid(String rfid) { + this.rfid = rfid; + } + public void setConsumeLife(Integer consumeLife) { this.consumeLife = consumeLife; } diff --git a/ktg-mes/src/main/resources/mapper/wm/WmsInPlanDetailEntityMapper.xml b/ktg-mes/src/main/resources/mapper/wm/WmsInPlanDetailEntityMapper.xml index 32e445e..fc94f96 100644 --- a/ktg-mes/src/main/resources/mapper/wm/WmsInPlanDetailEntityMapper.xml +++ b/ktg-mes/src/main/resources/mapper/wm/WmsInPlanDetailEntityMapper.xml @@ -10,6 +10,7 @@ + @@ -23,6 +24,7 @@ PLAN_DETAILS_ID, SOURCE, KNIFE_ID, + RFID, CONSUME_LIFE, CREATE_BY, CREATE_TIME, @@ -39,6 +41,7 @@ and PLAN_DETAILS_ID = #{planDetailsId} and SOURCE = #{source} and KNIFE_ID = #{knifeId} + and RFID = #{rfid} and CONSUME_LIFE = #{consumeLife} and CREATE_BY = #{createBy} and CREATE_TIME = #{createTime} @@ -65,6 +68,7 @@ PLAN_DETAILS_ID, SOURCE, KNIFE_ID, + RFID, CONSUME_LIFE, CREATE_BY, CREATE_TIME, @@ -76,6 +80,7 @@ #{planDetailsId}, #{source}, #{knifeId}, + #{rfid}, #{consumeLife}, #{createBy}, #{createTime}, @@ -91,6 +96,7 @@ PLAN_DETAILS_ID = #{planDetailsId}, SOURCE = #{source}, KNIFE_ID = #{knifeId}, + RFID = #{rfid}, CONSUME_LIFE = #{consumeLife}, CREATE_BY = #{createBy}, CREATE_TIME = #{createTime}, @@ -122,9 +128,9 @@ insert into WMS_IN_PLAN_DETAIL_ENTITY( - ID,PLAN_ID,PLAN_DETAILS_ID,SOURCE,KNIFE_ID,CONSUME_LIFE,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME) values + PLAN_ID,PLAN_DETAILS_ID,SOURCE,KNIFE_ID,RFID,CONSUME_LIFE,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME) values - ( #{item.id}, #{item.planId}, #{item.planDetailsId}, #{item.source}, #{item.knifeId}, + (#{item.planId}, #{item.planDetailsId}, #{item.source}, #{item.knifeId},#{item.rfid}, #{item.consumeLife},#{item.createBy}, #{item.createTime}, #{item.updateBy}, #{item.updateTime})