cjl
2023-10-25 bb990f4d31452978da2de84fc9096d545477d86f
screen-api/src/main/resources/mapper/AllocationMapper.xml
@@ -60,25 +60,6 @@
    </select>
    <select id="selectSmallRoutine" resultType="com.moral.api.pojo.vo.allocation.AllocationFindVo">
        SELECT
        <include refid="Allocation_Column_List"/>
        FROM  allocation as a
        <where>
            and is_del = 0 and is_invalid =0
            <if test="allocation.state != null and allocation.id != 0">
                and a.state = #{state}
            </if>
            <if test="allocation.startTime != null and allocation.startTime != '' ">
                and date(escalation_time) <![CDATA[>=]]> #{startTime}
            </if>
            <if test="allocation.endTime != null and allocation.endTime !='' ">
                and date(escalation_time) <![CDATA[<=]]>  #{endTime}
            </if>
        </where>
        order by escalation_time desc,allocation_id desc
    </select>
    <select id="extPage" resultType="com.moral.api.pojo.ext.allocation.AllocationPageExt">
        SELECT
        <include refid="Allocation_Column_List"/>,t1.id as applyState