出库模块代码跟技术鉴定表

This commit is contained in:
2026-04-14 10:37:14 +08:00
parent 7210c13ae1
commit b41c5d6c51
42 changed files with 4089 additions and 15 deletions

View File

@@ -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>