feat(入库计划明细实例): 新增rfid字段

This commit is contained in:
LJW 2024-11-12 14:22:14 +08:00
parent fc80d0dedf
commit 281e55a551
2 changed files with 22 additions and 2 deletions

View File

@ -43,6 +43,12 @@ public class WmsInPlanDetailEntity extends BaseEntity {
@Excel(name = "台账ID") @Excel(name = "台账ID")
private Long knifeId; private Long knifeId;
/**
* rfid
*/
@Excel(name = "rfid")
private String rfid;
/** /**
* 消耗寿命 * 消耗寿命
*/ */
@ -89,6 +95,14 @@ public class WmsInPlanDetailEntity extends BaseEntity {
return knifeId; return knifeId;
} }
public String getRfid() {
return rfid;
}
public void setRfid(String rfid) {
this.rfid = rfid;
}
public void setConsumeLife(Integer consumeLife) { public void setConsumeLife(Integer consumeLife) {
this.consumeLife = consumeLife; this.consumeLife = consumeLife;
} }

View File

@ -10,6 +10,7 @@
<result property="planDetailsId" column="PLAN_DETAILS_ID"/> <result property="planDetailsId" column="PLAN_DETAILS_ID"/>
<result property="source" column="SOURCE"/> <result property="source" column="SOURCE"/>
<result property="knifeId" column="KNIFE_ID"/> <result property="knifeId" column="KNIFE_ID"/>
<result property="rfid" column="RFID"/>
<result property="consumeLife" column="CONSUME_LIFE"/> <result property="consumeLife" column="CONSUME_LIFE"/>
<result property="createBy" column="CREATE_BY"/> <result property="createBy" column="CREATE_BY"/>
<result property="createTime" column="CREATE_TIME"/> <result property="createTime" column="CREATE_TIME"/>
@ -23,6 +24,7 @@
PLAN_DETAILS_ID, PLAN_DETAILS_ID,
SOURCE, SOURCE,
KNIFE_ID, KNIFE_ID,
RFID,
CONSUME_LIFE, CONSUME_LIFE,
CREATE_BY, CREATE_BY,
CREATE_TIME, CREATE_TIME,
@ -39,6 +41,7 @@
<if test="planDetailsId != null and planDetailsId != ''">and PLAN_DETAILS_ID = #{planDetailsId}</if> <if test="planDetailsId != null and planDetailsId != ''">and PLAN_DETAILS_ID = #{planDetailsId}</if>
<if test="source != null and source != ''">and SOURCE = #{source}</if> <if test="source != null and source != ''">and SOURCE = #{source}</if>
<if test="knifeId != null and knifeId != ''">and KNIFE_ID = #{knifeId}</if> <if test="knifeId != null and knifeId != ''">and KNIFE_ID = #{knifeId}</if>
<if test="rfid != null and rfid != ''">and RFID = #{rfid}</if>
<if test="consumeLife != null and consumeLife != ''">and CONSUME_LIFE = #{consumeLife}</if> <if test="consumeLife != null and consumeLife != ''">and CONSUME_LIFE = #{consumeLife}</if>
<if test="createBy != null and createBy != ''">and CREATE_BY = #{createBy}</if> <if test="createBy != null and createBy != ''">and CREATE_BY = #{createBy}</if>
<if test="createTime != null and createTime != ''">and CREATE_TIME = #{createTime}</if> <if test="createTime != null and createTime != ''">and CREATE_TIME = #{createTime}</if>
@ -65,6 +68,7 @@
<if test="planDetailsId != null">PLAN_DETAILS_ID,</if> <if test="planDetailsId != null">PLAN_DETAILS_ID,</if>
<if test="source != null">SOURCE,</if> <if test="source != null">SOURCE,</if>
<if test="knifeId != null">KNIFE_ID,</if> <if test="knifeId != null">KNIFE_ID,</if>
<if test="rfid != null">RFID,</if>
<if test="consumeLife != null">CONSUME_LIFE,</if> <if test="consumeLife != null">CONSUME_LIFE,</if>
<if test="createBy != null">CREATE_BY,</if> <if test="createBy != null">CREATE_BY,</if>
<if test="createTime != null">CREATE_TIME,</if> <if test="createTime != null">CREATE_TIME,</if>
@ -76,6 +80,7 @@
<if test="planDetailsId != null">#{planDetailsId},</if> <if test="planDetailsId != null">#{planDetailsId},</if>
<if test="source != null">#{source},</if> <if test="source != null">#{source},</if>
<if test="knifeId != null">#{knifeId},</if> <if test="knifeId != null">#{knifeId},</if>
<if test="rfid != null">#{rfid},</if>
<if test="consumeLife != null">#{consumeLife},</if> <if test="consumeLife != null">#{consumeLife},</if>
<if test="createBy != null">#{createBy},</if> <if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if> <if test="createTime != null">#{createTime},</if>
@ -91,6 +96,7 @@
<if test="planDetailsId != null">PLAN_DETAILS_ID = #{planDetailsId},</if> <if test="planDetailsId != null">PLAN_DETAILS_ID = #{planDetailsId},</if>
<if test="source != null">SOURCE = #{source},</if> <if test="source != null">SOURCE = #{source},</if>
<if test="knifeId != null">KNIFE_ID = #{knifeId},</if> <if test="knifeId != null">KNIFE_ID = #{knifeId},</if>
<if test="rfid != null">RFID = #{rfid},</if>
<if test="consumeLife != null">CONSUME_LIFE = #{consumeLife},</if> <if test="consumeLife != null">CONSUME_LIFE = #{consumeLife},</if>
<if test="createBy != null">CREATE_BY = #{createBy},</if> <if test="createBy != null">CREATE_BY = #{createBy},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if> <if test="createTime != null">CREATE_TIME = #{createTime},</if>
@ -122,9 +128,9 @@
<!--批量插入--> <!--批量插入-->
<insert id="batchWmsInPlanDetailEntity"> <insert id="batchWmsInPlanDetailEntity">
insert into WMS_IN_PLAN_DETAIL_ENTITY( 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
<foreach item="item" index="index" collection="list" separator=","> <foreach item="item" index="index" collection="list" separator=",">
( #{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.consumeLife},#{item.createBy}, #{item.createTime}, #{item.updateBy},
#{item.updateTime}) #{item.updateTime})
</foreach> </foreach>