From 88247ca5e98fecca2266f315d8de535e7df5d917 Mon Sep 17 00:00:00 2001 From: pengwei Date: Mon, 27 Oct 2025 18:13:41 +0800 Subject: [PATCH] =?UTF-8?q?fiex:=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/biutag/supervision/job/Job.java | 2 +- .../biutag/supervision/mapper/NegativeMapper.java | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/biutag/supervision/job/Job.java b/src/main/java/com/biutag/supervision/job/Job.java index 9588792..fd4f4a9 100644 --- a/src/main/java/com/biutag/supervision/job/Job.java +++ b/src/main/java/com/biutag/supervision/job/Job.java @@ -123,7 +123,7 @@ public class Job { // 每天一次 23:30:00 //todo 维权信息 - @Scheduled(cron = "0 30 23 * * ?") +// @Scheduled(cron = "0 30 23 * * ?") public void rights() throws ParseException { log.info("rights--------------------"); log.info("维权信息抓取中---------------------"); diff --git a/src/main/java/com/biutag/supervision/mapper/NegativeMapper.java b/src/main/java/com/biutag/supervision/mapper/NegativeMapper.java index 9ab5637..b6e3358 100644 --- a/src/main/java/com/biutag/supervision/mapper/NegativeMapper.java +++ b/src/main/java/com/biutag/supervision/mapper/NegativeMapper.java @@ -214,7 +214,7 @@ public interface NegativeMapper extends BaseMapper { "AND sd.statistics_group_id=#{groupId} " + "AND crtTime BETWEEN #{beginTime} AND #{endTime} " + " GROUP BY sd.short_name " + - " ORDER BY denominator desc ") + " ORDER BY value desc ") List getAuditNegativeVo(Date beginTime, Date endTime,String groupId); @Select("SELECT " + @@ -249,7 +249,7 @@ public interface NegativeMapper extends BaseMapper { "LEFT JOIN negative_blame nb ON ng.id=nb.negativeId " + "WHERE sd.statistics_group_id=3 " + "GROUP BY sd.short_name " + - "ORDER BY completedRate DESC;") + "ORDER BY completedRate DESC") List getSupervisionMapIconInfo(Date beginTime, Date endTime); @@ -678,12 +678,10 @@ public interface NegativeMapper extends BaseMapper { "COUNT(DISTINCT IF(ng.checkStatus IN ('1','2'), ng.id, NULL)) AS discoverProblem, " + "COUNT(DISTINCT IF(ng.processing_status='completed', ng.id, NULL)) AS completionProblem, " + "COUNT(IF(nb.type ='department' and ng.checkStatus IN ('1','2') and nb.handleResultName != '不予追责' and nb.handleResultCode is not null and nb.handleResultCode != '', nb.blameId, NULL)) AS relativeOrg, " + - "COUNT(IF(nb.type ='personal' and ng.checkStatus IN ('1','2') and nb.handleResultName != '不予追责' and nb.handleResultCode is not null and nb.handleResultCode != '', nb.blameId, NULL)) AS relativePer, " + - "IFNULL( ROUND((COUNT(DISTINCT IF(ng.processing_status='completed', ng.id, NULL)) / COUNT(DISTINCT ng.id)) * 100, 1), 0) AS completionRate " + - "FROM sup_depart sd " + - "INNER JOIN negative ng ON sd.id = ng.involveDepartId and sd.pid = #{departId} " + + "COUNT(IF(nb.type ='personal' and ng.checkStatus IN ('1','2') and nb.handleResultName != '不予追责' and nb.handleResultCode is not null and nb.handleResultCode != '', nb.blameId, NULL)) AS relativePer " + + "FROM negative ng " + "LEFT JOIN negative_blame nb ON ng.id = nb.negativeId " + - "WHERE problemSourcesCode = 16 " + + "WHERE problemSourcesCode = 16 and ng.second_involve_depart_id = #{departId} " + "AND ng.crtTime BETWEEN #{beginTime} AND #{endTime} ") VideoSuperviseCountVo getSubOneAllVideoSuperviseCount(Date beginTime, Date endTime, Integer departId);