From 85da1a0b18cab0c2b09e7c97a853848c22e5171d Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期三, 21 八月 2024 08:38:13 +0800 Subject: [PATCH] order manage --- 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