From 5253013811d7fee3599d73ad3c92eecb5e6f964e Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期六, 12 十月 2024 15:48:53 +0800
Subject: [PATCH] statistic workload

---
 pms-parent/pms-global/src/main/resources/mapper/PrBillOfMaterialMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrBillOfMaterialMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrBillOfMaterialMapper.xml
index a9c0e69..b3a55e0 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrBillOfMaterialMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrBillOfMaterialMapper.xml
@@ -89,4 +89,11 @@
       file_id = #{fileId,jdbcType=BIGINT}
     where id = #{id,jdbcType=BIGINT}
   </update>
+
+  <delete id="deleteByNodeId" >
+    delete from pr_bill_of_material where node_id in
+    <foreach collection="nodeIds" item="item" separator="," open="(" close=")">
+      #{item}
+    </foreach>
+    </delete>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0