Commit 66535dfa by 徐高华

log

parent 0c9102ff
...@@ -311,8 +311,7 @@ public class DepartmentServiceImpl implements DepartmentService { ...@@ -311,8 +311,7 @@ public class DepartmentServiceImpl implements DepartmentService {
@Override @Override
public List<DepartmentDTO> listDepartmentByWxDepartIds(String wxEnterpriseId, List<String> wxDepartmentList) { public List<DepartmentDTO> listDepartmentByWxDepartIds(String wxEnterpriseId, List<String> wxDepartmentList) {
return null ; return EntityUtil.changeEntityListByJSON(DepartmentDTO.class, mapper.listDepartmentByWxDepartIds(wxEnterpriseId, wxDepartmentList));
// return EntityUtil.changeEntityListByJSON(DepartmentDTO.class, mapper.listDepartmentByWxDepartIds(wxEnterpriseId, wxDepartmentList));
} }
@Override @Override
......
...@@ -178,7 +178,7 @@ public class StaffDepartmentRelatedServiceImpl implements StaffDepartmentRelated ...@@ -178,7 +178,7 @@ public class StaffDepartmentRelatedServiceImpl implements StaffDepartmentRelated
//关联部门 //关联部门
List<DepartmentDTO> departmentDTOList = departmentService.listDepartmentByWxDepartIds(wxEnterpriseId, wxDepartIds); List<DepartmentDTO> departmentDTOList = departmentService.listDepartmentByWxDepartIds(wxEnterpriseId, wxDepartIds);
if (CollectionUtils.isEmpty(departmentDTOList)) { if (CollectionUtils.isEmpty(departmentDTOList)) {
logger.info("部门没有更新或同步:{}", wxEnterpriseId); logger.info("部门没有更新或同步:wxEnterpriseId={},wxDepartIds={}", wxEnterpriseId,wxDepartIds);
if(retryFlag) { if(retryFlag) {
Map<String,Object> map = new HashMap<>() ; Map<String,Object> map = new HashMap<>() ;
map.put("staffId", staff.getStaffId()) ; map.put("staffId", staff.getStaffId()) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment