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
07a1384f
Commit
07a1384f
authored
Apr 29, 2022
by
1391696987
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手工录入保存添加数值不能等于0的判断
parent
3d10d611
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
performance/Performance.Services/EmployeeService.cs
+12
-0
No files found.
performance/Performance.Services/EmployeeService.cs
View file @
07a1384f
...
...
@@ -1590,6 +1590,18 @@ public ApiResponse SaveGatherHands(int allotId, SaveGatherData saveGather)
{
"错误原因"
,
"关键信息缺失”请补全或删除"
},
});
if
(
newGather
[
i
].
Fee
==
0
)
error
.
Add
(
new
Dictionary
<
string
,
string
>
{
{
"行号"
,
$"第
{
i
+
1
}
行"
},
{
"科室"
,
newGather
[
i
].
Department
??
""
},
{
"医生姓名"
,
newGather
[
i
].
DoctorName
??
""
},
{
"人员工号"
,
newGather
[
i
].
PersonnelNumber
??
""
},
{
"数值"
,
newGather
[
i
].
Fee
.
ToString
()
},
{
"来源"
,
"粘贴数据"
},
{
"错误原因"
,
"数值不能等于0"
},
});
var
ExistsDeptData
=
departments
.
FirstOrDefault
(
w
=>
w
.
AllotId
==
allotId
&&
(
w
.
Department
!=
null
&&
w
.
Department
.
Contains
(
newGather
[
i
].
Department
))
||
(
w
.
HISDeptName
!=
null
&&
w
.
HISDeptName
.
Contains
(
newGather
[
i
].
Department
))
...
...
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