Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
5a65efe3
Commit
5a65efe3
authored
Jan 03, 2024
by
wyc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考勤上报 补充
parent
a99bb497
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
performance/Performance.Services/AttendanceService.cs
+3
-5
No files found.
performance/Performance.Services/AttendanceService.cs
View file @
5a65efe3
...
@@ -622,21 +622,19 @@ public ApiResponse GetAttendanceReplenishment(int allotId, int userid)
...
@@ -622,21 +622,19 @@ public ApiResponse GetAttendanceReplenishment(int allotId, int userid)
{
{
error
.
Add
(
new
Dictionary
<
string
,
string
>
error
.
Add
(
new
Dictionary
<
string
,
string
>
{
{
{
"时间"
,
$"
{
day
}
号"
},
{
"工号"
,
item
.
PersonnelNumber
??
""
},
{
"工号"
,
item
.
PersonnelNumber
??
""
},
{
"姓名"
,
item
.
PersonnelName
??
""
},
{
"姓名"
,
item
.
PersonnelName
??
""
},
{
"人员系数"
,
item
.
PermanentStaff
?.
ToString
()
??
""
},
{
"人员系数"
,
item
.
PermanentStaff
?.
ToString
()
??
""
},
{
"考勤类型"
,
""
},
{
"考勤类型"
,
""
},
{
"错误原因"
,
$"
{
day
}
号存在考勤记录,所在科室为:
{
repeatDept
.
AccountingUnit
}
,
请核实后重新填写
"
},
{
"错误原因"
,
$"
{
day
}
号存在考勤记录,所在科室为:
{
repeatDept
.
AccountingUnit
}
,
无法添加默认考勤
"
},
});
});
}
}
}
}
}
}
}
}
if
(
error
.
Count
>
0
)
return
new
ApiResponse
(
ResponseType
.
WarningTable
,
"验证不通过,当前操作已拒绝"
,
error
);
_perforPerAttendanceDeptRepository
.
UpdateRange
(
result
.
ToArray
());
_perforPerAttendanceDeptRepository
.
UpdateRange
(
result
.
ToArray
());
if
(
error
.
Count
>
0
)
return
new
ApiResponse
(
ResponseType
.
WarningTable
,
"请注意,以下说明未填写考勤内容的情况。"
,
error
);
return
new
ApiResponse
(
ResponseType
.
OK
,
"加载成功"
);
return
new
ApiResponse
(
ResponseType
.
OK
,
"加载成功"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment