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
d973a689
Commit
d973a689
authored
Nov 17, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验修改
parent
be55e869
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
VerifyServiceImpl.java
...s/boot/module/ugp/biz/service/impl/VerifyServiceImpl.java
+6
-4
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 @
d973a689
...
...
@@ -99,6 +99,8 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
@Autowired
private
AttachmentServiceImpl
attachmentService
;
@Autowired
private
ProblemInitiationServiceImpl
problemInitiationService
;
/**
* 分页查询
...
...
@@ -311,16 +313,16 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
*/
private
static
final
String
TYPE
=
"智能检验"
;
//
@BusinessIdentify
@BusinessIdentify
public
String
checks
(
JSONObject
jsonObject
)
{
if
(
jsonObject
==
null
||
jsonObject
.
size
()
==
0
)
{
return
VerifyEnum
.
未通过
.
getName
();
}
//通过userid和projectId来对应
//
Long welderId = orgService.getReginParams( ).getBusinessInfo( ).getUserSequenceNbr( );
Long
welderId
=
orgService
.
getReginParams
(
).
getBusinessInfo
(
).
getUserSequenceNbr
(
);
Long
random
=
jsonObject
.
getLong
(
"random"
);
//随机值
Long
projectId
=
jsonObject
.
getLong
(
"projectId"
);
//项目id
Long
welderId
=
jsonObject
.
getLong
(
"welderId"
);
//焊工id
//
Long welderId = jsonObject.getLong("welderId"); //焊工id
String
location
=
jsonObject
.
getString
(
"location"
);
//焊接定位信息
String
stage
=
jsonObject
.
getString
(
"stage"
);
//阶段检验
Date
time
=
new
Date
();
// //获取当前校验时间
...
...
@@ -808,7 +810,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
Long
sequenceNbr
=
verify1
.
getSequenceNbr
(
);
qualityProblem
.
setStageVerifyId
(
sequenceNbr
);
qualityProblemService
.
save
(
qualityProblem
);
problemInitiationService
.
start
(
qualityProblem
);
}
...
...
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