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
12310129
Commit
12310129
authored
May 29, 2025
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg): 修复历史车用气瓶登记提交后更新设备相关信息
- 添加了缺失的车辆使用日期和其他相关信息的更新逻辑 -确保了车辆信息更新时,注册登记信息表中的车号也同步更新
parent
dc2aff8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+7
-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/service/impl/JgVehicleInformationServiceImpl.java
View file @
12310129
...
...
@@ -1081,7 +1081,6 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
useInfo
.
setSafetyManagerId
(
jgVehicleInformation
.
getSafetyManagerId
());
useInfo
.
setSafetyManager
(
jgVehicleInformation
.
getSafetyManagerName
());
useInfo
.
setPhone
(
jgVehicleInformation
.
getPhone
());
useInfo
.
setUseDate
(
jgVehicleInformation
.
getUseDate
());
LambdaQueryWrapper
<
IdxBizJgUseInfo
>
lambda
=
new
QueryWrapper
<
IdxBizJgUseInfo
>().
lambda
();
lambda
.
eq
(
IdxBizJgUseInfo:
:
getRecord
,
map
.
get
(
"record"
));
...
...
@@ -2073,6 +2072,12 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
useInfo
.
setOldUseRegistrationCertificate
(
JSON
.
toJSONString
(
map
.
get
(
"oldUseRegistrationCertificate"
)));
useInfo
.
setORegDate
(
String
.
valueOf
(
map
.
get
(
"oRegDate"
)));
useInfo
.
setORegUnit
(
String
.
valueOf
(
map
.
get
(
"oRegUnit"
)));
useInfo
.
setEstateUnitCreditCode
(
vehicleInformation
.
getEstateUnitCreditCode
());
useInfo
.
setEstateUnitName
(
vehicleInformation
.
getEstateUnitName
());
useInfo
.
setSafetyManagerId
(
vehicleInformation
.
getSafetyManagerId
());
useInfo
.
setSafetyManager
(
vehicleInformation
.
getSafetyManagerName
());
useInfo
.
setPhone
(
vehicleInformation
.
getPhone
());
useInfo
.
setUseDate
(
vehicleInformation
.
getUseDate
());
useInfoMapper
.
updateById
(
useInfo
);
// 更新注册登记信息表
...
...
@@ -2082,6 +2087,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
updateRegisterWrapper
.
eq
(
IdxBizJgRegisterInfo:
:
getRecord
,
registerInfo
.
getRecord
());
updateRegisterWrapper
.
set
(
true
,
IdxBizJgRegisterInfo:
:
getUseOrgCode
,
vehicleInformation
.
getUseRegistrationCode
());
updateRegisterWrapper
.
set
(
IdxBizJgRegisterInfo:
:
getRegisterState
,
this
.
getRegCode
());
updateRegisterWrapper
.
set
(
IdxBizJgRegisterInfo:
:
getCarNumber
,
vehicleInformation
.
getCarNumber
());
idxBizJgRegisterInfoService
.
update
(
updateRegisterWrapper
);
// 查询其他信息
...
...
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