| | |
| | | <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> |
| | |
| | | </delete> |
| | | |
| | | |
| | | <select id="getOrderList" parameterType="java.lang.Long" resultMap="TjOrderResult"> |
| | | select * |
| | | from tj_order |
| | | where 1 = 1 |
| | | and user_id = #{cusId} |
| | | </select> |
| | | <!-- <select id="getOrderList" parameterType="java.lang.Long" resultMap="TjOrderResult">--> |
| | | <!-- select *--> |
| | | <!-- from tj_order--> |
| | | <!-- where 1 = 1--> |
| | | <!-- and user_id = #{cusId}--> |
| | | <!-- </select>--> |
| | | |
| | | |
| | | <select id="getOrderList1" parameterType="Integer" resultMap="TjOrderResult"> |
| | | {call sel_tjorder()} |
| | | </select> |
| | | |
| | | |
| | | <select id="getCunChuGuoChengCustomerList" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> |
| | | {call tj_check_list( |
| | | #{checkStatus,mode=IN,jdbcType=INTEGER}, |
| | | #{page,mode=IN,jdbcType=INTEGER}, |
| | | #{pageSize,mode=IN,jdbcType=INTEGER}, |
| | | #{tjNumber,mode=IN,jdbcType=VARCHAR}, |
| | | #{compId,mode=IN,jdbcType=VARCHAR}, |
| | | #{tjname,mode=IN,jdbcType=VARCHAR}, |
| | | #{beginTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{endTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{total,mode=OUT,jdbcType=INTEGER} |
| | | )} |
| | | </select> |
| | | |
| | | |
| | | <select id="getCsCunChuGuoChengCustomerList" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> |
| | | {call tj_cs_check_list( |
| | | #{checkStatus,mode=IN,jdbcType=INTEGER}, |
| | | #{page,mode=IN,jdbcType=INTEGER}, |
| | | #{pageSize,mode=IN,jdbcType=INTEGER}, |
| | | #{tjNumber,mode=IN,jdbcType=VARCHAR}, |
| | | #{compId,mode=IN,jdbcType=VARCHAR}, |
| | | #{tjname,mode=IN,jdbcType=VARCHAR}, |
| | | #{beginTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{endTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{tcm,mode=IN,jdbcType=VARCHAR}, |
| | | #{total,mode=OUT,jdbcType=INTEGER} |
| | | )} |
| | | </select> |
| | | |
| | | |
| | | <select id="getSuiFangTongYiMoBanJieKou" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> |
| | | {call tj_PRO_ltkjreport( |
| | | #{checkStatus,mode=IN,jdbcType=INTEGER}, |
| | | #{page,mode=IN,jdbcType=INTEGER}, |
| | | #{pageSize,mode=IN,jdbcType=INTEGER}, |
| | | #{tjNumber,mode=IN,jdbcType=VARCHAR}, |
| | | #{compId,mode=IN,jdbcType=VARCHAR}, |
| | | #{tjname,mode=IN,jdbcType=VARCHAR}, |
| | | #{beginTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{endTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{total,mode=OUT,jdbcType=INTEGER} |
| | | )} |
| | | </select> |
| | | |
| | | |
| | | <select id="getgetBghsList" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> |
| | | {call tj_bghs_list( |
| | | #{page,mode=IN,jdbcType=INTEGER}, |
| | | #{pageSize,mode=IN,jdbcType=INTEGER}, |
| | | #{tjNumber,mode=IN,jdbcType=VARCHAR}, |
| | | #{compId,mode=IN,jdbcType=VARCHAR}, |
| | | #{tjname,mode=IN,jdbcType=VARCHAR}, |
| | | #{beginTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{endTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{total,mode=OUT,jdbcType=INTEGER} |
| | | )} |
| | | </select> |
| | | <select id="tjQiandaodengji" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> |
| | | {call tj_qiandaodengji( |
| | | #{tjNum,mode=IN,jdbcType=VARCHAR} |
| | | )} |
| | | </select> |
| | | <select id="tjLispacstongbujianyi" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> |
| | | {call tj_lispacstongbujianyi( |
| | | #{tjNum,mode=IN,jdbcType=VARCHAR}, |
| | | #{ksId,mode=IN,jdbcType=VARCHAR}, |
| | | #{ysxm,mode=IN,jdbcType=VARCHAR}, |
| | | #{ysid,mode=IN,jdbcType=VARCHAR} )} |
| | | </select> |
| | | |
| | | |
| | | <select id="getTjBgdyList" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> |
| | | {call tj_bgdy_list( |
| | | #{page,mode=IN,jdbcType=VARCHAR}, |
| | | #{pageSize,mode=IN,jdbcType=VARCHAR}, |
| | | #{dyzt,mode=IN,jdbcType=VARCHAR}, |
| | | #{tjNumber,mode=IN,jdbcType=VARCHAR}, |
| | | #{dw,mode=IN,jdbcType=VARCHAR}, |
| | | #{tjname,mode=IN,jdbcType=VARCHAR}, |
| | | #{beginTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{endTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{total,mode=OUT,jdbcType=INTEGER} |
| | | )} |
| | | </select> |
| | | |
| | | |
| | | |
| | | <select id="getYxJcList" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> |
| | | {call tj_xdtgmd_list( |
| | | #{checkStatus,mode=IN,jdbcType=INTEGER}, |
| | | #{page,mode=IN,jdbcType=INTEGER}, |
| | | #{pageSize,mode=IN,jdbcType=INTEGER}, |
| | | #{tjNumber,mode=IN,jdbcType=VARCHAR}, |
| | | #{compId,mode=IN,jdbcType=VARCHAR}, |
| | | #{tjname,mode=IN,jdbcType=VARCHAR}, |
| | | #{beginTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{endTime,mode=IN,jdbcType=VARCHAR}, |
| | | #{tcm,mode=IN,jdbcType=VARCHAR}, |
| | | #{ks,mode=IN,jdbcType=VARCHAR}, |
| | | #{total,mode=OUT,jdbcType=INTEGER} |
| | | )} |
| | | </select> |
| | | |
| | | </mapper> |