洪城义警-正式版后台
zengh
2022-03-08 c58c1aa2f13f9627c5d687fd69f874803b44391e
任务增加类型
1 files modified
9 ■■■■■ changed files
src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml 9 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml
@@ -127,9 +127,10 @@
                qd.rtype = "2"
                and qd.tasktype=#{tasktype}
                and (!find_in_set(#{serid}, serid) OR serid IS NULL )
                and (j.id =#{jurisdiction} or
                and
                ((j.id =#{jurisdiction} or
                j.parent_id = #{jurisdiction}) or (j.id =#{workjurisdiction} or
                j.parent_id = #{workjurisdiction})
                j.parent_id = #{workjurisdiction}))
            </if>
            ) A LEFT JOIN (SELECT
            COUNT(*)
@@ -145,10 +146,10 @@
           (!find_in_set(#{serid}
            , serid)
           OR serid IS NULL )
          and (j.id =#{jurisdiction}
          and ((j.id =#{jurisdiction}
           or j.parent_id = #{jurisdiction})
           or (j.id =#{workjurisdiction}
           or j.parent_id = #{workjurisdiction})
           or j.parent_id = #{workjurisdiction}))
        GROUP BY tasktype
    </select>