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
3c5bc526
Commit
3c5bc526
authored
Mar 28, 2024
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(JG):车用气瓶-监管码功能开发
parent
6d9ce520
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
VehicleApanageEnum.java
...oin/amos/boot/module/jg/api/enums/VehicleApanageEnum.java
+1
-1
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+2
-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/enums/VehicleApanageEnum.java
View file @
3c5bc526
...
@@ -40,7 +40,7 @@ public enum VehicleApanageEnum {
...
@@ -40,7 +40,7 @@ public enum VehicleApanageEnum {
*/
*/
public
static
String
of
(
String
code
){
public
static
String
of
(
String
code
){
for
(
VehicleApanageEnum
e
:
VehicleApanageEnum
.
values
()){
for
(
VehicleApanageEnum
e
:
VehicleApanageEnum
.
values
()){
if
(
e
.
getC
ity
().
equals
(
code
)){
if
(
e
.
getC
ode
().
equals
(
code
)){
return
e
.
getCity
();
return
e
.
getCity
();
}
}
}
}
...
...
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 @
3c5bc526
...
@@ -615,7 +615,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
...
@@ -615,7 +615,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
jgVehicleInformation
.
setNextExecuteUserIds
(
""
);
jgVehicleInformation
.
setNextExecuteUserIds
(
""
);
// 生成使用登记证编号
// 生成使用登记证编号
String
code
=
this
.
getCode
(
jgVehicleInformation
.
getVehicleApanage
());
String
code
=
this
.
get
UseRegistration
Code
(
jgVehicleInformation
.
getVehicleApanage
());
jgVehicleInformation
.
setUseRegistrationCode
(
code
);
jgVehicleInformation
.
setUseRegistrationCode
(
code
);
jgVehicleInformation
.
setAuditPassDate
(
new
Date
());
jgVehicleInformation
.
setAuditPassDate
(
new
Date
());
...
@@ -862,7 +862,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
...
@@ -862,7 +862,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
* @return String
* @return String
* @deprecated 根据车辆属地生成使用登记证
* @deprecated 根据车辆属地生成使用登记证
*/
*/
public
String
getCode
(
String
vehicleApa
)
{
public
String
get
UseRegistration
Code
(
String
vehicleApa
)
{
StringBuilder
useRegistration
=
new
StringBuilder
(
"容3T"
);
StringBuilder
useRegistration
=
new
StringBuilder
(
"容3T"
);
if
(!
ObjectUtils
.
isEmpty
(
vehicleApa
))
{
if
(!
ObjectUtils
.
isEmpty
(
vehicleApa
))
{
ResponseModel
<
String
>
stringResponseModel
=
tzsServiceFeignClient
.
useRegistrationCode
(
useRegistration
.
append
(
VehicleApanageEnum
.
of
(
vehicleApa
))
+
""
);
ResponseModel
<
String
>
stringResponseModel
=
tzsServiceFeignClient
.
useRegistrationCode
(
useRegistration
.
append
(
VehicleApanageEnum
.
of
(
vehicleApa
))
+
""
);
...
...
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