| | |
| | | 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=","> |
| | |
| | | </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 |