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
f6de5d87
Commit
f6de5d87
authored
Feb 14, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):使用登记表
parent
55ed202a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+6
-1
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+6
-6
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/service/impl/CommonServiceImpl.java
View file @
f6de5d87
...
@@ -1338,9 +1338,14 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -1338,9 +1338,14 @@ public class CommonServiceImpl implements ICommonService {
case
"vehicle"
:
case
"vehicle"
:
return
jgVehicleInformationService
.
saveOrUpdateHisData
(
jsonObject
);
return
jgVehicleInformationService
.
saveOrUpdateHisData
(
jsonObject
);
case
"set_sp"
:
//特殊历史登记
case
"set_sp"
:
//特殊历史登记
Map
<
String
,
Object
>
useRegFormUploadObj
=
(
Map
<
String
,
Object
>)
map
.
get
(
useRegFormUpload
);
jsonObject
.
put
(
"regType"
,
"2"
);
jsonObject
.
put
(
"regType"
,
"2"
);
jsonObject
.
put
(
"businessCode"
,
"DJ_SY"
);
jsonObject
.
put
(
"businessCode"
,
"DJ_SY"
);
jsonObject
.
put
(
"submit"
,
Boolean
.
TRUE
);
String
uploadMode
=
String
.
valueOf
(
useRegFormUploadObj
.
get
(
"uploadMode"
));
if
(
Integer
.
toString
(
1
).
equals
(
uploadMode
))
{
jsonObject
.
put
(
"submit"
,
Boolean
.
TRUE
);
}
jsonObject
.
putAll
(
useRegFormUploadObj
);
return
jgUseRegistrationServiceImpl
.
handleUseRegistration
(
jsonObject
);
return
jgUseRegistrationServiceImpl
.
handleUseRegistration
(
jsonObject
);
default
:
default
:
return
jgUseRegistrationServiceImpl
.
handleHistoryEquip
(
jsonObject
);
return
jgUseRegistrationServiceImpl
.
handleHistoryEquip
(
jsonObject
);
...
...
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/JgUseRegistrationServiceImpl.java
View file @
f6de5d87
...
@@ -612,9 +612,9 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -612,9 +612,9 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
Optional
.
ofNullable
(
map
.
get
(
"useRegistrationFormFile"
))
Optional
.
ofNullable
(
map
.
get
(
"useRegistrationFormFile"
))
.
map
(
JSONObject:
:
toJSONString
)
.
map
(
JSONObject:
:
toJSONString
)
.
ifPresent
(
jgUseRegistration:
:
setUseRegistrationFormFile
);
.
ifPresent
(
jgUseRegistration:
:
setUseRegistrationFormFile
);
Optional
.
ofNullable
(
map
.
get
(
"useRegistrationFormUrl"
))
Map
<
String
,
Object
>
useRegistrationFormUrlMap
=
commonService
.
getRegistrationFormUrl
(
"set"
,
map
);
.
map
(
String:
:
valueOf
)
Optional
.
ofNullable
(
useRegistrationFormUrlMap
)
.
ifPresent
(
jgUseRegistration:
:
setUseRegistrationFormUrl
);
.
ifPresent
(
item
->
jgUseRegistration
.
setUseRegistrationFormUrl
(
String
.
valueOf
(
item
.
get
(
"useRegistrationFormUrl"
)))
);
if
(
map
.
containsKey
(
"type"
)
&&
"edit"
.
equals
(
String
.
valueOf
(
map
.
get
(
"type"
))))
{
if
(
map
.
containsKey
(
"type"
)
&&
"edit"
.
equals
(
String
.
valueOf
(
map
.
get
(
"type"
))))
{
jgUseRegistration
.
setUseUnitCreditCode
(
null
);
jgUseRegistration
.
setUseUnitCreditCode
(
null
);
jgUseRegistration
.
setSequenceNbr
(
Long
.
valueOf
(
String
.
valueOf
(
map
.
get
(
"sequenceNbr"
))));
jgUseRegistration
.
setSequenceNbr
(
Long
.
valueOf
(
String
.
valueOf
(
map
.
get
(
"sequenceNbr"
))));
...
@@ -893,9 +893,9 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -893,9 +893,9 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
Optional
.
ofNullable
(
map
.
get
(
"useRegistrationFormFile"
))
Optional
.
ofNullable
(
map
.
get
(
"useRegistrationFormFile"
))
.
map
(
JSONObject:
:
toJSONString
)
.
map
(
JSONObject:
:
toJSONString
)
.
ifPresent
(
useRegistration:
:
setUseRegistrationFormFile
);
.
ifPresent
(
useRegistration:
:
setUseRegistrationFormFile
);
Optional
.
ofNullable
(
map
.
get
(
"useRegistrationFormUrl"
))
Map
<
String
,
Object
>
useRegistrationFormUrlMap
=
commonService
.
getRegistrationFormUrl
(
"unit"
,
map
);
.
map
(
String:
:
valueOf
)
Optional
.
ofNullable
(
useRegistrationFormUrlMap
)
.
ifPresent
(
useRegistration:
:
setUseRegistrationFormUrl
);
.
ifPresent
(
item
->
useRegistration
.
setUseRegistrationFormUrl
(
String
.
valueOf
(
item
.
get
(
"useRegistrationFormUrl"
)))
);
// 新增或编辑保存
// 新增或编辑保存
if
(
StringUtils
.
isEmpty
(
useRegistration
.
getSequenceNbr
()))
{
if
(
StringUtils
.
isEmpty
(
useRegistration
.
getSequenceNbr
()))
{
ResponseModel
<
List
<
String
>>
listResponseModel
=
tzsServiceFeignClient
.
applicationFormCode
(
ApplicationFormTypeEnum
.
getCode
.
get
(
String
.
valueOf
(
map
.
get
(
"businessCode"
))),
1
);
ResponseModel
<
List
<
String
>>
listResponseModel
=
tzsServiceFeignClient
.
applicationFormCode
(
ApplicationFormTypeEnum
.
getCode
.
get
(
String
.
valueOf
(
map
.
get
(
"businessCode"
))),
1
);
...
...
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