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
0340cae6
Commit
0340cae6
authored
Apr 25, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):三环认领数据导致打证有问题处理
parent
2b46c876
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
JgUseRegistrationManageServiceImpl.java
.../biz/service/impl/JgUseRegistrationManageServiceImpl.java
+11
-2
ShCarServiceImpl.java
...mos/boot/module/jg/biz/service/impl/ShCarServiceImpl.java
+1
-1
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 @
0340cae6
...
...
@@ -627,8 +627,7 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
public
void
exportUseRegistrationCertificate
(
JgUseRegistrationManage
manage
,
HttpServletResponse
response
,
String
printType
)
{
Map
<
String
,
Object
>
exportParamsMap
=
new
HashMap
<>();
// 查询使用登记详情
List
<
JSONObject
>
deviceList
=
this
.
queryEquByCertificateSeq
(
manage
.
getSequenceNbr
());
List
<
JSONObject
>
deviceList
=
this
.
queryEquByCertificate
(
manage
);
if
(
ValidationUtil
.
isEmpty
(
manage
)
||
ValidationUtil
.
isEmpty
(
deviceList
))
{
throw
new
BadRequest
(
"使用登记证导出失败,请稍后重试!"
);
}
...
...
@@ -711,6 +710,16 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
}
}
/**
* 查询本单位下设备,过滤三环数据
* @param manage
* @return
*/
private
List
<
JSONObject
>
queryEquByCertificate
(
JgUseRegistrationManage
manage
)
{
return
queryEquByCertificateSeq
(
manage
.
getSequenceNbr
()).
stream
()
.
filter
(
s
->
Objects
.
equals
(
s
.
get
(
"USE_UNIT_CREDIT_CODE"
),
manage
.
getUseUnitCreditCode
()))
.
collect
(
Collectors
.
toList
());
}
private
UseFlagParamDto
buildUseFlagParamDto
(
List
<
JSONObject
>
deviceList
,
JgUseRegistrationManage
manage
,
Map
<
String
,
Object
>
exportParamsMap
)
{
UseFlagParamDto
useFlagParamDto
=
new
UseFlagParamDto
();
...
...
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/ShCarServiceImpl.java
View file @
0340cae6
...
...
@@ -437,7 +437,7 @@ public class ShCarServiceImpl extends BaseService<ShCar, ShCar, ShCarMapper> imp
if
(
isOneSelf
)
{
if
(
CompanyTypeEnum
.
INDIVIDUAL
.
getName
().
equals
(
company
.
getCompanyType
()))
{
useInfo
.
setUseUnitName
(
company
.
getCompanyName
().
split
(
"_"
)[
1
]);
useInfo
.
setUseUnitCreditCode
(
company
.
getCompanyCode
().
split
(
"_"
)[
1
]);
useInfo
.
setUseUnitCreditCode
(
company
.
getCompanyCode
().
split
(
"_"
)[
0
]);
}
else
{
useInfo
.
setUseUnitName
(
company
.
getCompanyName
());
useInfo
.
setUseUnitCreditCode
(
company
.
getCompanyCode
());
...
...
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