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
b734f172
Commit
b734f172
authored
Jan 18, 2024
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报检新增API兼容新发起页面
parent
903536b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
JyjcInspectionApplicationController.java
...c/biz/controller/JyjcInspectionApplicationController.java
+17
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/JyjcInspectionApplicationController.java
View file @
b734f172
...
...
@@ -41,6 +41,12 @@ public class JyjcInspectionApplicationController extends BaseController {
@Autowired
JyjcInspectionApplicationServiceImpl
jyjcInspectionApplicationServiceImpl
;
// 业务通用发起——基本信息
private
static
final
String
basic
=
"basic"
;
// 业务通用发起——设备信息
private
static
final
String
equipPageInfo
=
"equipPageInfo"
;
// 业务通用发起——技术参数-
private
static
final
String
filePageData
=
"filePageData"
;
/**
* 新增
...
...
@@ -51,7 +57,17 @@ public class JyjcInspectionApplicationController extends BaseController {
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增"
,
notes
=
"新增"
)
public
ResponseModel
<
JyjcInspectionApplicationModel
>
save
(
@RequestBody
JSONObject
model
)
{
if
(
model
.
containsKey
(
basic
))
{
JSONObject
finallyJson
=
new
JSONObject
();
Map
<
String
,
Object
>
basicObj
=
(
Map
<
String
,
Object
>)
model
.
get
(
basic
);
Map
<
String
,
Object
>
equipPageInfoObj
=
(
Map
<
String
,
Object
>)
model
.
get
(
equipPageInfo
);
Map
<
String
,
Object
>
filePageDataObj
=
(
Map
<
String
,
Object
>)
model
.
get
(
filePageData
);
finallyJson
.
putAll
(
model
);
finallyJson
.
putAll
(
basicObj
);
finallyJson
.
putAll
(
equipPageInfoObj
);
finallyJson
.
putAll
(
filePageDataObj
);
model
=
finallyJson
;
}
ReginParams
selectedOrgInfo
=
getSelectedOrgInfo
();
model
.
put
(
"applicationUnitCode"
,
selectedOrgInfo
.
getCompany
().
getCompanyCode
());
...
...
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