@ -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);
@ -555,7 +555,7 @@ public class OrgChartServiceImpl extends Service implements OrgChartService {
//同步集团信息
getJclOrgMapMapper().insertComToMap();
//清除部门合并、转移造成的脏数据
getJclOrgMapMapper().deleteJobNull(currentDate);
getJclOrgMapMapper().deleteJobNull(date);
//刷新在岗数、编制数(从岗位向上刷,岗位不需处理)
List<JclOrgMap> jclOrgMaps = getJclOrgMapMapper().getJclOrgMapByType("3",date);
for (JclOrgMap jclOrgMap : jclOrgMaps){