| | |
| | | <select id="getTjOrderList" parameterType="java.util.Map" resultMap="TjOrderResult"> |
| | | <include refid="selectTjOrderVo"/> |
| | | <where> |
| | | <if test="tjNum != null">and tj_number LIKE '%${tjNum}'</if> |
| | | <if test="tjNum != null">and tj_number LIKE concat('%', #{tjNum}, '%')</if> |
| | | <if test="checkStatus != null and checkStatus==0 ">and status =288</if> |
| | | <if test="checkStatus != null and checkStatus==1 ">and status =401 or status= 402 </if> |
| | | <if test="compId != null ">and comp_id = #{compId}</if> |
| | |
| | | <select id="getWCsTjOrderList" parameterType="java.util.Map" resultMap="TjOrderResult"> |
| | | <include refid="selectTjOrderVo"/> |
| | | <where> |
| | | <if test="tjNum != null">and tj_number LIKE '%${tjNum}'</if> |
| | | <if test="tjNum != null">and tj_number LIKE concat('%', #{tjNum}, '%')</if> |
| | | <if test="compId != null ">and comp_id = #{compId}</if> |
| | | <if test="beginTime != null and endTime != null ">and create_time BETWEEN #{beginTime} and #{endTime}</if> |
| | | and deleted =0 |
| | |
| | | <select id="getYCsTjOrderList" parameterType="java.util.Map" resultMap="TjOrderResult"> |
| | | <include refid="selectTjOrderVo"/> |
| | | <where> |
| | | <if test="tjNum != null">and tj_number LIKE '%${tjNum}'</if> |
| | | <if test="tjNum != null">and tj_number LIKE concat('%', #{tjNum}, '%')</if> |
| | | <if test="compId != null ">and comp_id = #{compId}</if> |
| | | <if test="beginTime != null and endTime != null ">and create_time BETWEEN #{beginTime} and #{endTime}</if> |
| | | and deleted =0 |
| | |
| | | <select id="getCsTjOrderList1" parameterType="java.util.Map" resultMap="TjOrderResult"> |
| | | <include refid="selectTjOrderVo"/> |
| | | <where> |
| | | <if test="tjNum != null">and tj_number LIKE '%${tjNum}'</if> |
| | | <if test="tjNum != null">and tj_number LIKE concat('%', #{tjNum}, '%')</if> |
| | | <if test="checkStatus != null and checkStatus==0 ">and status =301</if> |
| | | <if test="checkStatus != null and checkStatus== 1 ">and status =401 or status= 402 </if> |
| | | <if test="compId != null ">and comp_id = #{compId}</if> |