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
a1104876
Commit
a1104876
authored
Nov 29, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):认领接口修改
parent
d7617a12
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ShCarServiceImpl.java
...mos/boot/module/jg/biz/service/impl/ShCarServiceImpl.java
+4
-2
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/ShCarServiceImpl.java
View file @
a1104876
...
@@ -242,10 +242,12 @@ public class ShCarServiceImpl extends BaseService<ShCar, ShCar, ShCarMapper> imp
...
@@ -242,10 +242,12 @@ public class ShCarServiceImpl extends BaseService<ShCar, ShCar, ShCarMapper> imp
gasCylinderChangeMap
.
put
(
"receiveCompanyCode"
,
gasCylinderChangeMap
.
get
(
"receiveOrgCode"
));
gasCylinderChangeMap
.
put
(
"receiveCompanyCode"
,
gasCylinderChangeMap
.
get
(
"receiveOrgCode"
));
changeVehicleRegistrationUnitService
.
saveMessage
(
new
JSONObject
(
gasCylinderChangeMap
),
reginParams
);
changeVehicleRegistrationUnitService
.
saveMessage
(
new
JSONObject
(
gasCylinderChangeMap
),
reginParams
);
// 保存字典值 原三环使用单位
// 保存字典值 原三环使用单位
if
(
Systemctl
.
dictionarieClient
.
queryByDictCodes
((
String
)
completeDataSanHuanMap
.
get
(
"useUnitName"
)).
getResult
().
isEmpty
())
{
List
<
DictionarieValueModel
>
oldUseUnit
=
Systemctl
.
dictionarieClient
.
dictValues
(
"OLD_USE_UNIT"
).
getResult
();
boolean
hasKey
=
oldUseUnit
.
stream
().
anyMatch
(
x
->
x
.
getDictDataKey
().
equals
(
completeDataSanHuanMap
.
get
(
"useUnitName"
)));
if
(!
hasKey
)
{
DictionarieValueModel
dictionarieValueModel
=
new
DictionarieValueModel
();
DictionarieValueModel
dictionarieValueModel
=
new
DictionarieValueModel
();
dictionarieValueModel
.
setDictCode
(
"OLD_USE_UNIT"
);
dictionarieValueModel
.
setDictCode
(
"OLD_USE_UNIT"
);
dictionarieValueModel
.
setDictDataValue
((
String
)
completeDataSanHuanMap
.
get
(
"useUnit
CreditCod
e"
));
dictionarieValueModel
.
setDictDataValue
((
String
)
completeDataSanHuanMap
.
get
(
"useUnit
Nam
e"
));
dictionarieValueModel
.
setDictDataKey
((
String
)
completeDataSanHuanMap
.
get
(
"useUnitName"
));
dictionarieValueModel
.
setDictDataKey
((
String
)
completeDataSanHuanMap
.
get
(
"useUnitName"
));
Systemctl
.
dictionarieClient
.
createValue
(
dictionarieValueModel
);
Systemctl
.
dictionarieClient
.
createValue
(
dictionarieValueModel
);
}
}
...
...
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