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
cd72d680
Commit
cd72d680
authored
Jan 11, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.附件格式化
parent
827a99ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
JgChangeRegistrationNameController.java
...jg/biz/controller/JgChangeRegistrationNameController.java
+1
-3
JgChangeRegistrationNameServiceImpl.java
...biz/service/impl/JgChangeRegistrationNameServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgChangeRegistrationNameController.java
View file @
cd72d680
...
...
@@ -59,12 +59,10 @@ public class JgChangeRegistrationNameController extends BaseController {
public
ResponseModel
<
JgChangeRegistrationNameDto
>
updateInfo
(
@RequestParam
String
submitType
,
@RequestBody
Map
<
String
,
Object
>
model
,
@RequestParam
(
value
=
"op"
,
required
=
false
)
String
op
)
{
JgChangeRegistrationNameDto
dto
=
BeanUtil
.
mapToBean
(((
LinkedHashMap
)
model
.
get
(
"jgRegistrationInfo"
)),
JgChangeRegistrationNameDto
.
class
,
true
);
JgChangeRegistrationNameDto
dto
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
model
.
get
(
"jgRegistrationInfo"
)),
JgChangeRegistrationNameDto
.
class
);
if
(
Objects
.
isNull
(
dto
))
{
throw
new
IllegalArgumentException
(
"参数jgRegistrationInfo不能为空"
);
}
Object
o
=
((
LinkedHashMap
<?,
?>)
model
.
get
(
"jgRegistrationInfo"
)).
get
(
"changeCertificateList"
);
dto
.
setChangeCertificateList
((
List
<
Map
<
String
,
Object
>>)
o
);
return
ResponseHelper
.
buildResponse
(
jgChangeRegistrationNameService
.
updateInfo
(
submitType
,
dto
,
op
));
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgChangeRegistrationNameServiceImpl.java
View file @
cd72d680
...
...
@@ -579,7 +579,7 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
jgChangeRegistrationName
.
setUseUnitName
(
reginParams
.
getCompany
().
getCompanyName
());
}
BeanUtil
.
copyProperties
(
jgChangeRegistrationName
,
dtoMap
);
dtoMap
.
put
(
"changeCertificate
List
"
,
JSON
.
parseArray
(
jgChangeRegistrationName
.
getChangeCertificate
()));
dtoMap
.
put
(
"changeCertificate"
,
JSON
.
parseArray
(
jgChangeRegistrationName
.
getChangeCertificate
()));
map
.
put
(
"jgRegistrationInfo"
,
dtoMap
);
return
map
;
}
...
...
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