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
7c187a5b
Commit
7c187a5b
authored
Aug 03, 2024
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):历史设备添加联想,使用单位
parent
05340925
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
JgUseRegistrationManageServiceImpl.java
.../biz/service/impl/JgUseRegistrationManageServiceImpl.java
+4
-3
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/JgUseRegistrationManageServiceImpl.java
View file @
7c187a5b
...
...
@@ -475,7 +475,7 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
public
void
exportUseRegistrationCertificate
(
JgUseRegistrationManage
manage
,
HttpServletResponse
response
,
String
printType
)
{
Map
<
String
,
Object
>
exportParamsMap
=
new
HashMap
<>();
// 查询使用登记详情
exportParamsMap
.
put
(
"manageType"
,
manage
.
getManageType
());
List
<
JSONObject
>
deviceList
=
this
.
queryEquByCertificateSeq
(
manage
.
getSequenceNbr
());
if
(
ValidationUtil
.
isEmpty
(
manage
)
||
ValidationUtil
.
isEmpty
(
deviceList
))
{
throw
new
BadRequest
(
"使用登记证导出失败,请稍后重试!"
);
...
...
@@ -508,15 +508,16 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
exportParamsMap
.
put
(
"equCode"
,
deviceList
.
get
(
0
).
get
(
"EQU_CODE"
));
if
(
BusinessTypeEnum
.
JG_VEHICLE_GAS_APPLICATION
.
getName
().
equals
(
manage
.
getRegType
())){
exportParamsMap
.
put
(
"fullAddress"
,
manage
.
getUseUnitAddress
());
exportParamsMap
.
put
(
"manageType"
,
manage
.
getManageType
());
exportParamsMap
.
put
(
"equDefineCode"
,
"23T0"
);
}
else
{
exportParamsMap
.
put
(
"fullAddress"
,
manage
.
getEquUseAddress
());
}
exportParamsMap
.
put
(
"fullAddress"
,
manage
.
getEquUseAddress
());
exportParamsMap
.
put
(
"applyNo"
,
manage
.
getApplyNo
());
exportParamsMap
.
put
(
"factoryNum"
,
deviceList
.
get
(
0
).
get
(
"FACTORY_NUM"
));
exportParamsMap
.
put
(
"useInnerCode"
,
deviceList
.
get
(
0
).
get
(
"USE_INNER_CODE"
));
exportParamsMap
.
put
(
"carNumber"
,
manage
.
getCarNumber
());
exportParamsMap
.
put
(
"equDefineCode"
,
"23T0"
);
if
(
"0"
.
equals
(
printType
))
{
// 调用生成使用登记证
...
...
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