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
a6f94e7f
Commit
a6f94e7f
authored
Jan 07, 2024
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
232c561f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
.gitignore
.gitignore
+1
-0
SemirOrderBase.cs
Src/Entities/SemirOrderBase.cs
+2
-2
Njhg.Third.Semir.V4.5.csproj
Src/Njhg.Third.Semir.V4.5.csproj
+1
-1
No files found.
.gitignore
View file @
a6f94e7f
...
...
@@ -4,3 +4,4 @@
/Src/obj/Debug
/Src/bin/Debug
/.vs
Src/Entities/SemirOrderBase.cs
View file @
a6f94e7f
...
...
@@ -85,7 +85,7 @@ namespace Njhg.Third.Semir.Entities
if
(
thirdDetails
.
IsNullOrEmpty
())
return
false
;
var
reports
=
conn
.
SelectByIds
<
Report
>(
thirdDetails
.
ConvertAll
(
o
=>
o
.
ReportKvid
));
if
(
reports
.
IsNullOrEmpty
())
return
false
;
if
(
reports
.
Exists
(
o
=>
o
.
Status
!=
(
int
)
ReportStatusType
.
ReportCollected
))
return
false
;
if
(
reports
.
Exists
(
o
=>
o
.
Status
<
(
int
)
ReportStatusType
.
ReportIssue
))
return
false
;
var
result_info
=
new
ReportResultInfo
();
result_info
.
DOC_NO
=
third
.
SerialNumber
;
...
...
@@ -100,7 +100,7 @@ namespace Njhg.Third.Semir.Entities
//if (thirdDetail.ReportKvid == Guid.Empty) continue;
//var report = reports.FirstOrDefault(o => o.Kvid == thirdDetail.ReportKvid);
//if (report == null) continue;
if
(
report
.
Status
!=
(
int
)
ReportStatusType
.
ReportCollected
)
continue
;
if
(
report
.
Status
<
(
int
)
ReportStatusType
.
ReportIssue
)
continue
;
var
queryReportItems
=
conn
.
From
<
ReportItem
>();
queryReportItems
.
Where
(
o
=>
o
.
ReportKvid
==
report
.
Kvid
);
var
allReportItems
=
conn
.
Select
(
queryReportItems
);
...
...
Src/Njhg.Third.Semir.V4.5.csproj
View file @
a6f94e7f
...
...
@@ -64,7 +64,7 @@
<None
Include=
"Resources\南京海关森马质检接口描述.docx"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\..\Kivii.K5\Kivii.Biz.Lims.V1.0\Src\Kivii.Biz.Lims.V1.0.csproj"
>
<ProjectReference
Include=
"..\..\
..\
Kivii.K5\Kivii.Biz.Lims.V1.0\Src\Kivii.Biz.Lims.V1.0.csproj"
>
<Project>
{c2a2c9b2-e412-4267-8dad-4c37a3fe33e3}
</Project>
<Name>
Kivii.Biz.Lims.V1.0
</Name>
</ProjectReference>
...
...
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