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
f1dc7ed6
Commit
f1dc7ed6
authored
Aug 22, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.车用变更登记增加新车牌号
parent
000a83f9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
JgChangeVehicleRegistrationUnitDto.java
...module/jg/api/dto/JgChangeVehicleRegistrationUnitDto.java
+3
-0
JgChangeVehicleRegistrationUnit.java
...module/jg/api/entity/JgChangeVehicleRegistrationUnit.java
+6
-0
JgChangeVehicleRegistrationUnitMapper.xml
...esources/mapper/JgChangeVehicleRegistrationUnitMapper.xml
+1
-0
JgChangeVehicleRegistrationUnitServiceImpl.java
...vice/impl/JgChangeVehicleRegistrationUnitServiceImpl.java
+9
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgChangeVehicleRegistrationUnitDto.java
View file @
f1dc7ed6
...
@@ -138,6 +138,9 @@ public class JgChangeVehicleRegistrationUnitDto extends BaseDto {
...
@@ -138,6 +138,9 @@ public class JgChangeVehicleRegistrationUnitDto extends BaseDto {
@ApiModelProperty
(
value
=
"车牌号"
)
@ApiModelProperty
(
value
=
"车牌号"
)
private
String
carNumber
;
private
String
carNumber
;
@ApiModelProperty
(
value
=
"新车牌号"
)
private
String
newCarNumber
;
@ApiModelProperty
(
value
=
"转办人"
)
@ApiModelProperty
(
value
=
"转办人"
)
private
String
transferToUserIds
;
private
String
transferToUserIds
;
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgChangeVehicleRegistrationUnit.java
View file @
f1dc7ed6
...
@@ -240,6 +240,12 @@ public class JgChangeVehicleRegistrationUnit extends BaseEntity {
...
@@ -240,6 +240,12 @@ public class JgChangeVehicleRegistrationUnit extends BaseEntity {
private
String
carNumber
;
private
String
carNumber
;
/**
/**
* 新车牌号
*/
@TableField
(
"new_car_number"
)
private
String
newCarNumber
;
/**
* 转办
* 转办
*/
*/
@TableField
(
"transfer_to_user_ids"
)
@TableField
(
"transfer_to_user_ids"
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeVehicleRegistrationUnitMapper.xml
View file @
f1dc7ed6
...
@@ -52,6 +52,7 @@
...
@@ -52,6 +52,7 @@
cru.new_use_unit_name as newUseUnitName,
cru.new_use_unit_name as newUseUnitName,
cru.transfer_to_user_ids as transferToUserIds,
cru.transfer_to_user_ids as transferToUserIds,
cru.car_number as carNumber,
cru.car_number as carNumber,
cru.new_car_number as newCarNumber,
cru.next_execute_user_ids as nextExecuteUserIds,
cru.next_execute_user_ids as nextExecuteUserIds,
cru.next_task_id as nextTaskId,
cru.next_task_id as nextTaskId,
cru.use_regist_code as useRegistCode,
cru.use_regist_code as useRegistCode,
...
...
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 @
f1dc7ed6
...
@@ -99,8 +99,7 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
...
@@ -99,8 +99,7 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
private
IdxBizJgRegisterInfoServiceImpl
idxBizJgRegisterInfoService
;
private
IdxBizJgRegisterInfoServiceImpl
idxBizJgRegisterInfoService
;
@Autowired
@Autowired
private
IdxBizJgOtherInfoMapper
otherInfoMapper
;
private
IdxBizJgOtherInfoMapper
otherInfoMapper
;
@Autowired
private
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
;
public
void
changeData
(
JgChangeVehicleRegistrationUnit
dto
,
CompanyBo
company
)
{
public
void
changeData
(
JgChangeVehicleRegistrationUnit
dto
,
CompanyBo
company
)
{
if
(!
ObjectUtils
.
isEmpty
(
dto
.
getReceiveCompanyCode
()))
{
if
(!
ObjectUtils
.
isEmpty
(
dto
.
getReceiveCompanyCode
()))
{
...
@@ -520,6 +519,8 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
...
@@ -520,6 +519,8 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
manage
.
setAuditPassDate
(
new
Date
());
manage
.
setAuditPassDate
(
new
Date
());
Map
<
String
,
Object
>
enterpriseInfo
=
commonServiceImpl
.
getEnterpriseInfo
(
jgChangeVehicleRegistrationUnit
.
getNewUseUnitCreditCode
());
Map
<
String
,
Object
>
enterpriseInfo
=
commonServiceImpl
.
getEnterpriseInfo
(
jgChangeVehicleRegistrationUnit
.
getNewUseUnitCreditCode
());
manage
.
setUseUnitAddress
(
String
.
valueOf
(
enterpriseInfo
.
get
(
"address"
)));
manage
.
setUseUnitAddress
(
String
.
valueOf
(
enterpriseInfo
.
get
(
"address"
)));
// 新增新车牌号后,兼容老数据默认新车牌号 与 老的一致
manage
.
setCarNumber
(
jgChangeVehicleRegistrationUnit
.
getNewCarNumber
()
!=
null
?
jgChangeVehicleRegistrationUnit
.
getNewCarNumber
()
:
jgChangeVehicleRegistrationUnit
.
getCarNumber
());
jgUseRegistrationManageService
.
updateById
(
manage
);
jgUseRegistrationManageService
.
updateById
(
manage
);
// 保存证流水信息
// 保存证流水信息
jgCertificateChangeRecord
.
setUseRegistrationCode
(
manage
.
getUseRegistrationCode
());
jgCertificateChangeRecord
.
setUseRegistrationCode
(
manage
.
getUseRegistrationCode
());
...
@@ -746,6 +747,12 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
...
@@ -746,6 +747,12 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
object
.
put
(
"sequenceNbr"
,
sequenceNbr
);
object
.
put
(
"sequenceNbr"
,
sequenceNbr
);
object
.
put
(
"applyNo"
,
registrationUnit
.
getApplyNo
());
object
.
put
(
"applyNo"
,
registrationUnit
.
getApplyNo
());
object
.
put
(
"status"
,
registrationUnit
.
getStatus
());
object
.
put
(
"status"
,
registrationUnit
.
getStatus
());
// 新增新车牌后字段,兼容老数据
if
(
registrationUnit
.
getNewCarNumber
()
!=
null
){
object
.
put
(
"newCarNumber"
,
registrationUnit
.
getNewCarNumber
());
}
else
{
object
.
put
(
"newCarNumber"
,
registrationUnit
.
getCarNumber
());
}
return
object
;
return
object
;
}
else
{
}
else
{
return
new
HashMap
<>();
return
new
HashMap
<>();
...
...
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