出库模块代码跟技术鉴定表
This commit is contained in:
@@ -145,7 +145,6 @@
|
||||
<update id="updateWornUniqueCodeMaterial" parameterType="WornUniqueCodeMaterial">
|
||||
update worn_unique_code_material
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="uniqueCodeId != null">unique_code_id = #{uniqueCodeId},</if>
|
||||
<if test="materialId != null">material_id = #{materialId},</if>
|
||||
<if test="unitId != null">unit_id = #{unitId},</if>
|
||||
<if test="quantity != null">quantity = #{quantity},</if>
|
||||
@@ -156,7 +155,7 @@
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="isDelete != null">is_delete = #{isDelete},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
where unique_code_id = #{uniqueCodeId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteWornUniqueCodeMaterialById" parameterType="Long">
|
||||
@@ -169,5 +168,10 @@
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<update id="updateDeleteByUniqueCodeId">
|
||||
UPDATE worn_unique_code_material
|
||||
SET is_delete = '1',
|
||||
update_time = NOW()
|
||||
WHERE unique_code_id = #{uniqueCodeId}
|
||||
</update>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user