Commit 407ea516 authored by 赵啸非's avatar 赵啸非

修改请假计算考勤

parent 323061b0
...@@ -165,7 +165,7 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte ...@@ -165,7 +165,7 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte
List<AttendanceRecordEntity> updateList = new ArrayList<>(); List<AttendanceRecordEntity> updateList = new ArrayList<>();
listMap.entrySet().parallelStream().forEach(itemEntry -> { listMap.entrySet().stream().forEach(itemEntry -> {
// }); // });
// for (Map.Entry<Long, List<AttendanceRecordHikEntity>> itemEntry : listMap.entrySet()) { // for (Map.Entry<Long, List<AttendanceRecordHikEntity>> itemEntry : listMap.entrySet()) {
//按人员 todo 改为多线程并行计算 //按人员 todo 改为多线程并行计算
......
...@@ -37,7 +37,7 @@ POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord ...@@ -37,7 +37,7 @@ POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord
Content-Type: application/json Content-Type: application/json
{ {
"attendanceDateStart": "2024-07-01", "attendanceDateStart": "2024-07-19",
"attendanceDateEnd": "2024-07-31" "attendanceDateEnd": "2024-07-31"
} }
...@@ -46,9 +46,9 @@ POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord ...@@ -46,9 +46,9 @@ POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord
Content-Type: application/json Content-Type: application/json
{ {
"attendanceDateStart": "2024-07-01", "attendanceDateStart": "2024-07-03",
"attendanceDateEnd": "2024-07-31", "attendanceDateEnd": "2024-07-03",
"staffId": 737 "staffId": 485
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment