zhongrj
2024-01-28 eddb05391adfb930c177abdd62b47e27e1fcc224
任务查询调整
2 files modified
10 ■■■■ changed files
src/main/java/org/springblade/common/constant/DictConstant.java 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml 8 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/common/constant/DictConstant.java
@@ -37,7 +37,7 @@
    String HOTEL_SECURITY= "旅馆安全";
    String FIRE_CHECK= "消费检查";
    String FIRE_CHECK= "消防检查";
    String DA_JIN_DIAN= "打金店";
src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml
@@ -139,10 +139,10 @@
            </if>
            <!-- 场所店铺 -->
            <if test="task.reportType != null and task.reportType == 2 ">
                and jt.report_type in (2,3,4,5,6)
                and jt.report_type in (2,3,4,5,6,7)
            </if>
            <if test="task.reportType == null">
                and jt.report_type in (2,3,4,5,6)
                and jt.report_type in (2,3,4,5,6,7)
            </if>
            and jt.is_deleted = 0
            and jt.house_code is not null
@@ -173,7 +173,7 @@
            </if>
            <!-- 场所店铺 -->
            <if test="reportType != null and reportType == 2 ">
                and jt.report_type in (2,3,4,5,6)
                and jt.report_type in (2,3,4,5,6,7)
            </if>
            <if test="name != null and name != ''">
@@ -213,7 +213,7 @@
            </if>
            <if test="task.reportType == null or task.reportType == ''">
                AND jt.report_type in (2,3,6)
                AND jt.report_type in (2,3,6,7)
            </if>
            <if test="task.userId != null and task.userId != ''">
                AND jc.res_police_user_id like concat('%',#{task.userId},'%')