|
|
@ -96,7 +96,8 @@ public class DgStatisticsServiceImpl extends ServiceImpl<DgStatisticsMapper, DgA |
|
|
|
for (int i = 0; i < presenterIds.length; i++) { |
|
|
|
for (int i = 0; i < presenterIds.length; i++) { |
|
|
|
ids[i] = presenterIds[i].longValue(); |
|
|
|
ids[i] = presenterIds[i].longValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getEmployeeAndDeptById(ids); |
|
|
|
//ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getEmployeeAndDeptById(ids);
|
|
|
|
|
|
|
|
ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getAccountAndDeptNameByIds(ids); |
|
|
|
if (empAndDeptList.getData() != null) { |
|
|
|
if (empAndDeptList.getData() != null) { |
|
|
|
List<DgStatisticsListResponse> listResponse = this.jointStatistics(dgStatisticsPOList, empAndDeptList.getData()); |
|
|
|
List<DgStatisticsListResponse> listResponse = this.jointStatistics(dgStatisticsPOList, empAndDeptList.getData()); |
|
|
|
IPage<DgStatisticsListResponse> iPages = new Page<>(); |
|
|
|
IPage<DgStatisticsListResponse> iPages = new Page<>(); |
|
|
@ -129,7 +130,8 @@ public class DgStatisticsServiceImpl extends ServiceImpl<DgStatisticsMapper, DgA |
|
|
|
for (int i = 0; i < presenterIds.length; i++) { |
|
|
|
for (int i = 0; i < presenterIds.length; i++) { |
|
|
|
ids[i] = presenterIds[i].longValue(); |
|
|
|
ids[i] = presenterIds[i].longValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getEmployeeAndDeptById(ids); |
|
|
|
//ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getEmployeeAndDeptById(ids);
|
|
|
|
|
|
|
|
ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getAccountAndDeptNameByIds(ids); |
|
|
|
if (empAndDeptList.getData() != null) { |
|
|
|
if (empAndDeptList.getData() != null) { |
|
|
|
List<DgStatisticsListResponse> listResponse = this.jointStatistics(dgStatisticsPOList, empAndDeptList.getData()); |
|
|
|
List<DgStatisticsListResponse> listResponse = this.jointStatistics(dgStatisticsPOList, empAndDeptList.getData()); |
|
|
|
List<DgStatisticsExcelResponse> excelResponse = new ArrayList<>(); |
|
|
|
List<DgStatisticsExcelResponse> excelResponse = new ArrayList<>(); |
|
|
@ -237,7 +239,8 @@ public class DgStatisticsServiceImpl extends ServiceImpl<DgStatisticsMapper, DgA |
|
|
|
for (int i = 0; i < presenterIds.length; i++) { |
|
|
|
for (int i = 0; i < presenterIds.length; i++) { |
|
|
|
ids[i] = presenterIds[i].longValue(); |
|
|
|
ids[i] = presenterIds[i].longValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getEmployeeAndDeptById(ids); |
|
|
|
//ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getEmployeeAndDeptById(ids);
|
|
|
|
|
|
|
|
ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getAccountAndDeptNameByIds(ids); |
|
|
|
if (empAndDeptList.getData() != null) { |
|
|
|
if (empAndDeptList.getData() != null) { |
|
|
|
List<DgStatisticsListRefuseResponse> listResponse = this.jointRefuseStatistics(dgStatisticsRefusePOList, empAndDeptList.getData()); |
|
|
|
List<DgStatisticsListRefuseResponse> listResponse = this.jointRefuseStatistics(dgStatisticsRefusePOList, empAndDeptList.getData()); |
|
|
|
IPage<DgStatisticsListRefuseResponse> iPages = new Page<>(); |
|
|
|
IPage<DgStatisticsListRefuseResponse> iPages = new Page<>(); |
|
|
@ -270,7 +273,8 @@ public class DgStatisticsServiceImpl extends ServiceImpl<DgStatisticsMapper, DgA |
|
|
|
for (int i = 0; i < presenterIds.length; i++) { |
|
|
|
for (int i = 0; i < presenterIds.length; i++) { |
|
|
|
ids[i] = presenterIds[i].longValue(); |
|
|
|
ids[i] = presenterIds[i].longValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getEmployeeAndDeptById(ids); |
|
|
|
//ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getEmployeeAndDeptById(ids);
|
|
|
|
|
|
|
|
ResponseResult<List<EmployeeTO>> empAndDeptList = hrmsFeignService.getAccountAndDeptNameByIds(ids); |
|
|
|
if (empAndDeptList.getData() != null) { |
|
|
|
if (empAndDeptList.getData() != null) { |
|
|
|
// 提单人姓名、部门拼装
|
|
|
|
// 提单人姓名、部门拼装
|
|
|
|
List<DgStatisticsListRefuseResponse> listResponse = this.jointRefuseStatistics(statisticsRefusePOList, empAndDeptList.getData()); |
|
|
|
List<DgStatisticsListRefuseResponse> listResponse = this.jointRefuseStatistics(statisticsRefusePOList, empAndDeptList.getData()); |
|
|
@ -317,6 +321,9 @@ public class DgStatisticsServiceImpl extends ServiceImpl<DgStatisticsMapper, DgA |
|
|
|
dgStatisticsListResponse.setDepartment(employeeTO.getDeptNames()); |
|
|
|
dgStatisticsListResponse.setDepartment(employeeTO.getDeptNames()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(dgStatisticsListResponse.getEmployeeName()== null){ |
|
|
|
|
|
|
|
dgStatisticsListResponse.setEmployeeName("客户"); |
|
|
|
|
|
|
|
} |
|
|
|
BeanUtils.copyProperties(dgStatisticsPO, dgStatisticsListResponse); |
|
|
|
BeanUtils.copyProperties(dgStatisticsPO, dgStatisticsListResponse); |
|
|
|
listResponse.add(dgStatisticsListResponse); |
|
|
|
listResponse.add(dgStatisticsListResponse); |
|
|
|
} |
|
|
|
} |
|
|
@ -336,6 +343,9 @@ public class DgStatisticsServiceImpl extends ServiceImpl<DgStatisticsMapper, DgA |
|
|
|
dgStatisticsListRefuseResponse.setDepartment(employeeTO.getDeptNames()); |
|
|
|
dgStatisticsListRefuseResponse.setDepartment(employeeTO.getDeptNames()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(dgStatisticsListRefuseResponse.getEmployeeName()== null){ |
|
|
|
|
|
|
|
dgStatisticsListRefuseResponse.setEmployeeName("客户"); |
|
|
|
|
|
|
|
} |
|
|
|
BeanUtils.copyProperties(dgStatisticsRefusePO, dgStatisticsListRefuseResponse); |
|
|
|
BeanUtils.copyProperties(dgStatisticsRefusePO, dgStatisticsListRefuseResponse); |
|
|
|
listResponse.add(dgStatisticsListRefuseResponse); |
|
|
|
listResponse.add(dgStatisticsListRefuseResponse); |
|
|
|
} |
|
|
|
} |
|
|
|