From 5dcbee2c5940a787e39727e51c2955f87eaf04e1 Mon Sep 17 00:00:00 2001 From: kami <605128600@qq.com> Date: Wed, 18 Dec 2024 20:52:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=AA=E5=90=8D=E6=94=B9=E4=B8=BA=E5=88=91?= =?UTF-8?q?=E4=BA=8B=E6=A1=88=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biutag/supervisiondata/event/ApplicationEvent.java | 8 ++++---- .../supervisiondata/mapper/dwd/GBaseWFRXXMapper.java | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/biutag/supervisiondata/event/ApplicationEvent.java b/src/main/java/com/biutag/supervisiondata/event/ApplicationEvent.java index ec04030..f9f3f97 100644 --- a/src/main/java/com/biutag/supervisiondata/event/ApplicationEvent.java +++ b/src/main/java/com/biutag/supervisiondata/event/ApplicationEvent.java @@ -105,7 +105,7 @@ public class ApplicationEvent { DepartUtil.init(ryRepository, departRepository); LocalDateTime end = LocalDate.now().minusDays(1).atTime(23,59,59); CompletableFutureUtil.runSync(() -> { - personalService.init(List.of(115,116)); + personalService.init(List.of(76)); // personalService.pullInvestigate(); // personalService.pullPsychosis(); // gBaseSHRWFRService.pullAndSave(LocalDateTime.of(2019,12,6,0,0,0), end); @@ -141,13 +141,13 @@ public class ApplicationEvent { // gBaseJJDService.syncMarryDispute(initDomain(List.of(72))); // gBaseJJDService.syncNeighborAndColleagueDispute(initDomain(List.of(73))); // gBaseJJDService.syncBullying(initDomain(List.of(74))); -// gBaseSHRWFRService.crimeName(initDomain(List.of(76))); + gBaseSHRWFRService.crimeName(initDomain(List.of(76))); // pointService.syncIsPetition(initDomain(List.of(40))); // pointService.syncFatherEducation(initDomain(List.of(112))); // pointService.syncMotherEducation(initDomain(List.of(113))); // pointService.syncDomicileType(initDomain(List.of(114))); - pointService.syncCriminalPunishment(initDomain(List.of(115))); - pointService.syncAdministrativePunishment(initDomain(List.of(116))); +// pointService.syncCriminalPunishment(initDomain(List.of(115))); +// pointService.syncAdministrativePunishment(initDomain(List.of(116))); // pointService.syncParentsDivorce(initDomain(List.of(117))); // gBaseJJDService.syncOtherContradict(initDomain(List.of(75))); // pointService.syncFamilyDie(initDomain(List.of(118))); diff --git a/src/main/java/com/biutag/supervisiondata/mapper/dwd/GBaseWFRXXMapper.java b/src/main/java/com/biutag/supervisiondata/mapper/dwd/GBaseWFRXXMapper.java index 3a2fcbf..f7fe3eb 100644 --- a/src/main/java/com/biutag/supervisiondata/mapper/dwd/GBaseWFRXXMapper.java +++ b/src/main/java/com/biutag/supervisiondata/mapper/dwd/GBaseWFRXXMapper.java @@ -38,8 +38,9 @@ public interface GBaseWFRXXMapper extends BaseMapper { * @param endTime 查询结束时间(处警时间) * @return 列表 */ - @Select(" select ajbh,zjhm,sxzm, sxzmdm,lrsj from dwd_ry_zfba_wfryxx " + - " where lrsj between #{startTime} and #{endTime} " + + @Select(" select a.ajbh,a.zjhm,a.sxzm, a.sxzmdm,a.lrsj from dwd_ry_zfba_wfryxx as a " + + " inner join dwd_asj_zfba_ajjbxx as b on a.ajbh=b.ajbh " + + " where b.ajbzdm = 1 and lrsj between #{startTime} and #{endTime} " + " and ajbh is not null and zjhm is not null") List selectFiveYearsCombatCrime(@Param("startTime")String startTime, @Param("endTime")String endTime); /**