From d5055b7870d0406f9b00d429cb47d2bfb79b902c Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期三, 10 十二月 2025 11:37:09 +0800
Subject: [PATCH] 补片流程卡添加打印次数

---
 north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml b/north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml
index b554941..77c5044 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml
@@ -474,4 +474,8 @@
         </where>
         order by r.review_status,r.id desc
     </select>
+
+    <update id="updatePrintNumMp">
+        update pp.patch_log set print_num=IFNULL(print_num,0)+1 where id=#{id}
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0