Commit 91cb2ef1 authored by 赵啸非's avatar 赵啸非

修正列表循环查询数据库

parent f42c091d
...@@ -508,6 +508,11 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract { ...@@ -508,6 +508,11 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
AttendanceRecordErrorQuery errorQuery; AttendanceRecordErrorQuery errorQuery;
if (!ObjectUtils.isEmpty(errorEntityList)) { if (!ObjectUtils.isEmpty(errorEntityList)) {
//过滤异常列表中存在相同的记录
for (AttendanceRecordErrorEntity errorEntity : errorEntityList) { for (AttendanceRecordErrorEntity errorEntity : errorEntityList) {
//查看是否存在相同的异常记录,如果存在 则不添加 //查看是否存在相同的异常记录,如果存在 则不添加
errorQuery = new AttendanceRecordErrorQuery(); errorQuery = new AttendanceRecordErrorQuery();
......
...@@ -37,8 +37,8 @@ POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord ...@@ -37,8 +37,8 @@ POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord
Content-Type: application/json Content-Type: application/json
{ {
"attendanceDateStart": "2024-05-11", "attendanceDateStart": "2024-07-19",
"attendanceDateEnd": "2024-05-11" "attendanceDateEnd": "2024-07-19"
} }
###海康考勤打卡记录计算1 ###海康考勤打卡记录计算1
...@@ -46,8 +46,8 @@ POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord ...@@ -46,8 +46,8 @@ POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord
Content-Type: application/json Content-Type: application/json
{ {
"attendanceDateStart": "2024-05-11", "attendanceDateStart": "2024-07-19",
"attendanceDateEnd": "2024-05-11", "attendanceDateEnd": "2024-07-19",
"staffId": 322 "staffId": 322
} }
......
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