Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
84fab15e
Commit
84fab15e
authored
Nov 21, 2022
by
曹盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改管材
parent
83275ecc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
VerifyServiceImpl.java
...s/boot/module/ugp/biz/service/impl/VerifyServiceImpl.java
+7
-3
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/VerifyServiceImpl.java
View file @
84fab15e
...
...
@@ -353,7 +353,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
Map
map
=
orgService
.
getdetialInfo
(
welderId
.
toString
(
));
String
certValidDate
=
String
.
valueOf
(
map
.
get
(
"certValidDate"
));
if
(
StringUtils
.
isNot
Empty
(
certValidDate
))
{
if
(
!
ValidationUtil
.
is
Empty
(
certValidDate
))
{
Date
vaildParse
=
null
;
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
try
{
...
...
@@ -363,7 +363,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
}
if
(
time
.
compareTo
(
vaildParse
)
<=
0
)
{
if
(
time
.
compareTo
(
vaildParse
)
<=
0
)
{
jsonObject
.
put
(
"valid"
,
"有效"
);
}
else
{
jsonObject
.
put
(
"valid"
,
"已过期"
);
...
...
@@ -392,8 +392,12 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
//管材未校验,进行效验步骤
// Long materialId = jsonObject.getLong("materialId");//管材id
//改为管材编号
//从图片中获取管材编号
String
materialCode
=
jsonObject
.
getString
(
"materialId"
);
verify
.
setStage
(
StageEnum
.
焊前管材质量
.
getStage
());
/**校验*/
Boolean
flag
=
false
;
...
...
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