|
|
@@ -541,10 +541,9 @@ public class ProjectTaskController extends BaseController {
|
|
|
* 获取公司打卡数据
|
|
|
*/
|
|
|
@GetMapping("/getCompanyClock")
|
|
|
- public AjaxResult getCompanyClock(Integer deptId){
|
|
|
- if (deptId==null){
|
|
|
- return AjaxResult.error("部门不能为空");
|
|
|
- }
|
|
|
- return AjaxResult.success(projectStaffRecordService.getCompanyClock(deptId));
|
|
|
+ public TableDataInfo getCompanyClock(Integer deptId){
|
|
|
+ startPage();
|
|
|
+ List<ProjectStaffRecord> companyClock = projectStaffRecordService.getCompanyClock(deptId);
|
|
|
+ return getDataTable(companyClock);
|
|
|
}
|
|
|
}
|