Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangweidong
patzn-cloud-service-hmhj
Commits
46a262c7
Commit
46a262c7
authored
Jul 22, 2022
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改进场物资没有状态路径问题;
parent
a75d69f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
EntrustServiceImpl.java
...ud/service/lims/hmhj/service/impl/EntrustServiceImpl.java
+6
-0
No files found.
src/main/java/com/patzn/cloud/service/lims/hmhj/service/impl/EntrustServiceImpl.java
View file @
46a262c7
...
@@ -447,6 +447,12 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust>
...
@@ -447,6 +447,12 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust>
if
(
null
==
entrust
.
getMaterialId
()
&&
null
!=
materialId
)
{
if
(
null
==
entrust
.
getMaterialId
()
&&
null
!=
materialId
)
{
entrust
.
setMaterialId
(
materialId
);
entrust
.
setMaterialId
(
materialId
);
}
}
// 状态路径为空,物料ID不为空,查询样本库
if
(
StringUtils
.
isBlank
(
entrust
.
getStatusPath
())
&&
Objects
.
nonNull
(
entrust
.
getMaterialId
()))
{
Material
material
=
materialService
.
getById
(
entrust
.
getMaterialId
());
entrust
.
setStatusPath
(
material
.
getEntrustStatusPath
());
}
if
(
null
==
entrust
.
getEntrustTime
())
{
if
(
null
==
entrust
.
getEntrustTime
())
{
entrust
.
setEntrustTime
(
new
Date
());
entrust
.
setEntrustTime
(
new
Date
());
}
}
...
...
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