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
50d72b2a
Commit
50d72b2a
authored
Dec 30, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改ef内linq使用方法
parent
62f8a819
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+10
-0
performance/Performance.Services/SecondAllotService.cs
+1
-1
No files found.
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
50d72b2a
...
@@ -3619,6 +3619,16 @@
...
@@ -3619,6 +3619,16 @@
创建时间
创建时间
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.EntityModels.ex_result_gather.Remark"
>
<summary>
备注
</summary>
</member>
<member
name=
"P:Performance.EntityModels.ex_result_gather.States"
>
<summary>
1 未通过 2 通过
</summary>
</member>
<member
name=
"T:Performance.EntityModels.ex_script"
>
<member
name=
"T:Performance.EntityModels.ex_script"
>
<summary>
<summary>
...
...
performance/Performance.Services/SecondAllotService.cs
View file @
50d72b2a
...
@@ -1450,7 +1450,7 @@ private List<ag_secondallot> GetNotAuditSeconds(int hospitalId, ag_workload_type
...
@@ -1450,7 +1450,7 @@ private List<ag_secondallot> GetNotAuditSeconds(int hospitalId, ag_workload_type
/**
/**
* 添加数据时注意避免给已经提交过的数据添加,否则会造成提交时的数据和显示数据不一致
* 添加数据时注意避免给已经提交过的数据添加,否则会造成提交时的数据和显示数据不一致
*/
*/
return
agsecondallotRepository
.
GetEntities
(
t
=>
allots
.
Select
(
w
=>
w
.
ID
).
Contains
(
t
.
AllotId
.
Value
)
&&
t
.
Department
==
type
.
Department
&&
t
.
UnitType
==
type
.
UnitType
&&
!
IsAudit
(
t
.
Status
))
??
seconds
;
return
agsecondallotRepository
.
GetEntities
(
t
=>
allots
.
Select
(
w
=>
w
.
ID
).
Contains
(
t
.
AllotId
.
Value
)
&&
t
.
Department
==
type
.
Department
&&
t
.
UnitType
==
type
.
UnitType
&&
!
new
int
[]
{
2
,
3
}.
Contains
(
t
.
Status
??
1
))
??
seconds
;
}
}
/// <summary>
/// <summary>
...
...
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