yanghui
2022-11-10 dd99da83d2708dc1fdb84f9fa71b5e63d5579338
flower_city/src/main/resources/mapper/GuideRepairOrderMapper.xml
@@ -105,6 +105,16 @@
            <if test="status != null and status != ''">
                AND a.state=#{status}
            </if>
            <if test="createTimeStartTime != null and createTimeStartTime != ''">
                and create_time > #{createTimeStartTime}
            </if>
            <if test="createTimeTimeEndTime != null and createTimeTimeEndTime != ''">
               and  #{createTimeTimeEndTime} > create_time
            </if>
            <if test="classifyId != null and classifyId != ''">
                and  classify_id in (select id FROM automessage_classify_administration where  parent_id = #{classifyId})
            </if>
        </where>
        order by  update_time desc ,  create_time desc
    </select>