洪城义警-正式版后台
zengh
2022-05-26 4c19ddd36bdfb43b5ef4e8df3c9a98cd4d356d6c
src/main/java/org/springblade/modules/taskqd/mapper/TaskqdMapper.xml
@@ -73,7 +73,7 @@
    <!--任务统计-->
    <select id="selectList" resultMap="taskResultMap">
        select jnum, num, serid, team
        select jnum, num, serid, team ,time,endtime
        from sys_taskqd
        where id = #{id}
    </select>
@@ -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>