Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
Njhg.Third.Semir.V4.5
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶然
Njhg.Third.Semir.V4.5
Commits
47850bbc
Commit
47850bbc
authored
Feb 05, 2024
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
f3d32e90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
6 deletions
+22
-6
SemirOrderJob.cs
Src/Jobs/SemirOrderJob.cs
+20
-4
AssemblyInfo.cs
Src/Properties/AssemblyInfo.cs
+2
-2
No files found.
Src/Jobs/SemirOrderJob.cs
View file @
47850bbc
...
...
@@ -136,11 +136,27 @@ namespace Njhg.Third.Semir.Jobs
foreach
(
var
order
in
semirs
)
{
var
thirdDetails
=
conn
.
Select
<
ThirdReportOrderDetail
>(
o
=>
o
.
ThirdOrderKvid
==
order
.
Kvid
);
if
(
thirdDetails
.
IsNullOrEmpty
())
continue
;
if
(
thirdDetails
.
IsNullOrEmpty
())
{
skip
++;
continue
;
}
var
reports
=
conn
.
SelectByIds
<
Report
>(
thirdDetails
.
ConvertAll
(
o
=>
o
.
ReportKvid
));
if
(
reports
.
IsNullOrEmpty
())
continue
;
if
(
reports
.
Exists
(
o
=>
o
.
Status
<
(
int
)
ReportStatusType
.
ReportIssue
))
continue
;
if
(
reports
.
Exists
(
o
=>
o
.
TestJudgement
==
"不合格"
))
continue
;
if
(
reports
.
IsNullOrEmpty
())
{
skip
++;
continue
;
}
if
(
reports
.
Exists
(
o
=>
o
.
Status
<
(
int
)
ReportStatusType
.
ReportIssue
))
{
skip
++;
continue
;
}
if
(
reports
.
Exists
(
o
=>
o
.
TestJudgement
==
"不合格"
))
{
skip
++;
continue
;
}
var
result
=
instance
.
OnUploadThirdReport
(
order
.
Kvid
);
if
(
result
)
successed
++;
...
...
Src/Properties/AssemblyInfo.cs
View file @
47850bbc
...
...
@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.2024.
120
0")]
[assembly: AssemblyFileVersion("5.4.2024.
120
0")]
[assembly: AssemblyVersion("5.4.2024.
205
0")]
[assembly: AssemblyFileVersion("5.4.2024.
205
0")]
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