|
@@ -98,6 +98,7 @@ public class WorkAttendanceApiController {
|
|
|
FillAttendance fillAttendance = fillAttendanceService.findByBusinessWorkAttendanceId(workDTO.getId());
|
|
|
if (workDTO.getResult().equals("0")){
|
|
|
if (fillAttendance !=null){
|
|
|
+ workDTO.setFillAttendanceId(fillAttendance.getId());
|
|
|
workDTO.setStatus(fillAttendance.getStatus());
|
|
|
if (fillAttendance.getStatus().equals("0")){
|
|
|
workDTO.setStatusN("审核中");
|
|
@@ -114,6 +115,7 @@ public class WorkAttendanceApiController {
|
|
|
if (fillAttendance != null && fillAttendance.getStatus().equals("1")){
|
|
|
workDTO.setStatus("1");
|
|
|
workDTO.setStatusN("审核通过");
|
|
|
+ workDTO.setFillAttendanceId(fillAttendance.getId());
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -129,11 +131,7 @@ public class WorkAttendanceApiController {
|
|
|
|
|
|
|
|
|
|
|
|
- // searchParams.put("personId", personInfo.getId());
|
|
|
|
|
|
- // Page<WorkAttendance> page = workAttendanceService.pageSearch(searchParams, pageIndex, pageSize, true, sortList);
|
|
|
-
|
|
|
- // Map<String, Object> dataMap = PojoUtils.pageWrapper(page);
|
|
|
|
|
|
msgResult.setData(dataMap);
|
|
|
msgResult.setResult(true);
|