From 7b9a82dda9a041e30fc55da54221f4e9f202ae02 Mon Sep 17 00:00:00 2001 From: Mlin Date: Wed, 21 Dec 2022 15:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E9=83=A8=E9=97=A8=E8=B4=9F=E8=B4=A3?= =?UTF-8?q?=E4=BA=BA=E6=88=AA=E5=8F=96=E6=98=BE=E7=A4=BAbug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/engine/organization/mapper/jclorgmap/JclOrgMapper.java | 2 +- .../engine/organization/service/impl/OrgChartServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/engine/organization/mapper/jclorgmap/JclOrgMapper.java b/src/com/engine/organization/mapper/jclorgmap/JclOrgMapper.java index e109c95e..9d8e7a9f 100644 --- a/src/com/engine/organization/mapper/jclorgmap/JclOrgMapper.java +++ b/src/com/engine/organization/mapper/jclorgmap/JclOrgMapper.java @@ -44,7 +44,7 @@ public interface JclOrgMapper { int insertComToMap(); - int deleteJobNull(@Param("currentDate") String currentDate); + int deleteJobNull(@Param("currentDate") Date currentDate); JclOrgMap getResInfo(@Param("level") String level, @Param("grade") String grade, @Param("id") String id); diff --git a/src/com/engine/organization/service/impl/OrgChartServiceImpl.java b/src/com/engine/organization/service/impl/OrgChartServiceImpl.java index 96650665..e85c4e5e 100644 --- a/src/com/engine/organization/service/impl/OrgChartServiceImpl.java +++ b/src/com/engine/organization/service/impl/OrgChartServiceImpl.java @@ -555,7 +555,7 @@ public class OrgChartServiceImpl extends Service implements OrgChartService { //同步集团信息 getJclOrgMapMapper().insertComToMap(); //清除部门合并、转移造成的脏数据 - getJclOrgMapMapper().deleteJobNull(currentDate); + getJclOrgMapMapper().deleteJobNull(date); //刷新在岗数、编制数(从岗位向上刷,岗位不需处理) List jclOrgMaps = getJclOrgMapMapper().getJclOrgMapByType("3",date); for (JclOrgMap jclOrgMap : jclOrgMaps){