|
@@ -37,6 +37,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="startTime != null "> and start_time = #{startTime}</if>
|
|
<if test="startTime != null "> and start_time = #{startTime}</if>
|
|
|
<if test="lastUpdateTime != null "> and last_update_time = #{lastUpdateTime}</if>
|
|
<if test="lastUpdateTime != null "> and last_update_time = #{lastUpdateTime}</if>
|
|
|
<if test="businessKey != null and businessKey != ''"> and business_key = #{businessKey}</if>
|
|
<if test="businessKey != null and businessKey != ''"> and business_key = #{businessKey}</if>
|
|
|
|
|
+ <if test="startNodeKey != null and startNodeKey != ''"> and start_node_key = #{startNodeKey}</if>
|
|
|
|
|
+ <if test="endNodeKey != null and endNodeKey != ''"> and end_node_key = #{endNodeKey}</if>
|
|
|
</where>
|
|
</where>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -60,6 +62,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="startTime != null">start_time,</if>
|
|
<if test="startTime != null">start_time,</if>
|
|
|
<if test="lastUpdateTime != null">last_update_time,</if>
|
|
<if test="lastUpdateTime != null">last_update_time,</if>
|
|
|
<if test="businessKey != null">business_key,</if>
|
|
<if test="businessKey != null">business_key,</if>
|
|
|
|
|
+ <if test="startNodeKey != null">start_node_key,</if>
|
|
|
|
|
+ <if test="endNodeKey != null">end_node_key,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
<if test="id != null">#{id},</if>
|
|
@@ -74,6 +78,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="startTime != null">#{startTime},</if>
|
|
<if test="startTime != null">#{startTime},</if>
|
|
|
<if test="lastUpdateTime != null">#{lastUpdateTime},</if>
|
|
<if test="lastUpdateTime != null">#{lastUpdateTime},</if>
|
|
|
<if test="businessKey != null">#{businessKey},</if>
|
|
<if test="businessKey != null">#{businessKey},</if>
|
|
|
|
|
+ <if test="startNodeKey != null">#{startNodeKey},</if>
|
|
|
|
|
+ <if test="endNodeKey != null">#{endNodeKey},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|