|
@@ -525,7 +525,12 @@ public class WorkScheduleAttendanceController {
|
|
|
for (PersonInfo pi : page.getResult()) {
|
|
|
PersonInfoMonthWSADTO wsaDTO = new PersonInfoMonthWSADTO();
|
|
|
wsaDTO.setPersonInfo(pi);
|
|
|
-
|
|
|
+ CompanyInfo ci = companyInfoService.get(pi.getCompanyId());
|
|
|
+ if(StringUtils.isNotEmpty(ci.getFullName())){
|
|
|
+ wsaDTO.setCompanyName(ci.getFullName());
|
|
|
+ }else{
|
|
|
+ wsaDTO.setCompanyName(ci.getName());
|
|
|
+ }
|
|
|
//出差次数businessTripNum
|
|
|
// Map<String,Object> searchParams11 = new HashMap<>();
|
|
|
// searchParams11.put("workStatus","3");
|
|
@@ -1938,7 +1943,7 @@ public class WorkScheduleAttendanceController {
|
|
|
int colIndex = 0;
|
|
|
|
|
|
if(jsonObject.getJSONObject("personInfo")!=null){
|
|
|
- row.createCell(colIndex).setCellValue(jsonObject.getJSONObject("personInfo").getString("companyName"));
|
|
|
+ row.createCell(colIndex).setCellValue(jsonObject.getString("companyName"));
|
|
|
colIndex++;
|
|
|
|
|
|
row.createCell(colIndex).setCellValue(jsonObject.getJSONObject("personInfo").getString("jobNumber"));
|