|
@@ -4,6 +4,7 @@ import com.ruoyi.common.annotation.Log;
|
|
|
import com.ruoyi.common.config.RuoYiConfig;
|
|
import com.ruoyi.common.config.RuoYiConfig;
|
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
|
+import com.ruoyi.common.core.domain.R;
|
|
|
import com.ruoyi.project.domain.CompanyClockBo;
|
|
import com.ruoyi.project.domain.CompanyClockBo;
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
import com.ruoyi.common.enums.BusinessType;
|
|
import com.ruoyi.common.enums.BusinessType;
|
|
@@ -547,4 +548,13 @@ public class ProjectTaskController extends BaseController {
|
|
|
List<CompanyClockBo> companyClock = projectStaffRecordService.getCompanyClock(deptId);
|
|
List<CompanyClockBo> companyClock = projectStaffRecordService.getCompanyClock(deptId);
|
|
|
return getDataTable(companyClock);
|
|
return getDataTable(companyClock);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 获取公司打卡数据
|
|
|
|
|
+ */
|
|
|
|
|
+ @GetMapping("/getCompanyDep")
|
|
|
|
|
+ public AjaxResult getCompanyDep(Integer deptId){
|
|
|
|
|
+
|
|
|
|
|
+ return AjaxResult.success(projectStaffRecordService.getCompanyClock(deptId));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|