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
033dbf29
Commit
033dbf29
authored
Mar 03, 2022
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文案修改
parent
e7a7edb4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
performance/Performance.Services/ReportGlobalService.cs
+15
-6
No files found.
performance/Performance.Services/ReportGlobalService.cs
View file @
033dbf29
...
...
@@ -642,8 +642,20 @@ public ApiResponse SaveReportPersonTag(int hospitalId, int allotId, int userId,
{
index
++;
if
(!
item
.
ContainsKey
(
"PersonnelNumber"
)
||
string
.
IsNullOrEmpty
(
item
[
"PersonnelNumber"
]))
if
(
item
.
TryGetValue
(
"PersonnelNumber"
,
out
string
personnelNumber
)
&&
string
.
IsNullOrEmpty
(
personnelNumber
))
{
if
(
item
.
Values
.
Any
(
w
=>
!
string
.
IsNullOrEmpty
(
w
)))
{
error
.
Add
(
new
Dictionary
<
string
,
string
>
{
{
"行号"
,
$"第
{
index
}
行"
},
{
"人员工号"
,
item
[
"PersonnelNumber"
]
},
{
"姓名"
,
item
[
"DoctorName"
]
},
{
"错误原因"
,
"“人员工号”不存在请删除"
},
});
}
continue
;
}
var
employee
=
employees
.
FirstOrDefault
(
t
=>
t
.
PersonnelNumber
==
item
[
"PersonnelNumber"
]);
if
(
employee
==
null
)
{
...
...
@@ -652,8 +664,7 @@ public ApiResponse SaveReportPersonTag(int hospitalId, int allotId, int userId,
{
"行号"
,
$"第
{
index
}
行"
},
{
"人员工号"
,
item
[
"PersonnelNumber"
]
},
{
"姓名"
,
item
[
"DoctorName"
]
},
{
"来源"
,
"人员标签配置"
},
{
"错误原因"
,
"“人员工号不存在”请删除"
},
{
"错误原因"
,
"“人员工号”不存在请删除"
},
});
continue
;
}
...
...
@@ -664,8 +675,7 @@ public ApiResponse SaveReportPersonTag(int hospitalId, int allotId, int userId,
{
"行号"
,
$"第
{
index
}
行"
},
{
"人员工号"
,
item
[
"PersonnelNumber"
]
},
{
"姓名"
,
item
[
"DoctorName"
]
},
{
"来源"
,
"人员标签配置"
},
{
"错误原因"
,
"“姓名与字典不一致”请修改"
},
{
"错误原因"
,
"“姓名”字典不一致请修改"
},
});
continue
;
}
...
...
@@ -716,7 +726,6 @@ public ApiResponse SaveReportPersonTag(int hospitalId, int allotId, int userId,
newTags
.
Add
(
tdata
);
#
endregion
}
if
(
error
.
Count
>
0
)
return
new
ApiResponse
(
ResponseType
.
WarningTable
,
"验证不通过,当前操作已拒绝"
,
error
);
...
...
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