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
a194047c
Commit
a194047c
authored
Mar 13, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
9c718f2d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
InformationDto.java
.../yeejoin/amos/boot/module/ugp/api/dto/InformationDto.java
+2
-0
ProjectController.java
...mos/boot/module/ugp/biz/controller/ProjectController.java
+9
-2
ProjectServiceImpl.java
.../boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
+0
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp/api/dto/InformationDto.java
View file @
a194047c
...
...
@@ -12,6 +12,8 @@ public class InformationDto {
private
List
<
Map
<
String
,
Object
>>
welderList
;
private
List
<
Map
<
String
,
Object
>>
materialList
;
private
List
<
Map
<
String
,
Object
>>
fileList
;
private
JSONObject
fileJson
;
private
Long
projectId
;
private
String
type
;
}
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/ProjectController.java
View file @
a194047c
...
...
@@ -430,13 +430,20 @@ public class ProjectController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"资料提交
保存"
,
notes
=
"资料提交
保存"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"资料提交
/保存"
,
notes
=
"资料提交/
保存"
)
@PostMapping
(
value
=
"/informationSaveOrUpdate"
)
public
ResponseModel
<
Object
>
informationSaveOrUpdate
(
@RequestBody
InformationDto
dto
){
projectServiceImpl
.
informationSaveOrUpdate
(
dto
.
getEquipmentList
(),
dto
.
getWelderList
(),
dto
.
getMaterialList
(),
dto
.
getFile
List
(),
dto
.
getProjectId
());
projectServiceImpl
.
informationSaveOrUpdate
(
dto
.
getEquipmentList
(),
dto
.
getWelderList
(),
dto
.
getMaterialList
(),
dto
.
getFile
Json
(),
dto
.
getProjectId
(),
dto
.
getType
());
return
ResponseHelper
.
buildResponse
(
"ok"
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"资料保存、审核"
,
notes
=
"资料保存、审核"
)
@PostMapping
(
value
=
"/informationAudit"
)
public
ResponseModel
<
Object
>
informationAudit
(
@RequestBody
InformationDto
dto
){
projectServiceImpl
.
informationAudit
(
dto
.
getEquipmentList
(),
dto
.
getWelderList
(),
dto
.
getMaterialList
(),
dto
.
getFileList
(),
dto
.
getProjectId
(),
dto
.
getType
());
return
ResponseHelper
.
buildResponse
(
"ok"
);
}
/**
* 审核资料详情
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
View file @
a194047c
This diff is collapsed.
Click to expand it.
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