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
f2c6eeaa
Commit
f2c6eeaa
authored
Jan 06, 2026
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jg): 车用气瓶单位变更使用登记证好生成逻辑修改
- 修改设备使用登记证编号生成逻辑,使用行政区划code替代单位code
parent
959483f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
JgChangeVehicleRegistrationUnitServiceImpl.java
...vice/impl/JgChangeVehicleRegistrationUnitServiceImpl.java
+3
-5
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 @
f2c6eeaa
...
...
@@ -592,8 +592,8 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
jgCertificateChangeRecord
.
setRoutePath
(
taskV2Model
.
getRoutePath
());
if
(
"0"
.
equals
(
jgChangeVehicleRegistrationUnit
.
getChangeType
())
&&
!
ObjectUtils
.
isEmpty
(
collect
))
{
// 区外变更
// 生成使用登记证编号
String
receiveCompanyCode
=
jgChangeVehicleRegistrationUnit
.
getReceiveCompanyCode
(
);
// 生成使用登记证编号
,根据行政审批局单位code获取行政区划code
String
receiveCompanyCode
=
codeUtil
.
getCityRegionCode
(
jgChangeVehicleRegistrationUnit
.
getReceiveCompanyCode
()
);
CompanyModel
receiveCompanyResult
=
Privilege
.
companyClient
.
queryByCompanyCode
(
receiveCompanyCode
).
getResult
();
//查询到局级
// 如果不是局级公司,则查询其上级公司信息
...
...
@@ -601,10 +601,8 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
CompanyModel
receiveParentResult
=
Privilege
.
companyClient
.
seleteOne
(
receiveCompanyResult
.
getParentId
()).
getResult
();
receiveCompanyCode
=
receiveParentResult
.
getCompanyCode
();
}
// 根据行政审批局单位code获取行政区划code
String
regionCode
=
codeUtil
.
getCityRegionCode
(
receiveCompanyCode
);
// 生成新的使用登记证编号
String
code
=
this
.
generateVehicleUseRegistrationCode
(
re
gion
Code
,
manage
.
getEquDefineCode
());
String
code
=
this
.
generateVehicleUseRegistrationCode
(
re
ceiveCompany
Code
,
manage
.
getEquDefineCode
());
manage
.
setUseRegistrationCode
(
code
);
manage
.
setRegistrationType
(
"0"
);
// 更新设备使用登记证信息
...
...
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