|
@@ -118,7 +118,9 @@ public class LabourApiController {
|
|
labourServices.setApprovePersonName(curUser.getRealName());
|
|
labourServices.setApprovePersonName(curUser.getRealName());
|
|
}
|
|
}
|
|
|
|
|
|
- Company company = companyService.get(user.getCompanyId());
|
|
|
|
|
|
+
|
|
|
|
+ User user1 = userService.get(labourServices.getCreateBy());
|
|
|
|
+ Company company = companyService.get(user1.getCompanyId());
|
|
|
|
|
|
if(company!=null) {
|
|
if(company!=null) {
|
|
labourServices.setCompanyName(company.getName());
|
|
labourServices.setCompanyName(company.getName());
|