This commit is contained in:
linfso 2024-05-30 07:00:53 +08:00
parent fd4b551f67
commit 0dda8f907a

View File

@ -56,12 +56,12 @@
<if test="id != null "> and id = #{id}</if>
<if test="planId != null "> and plan_id = #{planId}</if>
<if test="stepName != null and stepName != ''"> and step_name like concat('%', #{stepName}, '%')</if>
<if test="startSite != null and startSite != ''"> and start_site like concat('%', #{startSite}, '%')</if>
<if test="destSite != null and destSite != ''"> and dest_site like concat('%', #{destSite}, '%')</if>
<if test="transType != null and transType != ''"> and trans_type like concat('%', #{transType}, '%')</if>
<if test="startSite != null and startSite != ''"> and FIND_IN_SET( #{startSite}, start_site ) </if>
<if test="destSite != null and destSite != ''"> and FIND_IN_SET( #{destSite}, dest_site )</if>
<if test="transType != null and transType != ''"> and trans_type=#{transType}</if>
<if test="estCostDay != null "> and est_cost_day like concat('%', #{estCostDay}, '%')</if>
<if test="orderNum != null "> and order_num = #{orderNum}</if>
<if test="status != null and status != ''"> and status like concat('%', #{status}, '%')</if>
<if test="status != null and status != ''"> and status=#{status}</if>
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>
<if test="createBy != null and createBy != ''"> and create_by like concat('%', #{createBy}, '%')</if>
<if test="createTime != null "> and create_time = #{createTime}</if>
@ -71,7 +71,7 @@
<if test="createSite != null and createSite != ''"> and create_site like concat('%', #{createSite}, '%')</if>
<if test="updateSite != null and updateSite != ''"> and update_site like concat('%', #{updateSite}, '%')</if>
</where>
order by create_time desc
order by order_num asc
</select>
<select id="checkUnique" parameterType="EmisTmsTransPlanDtl" resultType="int">