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
86c00449
Commit
86c00449
authored
May 28, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):BUG:29189
parent
287ec522
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
JgChangeVehicleRegistrationUnitServiceImpl.java
...vice/impl/JgChangeVehicleRegistrationUnitServiceImpl.java
+3
-1
ShCarServiceImpl.java
...mos/boot/module/jg/biz/service/impl/ShCarServiceImpl.java
+1
-0
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/JgChangeVehicleRegistrationUnitServiceImpl.java
View file @
86c00449
...
@@ -61,10 +61,12 @@ import org.typroject.tyboot.core.foundation.utils.ValidationUtil;
...
@@ -61,10 +61,12 @@ import org.typroject.tyboot.core.foundation.utils.ValidationUtil;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.text.SimpleDateFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
import
java.util.*
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
static
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
enums
.
VehicleApanageEnum
.
XIAN_YANG
;
import
static
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
enums
.
VehicleApanageEnum
.
XIAN_YANG
;
import
static
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
enums
.
VehicleApanageEnum
.
XI_XIAN
;
import
static
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
enums
.
VehicleApanageEnum
.
XI_XIAN
;
...
@@ -801,7 +803,7 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
...
@@ -801,7 +803,7 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
return
map
;
return
map
;
}
}
p
rivate
Map
<
String
,
Object
>
getFillingMediumMap
()
{
p
ublic
Map
<
String
,
Object
>
getFillingMediumMap
()
{
if
(
fillingMediumMap
==
null
)
{
if
(
fillingMediumMap
==
null
)
{
synchronized
(
this
)
{
synchronized
(
this
)
{
if
(
fillingMediumMap
==
null
)
{
if
(
fillingMediumMap
==
null
)
{
...
...
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 @
86c00449
...
@@ -228,6 +228,7 @@ public class ShCarServiceImpl extends BaseService<ShCar, ShCar, ShCarMapper> imp
...
@@ -228,6 +228,7 @@ public class ShCarServiceImpl extends BaseService<ShCar, ShCar, ShCarMapper> imp
List
<
Map
<
String
,
Object
>>
equList
=
changeVehicleRegistrationUnitService
.
getBaseMapper
().
getEquList
(
records
)
List
<
Map
<
String
,
Object
>>
equList
=
changeVehicleRegistrationUnitService
.
getBaseMapper
().
getEquList
(
records
)
.
stream
()
.
stream
()
.
peek
(
x
->
x
.
put
(
"carNumber"
,
completeDataSanHuanMap
.
get
(
"carNumber"
)))
.
peek
(
x
->
x
.
put
(
"carNumber"
,
completeDataSanHuanMap
.
get
(
"carNumber"
)))
.
peek
(
x
->
x
.
put
(
"chargingMedium"
,
changeVehicleRegistrationUnitService
.
getFillingMediumMap
().
get
(
x
.
get
(
"chargingMedium"
))))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
gasCylinderChangeMap
.
put
(
"useUnitCreditCode"
,
String
.
format
(
"%s_%s"
,
completeDataSanHuanMap
.
get
(
"useUnitName"
),
completeDataSanHuanMap
.
get
(
"useUnitCreditCode"
)));
gasCylinderChangeMap
.
put
(
"useUnitCreditCode"
,
String
.
format
(
"%s_%s"
,
completeDataSanHuanMap
.
get
(
"useUnitName"
),
completeDataSanHuanMap
.
get
(
"useUnitCreditCode"
)));
gasCylinderChangeMap
.
put
(
"dataList"
,
equList
);
gasCylinderChangeMap
.
put
(
"dataList"
,
equList
);
...
...
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