refactor: 字段修改

This commit is contained in:
LJW 2024-11-06 10:48:38 +08:00
parent 1cdbbdb3b0
commit b1dc3ceba0
2 changed files with 12 additions and 12 deletions

View File

@ -36,7 +36,7 @@ public class WmsInPlanDetailEntity extends BaseEntity
/** 消耗寿命 */
@Excel(name = "消耗寿命")
private String comsumeLife;
private String consumeLife;
public void setId(Long id)
{
@ -83,14 +83,14 @@ public class WmsInPlanDetailEntity extends BaseEntity
{
return knifeId;
}
public void setComsumeLife(String comsumeLife)
public void setconsumeLife(String consumeLife)
{
this.comsumeLife = comsumeLife;
this.consumeLife = consumeLife;
}
public String getComsumeLife()
public String getconsumeLife()
{
return comsumeLife;
return consumeLife;
}
@Override
@ -101,7 +101,7 @@ public class WmsInPlanDetailEntity extends BaseEntity
.append("planDetailsId", getPlanDetailsId())
.append("source", getSource())
.append("knifeId", getKnifeId())
.append("comsumeLife", getComsumeLife())
.append("consumeLife", getconsumeLife())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())

View File

@ -10,7 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="planDetailsId" column="PLAN_DETAILS_ID" />
<result property="source" column="SOURCE" />
<result property="knifeId" column="KNIFE_ID" />
<result property="comsumeLife" column="COMSUME_LIFE" />
<result property="consumeLife" column="CONSUME_LIFE" />
<result property="createBy" column="CREATE_BY" />
<result property="createTime" column="CREATE_TIME" />
<result property="updateBy" column="UPDATE_BY" />
@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectWmsInPlanDetailEntityVo">
select ID, PLAN_ID, PLAN_DETAILS_ID, SOURCE, KNIFE_ID, COMSUME_LIFE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME from WMS_IN_PLAN_DETAIL_ENTITY
select ID, PLAN_ID, PLAN_DETAILS_ID, SOURCE, KNIFE_ID, CONSUME_LIFE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME from WMS_IN_PLAN_DETAIL_ENTITY
</sql>
<select id="selectWmsInPlanDetailEntityList" parameterType="WmsInPlanDetailEntity" resultMap="WmsInPlanDetailEntityResult">
@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="planDetailsId != null and planDetailsId != ''"> and PLAN_DETAILS_ID = #{planDetailsId}</if>
<if test="source != null and source != ''"> and SOURCE = #{source}</if>
<if test="knifeId != null and knifeId != ''"> and KNIFE_ID = #{knifeId}</if>
<if test="comsumeLife != null and comsumeLife != ''"> and COMSUME_LIFE = #{comsumeLife}</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="createTime != null and createTime != ''"> and CREATE_TIME = #{createTime}</if>
<if test="updateBy != null and updateBy != ''"> and UPDATE_BY = #{updateBy}</if>
@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="planDetailsId != null">PLAN_DETAILS_ID,</if>
<if test="source != null">SOURCE,</if>
<if test="knifeId != null">KNIFE_ID,</if>
<if test="comsumeLife != null">COMSUME_LIFE,</if>
<if test="consumeLife != null">CONSUME_LIFE,</if>
<if test="createBy != null">CREATE_BY,</if>
<if test="createTime != null">CREATE_TIME,</if>
<if test="updateBy != null">UPDATE_BY,</if>
@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="planDetailsId != null">#{planDetailsId},</if>
<if test="source != null">#{source},</if>
<if test="knifeId != null">#{knifeId},</if>
<if test="comsumeLife != null">#{comsumeLife},</if>
<if test="consumeLife != null">#{consumeLife},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
@ -74,7 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="planDetailsId != null">PLAN_DETAILS_ID = #{planDetailsId},</if>
<if test="source != null">SOURCE = #{source},</if>
<if test="knifeId != null">KNIFE_ID = #{knifeId},</if>
<if test="comsumeLife != null">COMSUME_LIFE = #{comsumeLife},</if>
<if test="consumeLife != null">CONSUME_LIFE = #{consumeLife},</if>
<if test="createBy != null">CREATE_BY = #{createBy},</if>
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
<if test="updateBy != null">UPDATE_BY = #{updateBy},</if>