|
|
@@ -549,6 +549,9 @@ public class ProjectTaskController extends BaseController {
|
|
|
@GetMapping("/getCompanyClock")
|
|
|
public AjaxResult getCompanyClock(@RequestParam String usci,Integer year,Integer month){
|
|
|
SysDept sysDept = sysDeptService.selectByusci(usci);
|
|
|
+ if (sysDept==null){
|
|
|
+ return AjaxResult.error("公司不存在");
|
|
|
+ }
|
|
|
Long deptId = sysDept.getDeptId();
|
|
|
pushRdDataBo res = projectStaffRecordService.getCompanyClock(deptId,year,month);
|
|
|
res.setUsci(usci);
|