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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
5 deletions
+45
-5
JgCertificateReplenishServiceImpl.java
...g/biz/service/impl/JgCertificateReplenishServiceImpl.java
+18
-4
CertificateReplenish.ftl
...biz/src/main/resources/templates/CertificateReplenish.ftl
+27
-1
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
...
@@ -256,7 +256,11 @@
...
@@ -256,7 +256,11 @@
<w:sz
w:val=
"28"
/>
<w:sz
w:val=
"28"
/>
<w:szCs
w:val=
"28"
/>
<w:szCs
w:val=
"28"
/>
</w:rPr>
</w:rPr>
<
#if equCategoryCode??
&&
(equCategoryCode == '2300')>
<w:t>
使用单位地址
</w:t>
<
#else>
<w:t>
设备使用地址
</w:t>
<w:t>
设备使用地址
</w:t>
<
/#if>
</w:r>
</w:r>
</w:p>
</w:p>
</w:tc>
</w:tc>
...
@@ -617,7 +621,7 @@
...
@@ -617,7 +621,7 @@
</w:trPr>
</w:trPr>
<w:tc>
<w:tc>
<w:tcPr>
<w:tcPr>
<w:tcW
w:w=
"
58
0"
w:type=
"dxa"
/>
<w:tcW
w:w=
"
76
0"
w:type=
"dxa"
/>
<w:vAlign
w:val=
"center"
/>
<w:vAlign
w:val=
"center"
/>
</w:tcPr>
</w:tcPr>
<w:p
w14:paraId=
"54CA17F1"
>
<w:p
w14:paraId=
"54CA17F1"
>
...
@@ -744,6 +748,7 @@
...
@@ -744,6 +748,7 @@
</w:p>
</w:p>
</w:tc>
</w:tc>
</w:tr>
</w:tr>
<
#if !(manageType == "unit"
&&
whetherVehicleCylinder != "1")>
<
#list equLists as equLists>
<
#list equLists as equLists>
<w:tr
w14:paraId=
"2395894C"
>
<w:tr
w14:paraId=
"2395894C"
>
<w:tblPrEx>
<w:tblPrEx>
...
@@ -902,6 +907,27 @@
...
@@ -902,6 +907,27 @@
</w:tc>
</w:tc>
</w:tr>
</w:tr>
<
/#list>
<
/#list>
<
#else>
<w:tr>
<w:trPr>
<w:trHeight
w:val=
"580"
w:hRule=
"exact"
/>
</w:trPr>
<w:tc>
<w:tcPr>
<w:gridSpan
w:val=
"5"
/>
<w:vAlign
w:val=
"center"
/>
</w:tcPr>
<w:p>
<w:pPr>
<w:jc
w:val=
"center"
/>
</w:pPr>
<w:r>
<w:t>
详见设备汇总表
</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
<
/#if>
<w:tr
w14:paraId=
"17B658C7"
>
<w:tr
w14:paraId=
"17B658C7"
>
<w:tblPrEx>
<w:tblPrEx>
<w:tblBorders>
<w:tblBorders>
...
...
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