From d175d9c401fb97ebe6a580005a8c9ad5fedccb6b Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期一, 29 七月 2024 17:02:41 +0800
Subject: [PATCH] add other method
---
pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml
index 11c5616..3f4fd0e 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml
@@ -49,6 +49,13 @@
delete from pr_production_node
where process_id = #{processId,jdbcType=BIGINT}
</delete>
+ <delete id="deleteByNodeId" parameterType="arraylist">
+ delete from pr_production_node
+ where id in
+ <foreach collection="list" item="item" index="index" open="(" separator="," close=")">
+ #{item}
+ </foreach>
+ </delete>
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrProductionNode" useGeneratedKeys="true">
insert into pr_production_node
<trim prefix="(" suffix=")" suffixOverrides=",">
@@ -147,11 +154,11 @@
</if>
</trim>
order by sort asc
- <trim prefix="limit " >
- <if test="start != null and count != null">
- #{start}, #{count}
- </if>
- </trim>
+<!-- <trim prefix="limit " >-->
+<!-- <if test="start != null and count != null">-->
+<!-- #{start}, #{count}-->
+<!-- </if>-->
+<!-- </trim>-->
</select>
<select id="isEndNode" resultType="java.lang.Boolean">
select
--
Gitblit v1.8.0