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
212bbefa
Commit
212bbefa
authored
Nov 20, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:(jg):补证功能开发
parent
52d5b57c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
4 deletions
+18
-4
JgCertificateReplenishServiceImpl.java
...g/biz/service/impl/JgCertificateReplenishServiceImpl.java
+18
-4
CertificateReplenish.ftl
...biz/src/main/resources/templates/CertificateReplenish.ftl
+0
-0
unit-registration-certificate-report.ftl
...ources/templates/unit-registration-certificate-report.ftl
+0
-0
unit-use-registration-model.ftl
.../main/resources/templates/unit-use-registration-model.ftl
+0
-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/JgCertificateReplenishServiceImpl.java
View file @
212bbefa
...
@@ -82,6 +82,8 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
...
@@ -82,6 +82,8 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
public
static
final
String
IDX_BIZ_VIEW_JG_ALL
=
"idx_biz_view_jg_all"
;
public
static
final
String
IDX_BIZ_VIEW_JG_ALL
=
"idx_biz_view_jg_all"
;
public
static
final
String
equUseAddress
=
"equUseAddress"
;
public
static
final
String
equUseAddress
=
"equUseAddress"
;
public
static
final
String
useRegistrationCode
=
"useRegistrationCode"
;
public
static
final
String
useRegistrationCode
=
"useRegistrationCode"
;
public
static
final
String
whetherVehicleCylinder
=
"WHETHER_VEHICLE_CYLINDER"
;
public
static
final
String
manageType
=
"manageType"
;
public
static
final
String
USE_ORG_CODE
=
"USE_ORG_CODE"
;
public
static
final
String
USE_ORG_CODE
=
"USE_ORG_CODE"
;
public
static
final
String
STATUS
=
"STATUS"
;
public
static
final
String
STATUS
=
"STATUS"
;
public
static
final
String
record
=
"record"
;
public
static
final
String
record
=
"record"
;
...
@@ -809,6 +811,9 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
...
@@ -809,6 +811,9 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
JSONObject
result
=
new
JSONObject
();
JSONObject
result
=
new
JSONObject
();
result
.
put
(
"applyNo"
,
applyNo
);
result
.
put
(
"applyNo"
,
applyNo
);
result
.
put
(
"useUnitName"
,
jsonObject
.
getString
(
"useUnitName"
));
result
.
put
(
"useUnitName"
,
jsonObject
.
getString
(
"useUnitName"
));
result
.
put
(
"manageType"
,
Objects
.
toString
(
jsonObject
.
get
(
manageType
),
"set"
));
result
.
put
(
"whetherVehicleCylinder"
,
Objects
.
toString
(
jsonObject
.
get
(
whetherVehicleCylinder
),
"0"
));
result
.
put
(
"equCategoryCode"
,
jsonObject
.
getString
(
"equCategoryCode"
));
result
.
put
(
"equUseAddress"
,
jsonObject
.
getString
(
"equUseAddress"
));
result
.
put
(
"equUseAddress"
,
jsonObject
.
getString
(
"equUseAddress"
));
result
.
put
(
"applicationReason"
,
jsonObject
.
getString
(
"applicationReason"
));
result
.
put
(
"applicationReason"
,
jsonObject
.
getString
(
"applicationReason"
));
result
.
put
(
"lossDamageTime"
,
jsonObject
.
getString
(
"lossDamageTime"
).
substring
(
0
,
10
));
result
.
put
(
"lossDamageTime"
,
jsonObject
.
getString
(
"lossDamageTime"
).
substring
(
0
,
10
));
...
@@ -834,15 +839,24 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
...
@@ -834,15 +839,24 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
* @return
* @return
*/
*/
public
Map
<
String
,
Object
>
queryEquByCertSeq
(
String
sequenceNbr
)
{
public
Map
<
String
,
Object
>
queryEquByCertSeq
(
String
sequenceNbr
)
{
JgUseRegistrationManage
registrationManage
=
registrationManageService
.
getBaseMapper
().
selectOne
(
new
LambdaQueryWrapper
<
JgUseRegistrationManage
>().
eq
(
JgUseRegistrationManage:
:
getSequenceNbr
,
sequenceNbr
).
eq
(
JgUseRegistrationManage:
:
getIsDelete
,
0
).
select
(
JgUseRegistrationManage:
:
getUseRegistrationCode
,
JgUseRegistrationManage:
:
getEquUseAddress
));
JgUseRegistrationManage
registrationManage
=
registrationManageService
.
getBaseMapper
()
.
selectOne
(
new
LambdaQueryWrapper
<
JgUseRegistrationManage
>()
.
eq
(
JgUseRegistrationManage:
:
getSequenceNbr
,
sequenceNbr
)
.
eq
(
JgUseRegistrationManage:
:
getIsDelete
,
0
)
.
select
(
JgUseRegistrationManage:
:
getUseRegistrationCode
,
JgUseRegistrationManage:
:
getUseUnitAddress
,
JgUseRegistrationManage:
:
getEquUseAddress
,
JgUseRegistrationManage:
:
getManageType
));
HashMap
<
String
,
Object
>
result
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
result
=
new
HashMap
<>();
if
(
ValidationUtil
.
isEmpty
(
registrationManage
))
{
if
(
ValidationUtil
.
isEmpty
(
registrationManage
))
{
return
result
;
return
result
;
}
}
List
<
JSONObject
>
equipmentLists
=
this
.
queryEquByCert
(
registrationManage
.
getUseRegistrationCode
());
List
<
JSONObject
>
list
=
queryEquByCert
(
registrationManage
.
getUseRegistrationCode
());
result
.
put
(
EQU_LISTS
,
equipmentLists
);
result
.
put
(
EQU_LISTS
,
list
);
result
.
put
(
"whetherVehicleCylinder"
,
list
.
stream
().
findFirst
().
map
(
j
->
j
.
get
(
whetherVehicleCylinder
))
.
orElse
(
"0"
));
result
.
put
(
useRegistrationCode
,
registrationManage
.
getUseRegistrationCode
());
result
.
put
(
useRegistrationCode
,
registrationManage
.
getUseRegistrationCode
());
result
.
put
(
equUseAddress
,
StringUtils
.
isEmpty
(
registrationManage
.
getEquUseAddress
())?
""
:
registrationManage
.
getEquUseAddress
());
result
.
put
(
manageType
,
registrationManage
.
getManageType
());
result
.
put
(
equUseAddress
,
"unit"
.
equals
(
registrationManage
.
getManageType
())
?
registrationManage
.
getUseUnitAddress
()
:
registrationManage
.
getEquUseAddress
());
return
result
;
return
result
;
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/templates/CertificateReplenish.ftl
View file @
212bbefa
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/templates/unit-registration-certificate-report.ftl
View file @
212bbefa
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/templates/unit-use-registration-model.ftl
View file @
212bbefa
This diff is collapsed.
Click to expand it.
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