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})