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
1c034c60
Commit
1c034c60
authored
Nov 30, 2022
by
纪旭 韦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复人员、科室粘贴数据报错
parent
e2988aa5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
performance/Performance.Services/PersonService.cs
+6
-4
No files found.
performance/Performance.Services/PersonService.cs
View file @
1c034c60
...
...
@@ -290,10 +290,12 @@ public ApiResponse CreatePerson(PerEmployeeResponse request)
if
(!
peremployeeRepository
.
Add
(
entity
))
throw
new
PerformanceException
(
$"添加失败"
);
perallotRepository
.
AccoungtingVerify
(
entity
.
AllotId
??
0
);
allot
.
IsModifyConfig
=
1
;
perallotRepository
.
Update
(
allot
);
perallotRepository
.
AccoungtingVerify
(
entity
.
AllotId
??
0
);
return
new
ApiResponse
(
ResponseType
.
OK
,
"添加成功"
,
entity
);
}
...
...
@@ -1040,11 +1042,11 @@ public ApiResponse BathSavePerson(int allotId, int HospitalId, SaveCollectData r
peremployeeRepository
.
AddRange
(
employees
.
ToArray
());
}
perallotRepository
.
AccoungtingVerify
(
allotId
);
var
allot
=
perallotRepository
.
GetEntity
(
t
=>
t
.
ID
==
allotId
);
allot
.
IsModifyConfig
=
1
;
perallotRepository
.
Update
(
allot
);
perallotRepository
.
AccoungtingVerify
(
allotId
);
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