23
lige
2023-12-11 c7e8b28a453bf85fb78c1f09a6d613ecef9ea240
ltkj-hosp/src/main/resources/mapper/hosp/TjOrderMapper.xml
@@ -85,7 +85,7 @@
    <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>
@@ -99,7 +99,7 @@
    <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
@@ -112,7 +112,7 @@
    <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
@@ -125,7 +125,7 @@
    <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>