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
134b7b39
Commit
134b7b39
authored
Nov 16, 2022
by
曹盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改弹窗接口
parent
0ab673c9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
7 deletions
+37
-7
OpenDto.java
...ava/com/yeejoin/amos/boot/module/ugp/api/dto/OpenDto.java
+2
-0
SmartListDto.java
...om/yeejoin/amos/boot/module/ugp/api/dto/SmartListDto.java
+3
-3
VerifyController.java
...amos/boot/module/ugp/biz/controller/VerifyController.java
+4
-2
VerifyServiceImpl.java
...s/boot/module/ugp/biz/service/impl/VerifyServiceImpl.java
+28
-2
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp/api/dto/OpenDto.java
View file @
134b7b39
...
@@ -15,4 +15,6 @@ public class OpenDto {
...
@@ -15,4 +15,6 @@ public class OpenDto {
private
String
accord
;
//符合性
private
String
accord
;
//符合性
private
String
valid
;
//有效性
private
String
valid
;
//有效性
private
String
result
;
//结果
private
String
result
;
//结果
private
Long
detailId
;
//跳转id
}
}
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp/api/dto/SmartListDto.java
View file @
134b7b39
...
@@ -110,7 +110,7 @@ public class SmartListDto extends BaseDto {
...
@@ -110,7 +110,7 @@ public class SmartListDto extends BaseDto {
private
String
stage
;
private
String
stage
;
private
Long
welderId
;
private
Long
weldingId
;
private
Long
materialId
;
}
}
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/VerifyController.java
View file @
134b7b39
...
@@ -290,8 +290,10 @@ public class VerifyController extends BaseController {
...
@@ -290,8 +290,10 @@ public class VerifyController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/selectById"
)
@GetMapping
(
value
=
"/selectById"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"主键id查询verity表"
,
notes
=
"主键id查询verity表"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"主键id查询verity表"
,
notes
=
"主键id查询verity表"
)
public
ResponseModel
<
OpenDto
>
selectById
(
@RequestParam
Long
sequenceNbr
)
{
public
ResponseModel
<
Page
<
OpenDto
>>
selectById
(
@RequestParam
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
verifyServiceImpl
.
selectById
(
sequenceNbr
));
Page
<
OpenDto
>
page
=
new
Page
<>(
);
page
.
setRecords
(
verifyServiceImpl
.
selectById
(
sequenceNbr
));
return
ResponseHelper
.
buildResponse
(
page
);
}
}
...
...
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 @
134b7b39
...
@@ -191,6 +191,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
...
@@ -191,6 +191,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
Long
welderId
=
jsonObject
.
getLong
(
"welderId"
);
Long
welderId
=
jsonObject
.
getLong
(
"welderId"
);
if
(
welderId
!=
null
)
{
if
(
welderId
!=
null
)
{
dto
.
setWelderId
(
welderId
);
OrgUsr
orgUsr
=
orgService
.
getOrgUsrById
(
welderId
.
toString
());
OrgUsr
orgUsr
=
orgService
.
getOrgUsrById
(
welderId
.
toString
());
if
(
orgUsr
!=
null
)
{
if
(
orgUsr
!=
null
)
{
if
(!
StringUtils
.
isEmpty
(
orgUsr
.
getBizOrgName
()))
{
if
(!
StringUtils
.
isEmpty
(
orgUsr
.
getBizOrgName
()))
{
...
@@ -221,6 +222,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
...
@@ -221,6 +222,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
Long
weldingId
=
jsonObject
.
getLong
(
"weldingId"
);
Long
weldingId
=
jsonObject
.
getLong
(
"weldingId"
);
if
(
weldingId
!=
null
)
{
if
(
weldingId
!=
null
)
{
dto
.
setWeldingId
(
weldingId
);
EquipmentDto
equipmentDto
=
equipmentService
.
queryBySeq
(
weldingId
);
EquipmentDto
equipmentDto
=
equipmentService
.
queryBySeq
(
weldingId
);
if
(
equipmentDto
!=
null
)
{
if
(
equipmentDto
!=
null
)
{
//设备名 设备编号
//设备名 设备编号
...
@@ -231,6 +233,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
...
@@ -231,6 +233,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
Long
materialId
=
jsonObject
.
getLong
(
"materialId"
);
Long
materialId
=
jsonObject
.
getLong
(
"materialId"
);
if
(
materialId
!=
null
)
{
if
(
materialId
!=
null
)
{
dto
.
setMaterialId
(
materialId
);
MaterialDto
materialDto
=
materialService
.
queryBySeq
(
materialId
);
MaterialDto
materialDto
=
materialService
.
queryBySeq
(
materialId
);
if
(
materialDto
!=
null
)
{
if
(
materialDto
!=
null
)
{
//管材厂家 生产编号
//管材厂家 生产编号
...
@@ -808,7 +811,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
...
@@ -808,7 +811,7 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
* @param sequenceNbr
* @param sequenceNbr
* @return
* @return
*/
*/
public
OpenDto
selectById
(
Long
sequenceNbr
){
public
List
<
OpenDto
>
selectById
(
Long
sequenceNbr
){
Verify
verify
=
verifyMapper
.
selectById
(
sequenceNbr
);
Verify
verify
=
verifyMapper
.
selectById
(
sequenceNbr
);
OpenDto
openDto
=
new
OpenDto
(
);
OpenDto
openDto
=
new
OpenDto
(
);
...
@@ -845,9 +848,32 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
...
@@ -845,9 +848,32 @@ public class VerifyServiceImpl extends BaseService<VerifyDto,Verify,VerifyMapper
openDto
.
setValid
(
"有效"
);
openDto
.
setValid
(
"有效"
);
openDto
.
setAccord
(
"符合"
);
openDto
.
setAccord
(
"符合"
);
if
(
StageEnum
.
焊前人员
.
getStage
().
equals
(
verify
.
getStage
()))
{
Long
welderId
=
object
.
getLong
(
"welderId"
);
if
(
welderId
!=
null
)
{
openDto
.
setDetailId
(
welderId
);
}
}
if
(
StageEnum
.
焊前设备
.
getStage
().
equals
(
verify
.
getStage
()))
{
Long
weldingId
=
object
.
getLong
(
"weldingId"
);
if
(
weldingId
!=
null
)
{
openDto
.
setDetailId
(
weldingId
);
}
}
if
(
StageEnum
.
焊前管材质量
.
getStage
().
equals
(
verify
.
getStage
()))
{
Long
materialId
=
object
.
getLong
(
"materialId"
);
if
(
materialId
!=
null
)
{
openDto
.
setDetailId
(
materialId
);
}
}
}
}
return
openDto
;
ArrayList
<
OpenDto
>
list
=
new
ArrayList
<>(
);
list
.
add
(
openDto
);
return
list
;
}
}
...
...
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