Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Domain.Lac.Lims.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
陶然
Kivii.Domain.Lac.Lims.V4.5
Commits
b2065c69
Commit
b2065c69
authored
Jun 19, 2025
by
Neo Turing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
170f4447
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
RestfulReportItem.cs
Src/Transforms/RestfulReportItem.cs
+2
-2
No files found.
Src/Transforms/RestfulReportItem.cs
View file @
b2065c69
...
...
@@ -888,7 +888,7 @@ namespace Kivii.Domain.Lac.Lims.Transforms
//获取当前报告信息
var
report
=
connLims
.
SingleById
<
Report
>(
ReportKvid
);
report
.
ThrowIfNull
(
"未找到对应报告!"
);
if
(
report
.
StatusType
!=
ReportStatusType
.
CommissionAccept
)
throw
new
Exception
(
"当前报告不在委托受理,无法添加项目!"
);
if
(
report
.
StatusType
>
ReportStatusType
.
CommissionAccept
)
throw
new
Exception
(
"当前报告不在委托受理,无法添加项目!"
);
//获取当前报告关联的样品集合
var
querySamples
=
connLims
.
From
<
Sample
>();
querySamples
.
Where
(
o
=>
o
.
RootKvid
==
report
.
SampleKvid
);
...
...
@@ -1226,7 +1226,7 @@ namespace Kivii.Domain.Lac.Lims.Transforms
}
//设置检验组信息
if
(
detection
.
TestGroupFullName
.
IsNullOrEmpty
()
||
detection
.
TestGroupKvid
==
Guid
.
Empty
)
if
(
detection
.
TestGroupFullName
.
IsNullOrEmpty
())
{
reportItemParent
.
WorkGroupName
=
"暂未关联检验组"
;
reportItemParent
.
WorkGroupKvid
=
Guid
.
Empty
;
...
...
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