|
|
@ -162,15 +162,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
|
<if test="updateBy != null">#{updateBy},</if> |
|
|
|
<if test="updateTime != null">#{updateTime},</if> |
|
|
|
<if test="remark != null">#{remark},</if> |
|
|
|
<if test="bomNo != null">#{bomNo},</if> |
|
|
|
<if test="materialNo != null">#{materialNo},</if> |
|
|
|
<if test="materialName != null">#{materialName},</if> |
|
|
|
<if test="materialType != null">#{materialType},</if> |
|
|
|
<if test="processMethod != null">#{processMethod},</if> |
|
|
|
<if test="unit != null">#{unit},</if> |
|
|
|
<if test="brand != null">#{brand},</if> |
|
|
|
<if test="describe != null">#{describe},</if> |
|
|
|
<if test="remark != null and remark != '' ">#{remark},</if> |
|
|
|
<if test="bomNo != null and bomNo != '' ">#{bomNo},</if> |
|
|
|
<if test="materialNo != null and materialNo != '' ">#{materialNo},</if> |
|
|
|
<if test="materialName != null and materialName != '' ">#{materialName},</if> |
|
|
|
<if test="materialType != null and materialType != '' ">#{materialType},</if> |
|
|
|
<if test="processMethod != null and processMethod != '' ">#{processMethod},</if> |
|
|
|
<if test="unit != null and unit != '' ">#{unit},</if> |
|
|
|
<if test="brand != null and brand != '' ">#{brand},</if> |
|
|
|
<if test="describe != null and describe != '' ">#{describe},</if> |
|
|
|
<if test="useNum != null">#{useNum},</if> |
|
|
|
<if test="lossRate != null">#{lossRate},</if> |
|
|
|
<if test="parentId != null">#{parentId},</if> |
|
|
@ -189,22 +189,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if> |
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if> |
|
|
|
<if test="remark != null">remark = #{remark},</if> |
|
|
|
<if test="bomNo != null">bom_no = #{bomNo},</if> |
|
|
|
<if test="materialNo != null">material_no = #{materialNo},</if> |
|
|
|
<if test="materialName != null">material_name = #{materialName},</if> |
|
|
|
<if test="materialType != null">material_type = #{materialType},</if> |
|
|
|
<if test="processMethod != null">process_method = #{processMethod},</if> |
|
|
|
<if test="unit != null">unit = #{unit},</if> |
|
|
|
<if test="brand != null">brand = #{brand},</if> |
|
|
|
<if test="describe != null">`describe` = #{describe},</if> |
|
|
|
<if test="remark != null and remark != '' ">remark = #{remark},</if> |
|
|
|
<if test="bomNo != null and bomNo != '' ">bom_no = #{bomNo},</if> |
|
|
|
<if test="materialNo != null and materialNo != '' ">material_no = #{materialNo},</if> |
|
|
|
<if test="materialName != null and materialName != '' ">material_name = #{materialName},</if> |
|
|
|
<if test="materialType != null and materialType != '' ">material_type = #{materialType},</if> |
|
|
|
<if test="processMethod != null and processMethod != '' ">process_method = #{processMethod},</if> |
|
|
|
<if test="unit != null and unit != '' ">unit = #{unit},</if> |
|
|
|
<if test="brand != null and brand != '' ">brand = #{brand},</if> |
|
|
|
<if test="describe != null and describe != '' ">`describe` = #{describe},</if> |
|
|
|
<if test="useNum != null">use_num = #{useNum},</if> |
|
|
|
<if test="lossRate != null">loss_rate = #{lossRate},</if> |
|
|
|
<if test="parentId != null">parent_id = #{parentId},</if> |
|
|
|
<if test="level != null">`level` = #{level},</if> |
|
|
|
<if test="sortNo != null">sort_no = #{sortNo},</if> |
|
|
|
<if test="auditStatus != null">audit_status = #{auditStatus},</if> |
|
|
|
<if test="useStatus != null">use_status = #{useStatus},</if> |
|
|
|
<if test="auditStatus != null and auditStatus != '' ">audit_status = #{auditStatus},</if> |
|
|
|
<if test="useStatus != null and useStatus != '' ">use_status = #{useStatus},</if> |
|
|
|
</trim> |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|