提交酸扎串联内容以及磨辊间

This commit is contained in:
2026-05-09 16:44:39 +08:00
parent 43fb05291e
commit 41d561f2f6
21 changed files with 1747 additions and 1 deletions

View File

@@ -42,4 +42,18 @@
WHERE del_flag = 0 AND roll_no = #{rollNo} AND status = #{onlyIfStatus}
</update>
<update id="incrementGrindCount">
UPDATE mes_roll_info
SET grind_count = grind_count + 1,
<if test="diaAfter != null">current_dia = #{diaAfter},</if>
update_time = NOW()
WHERE del_flag = 0 AND roll_id = #{rollId}
</update>
<update id="updateCurrentDia">
UPDATE mes_roll_info
SET current_dia = #{currentDia}, update_time = NOW()
WHERE del_flag = 0 AND roll_id = #{rollId}
</update>
</mapper>