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
d6fbde09
Commit
d6fbde09
authored
Dec 02, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.安装告知打印时,资质有安改维资质调整为安改维资质+制造单位资质
parent
6e454e53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+9
-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/JgInstallationNoticeServiceImpl.java
View file @
d6fbde09
...
@@ -184,9 +184,9 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -184,9 +184,9 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
EventPublisher
eventPublisher
;
EventPublisher
eventPublisher
;
/**
/**
* 安装改造维修单位吱资质类型:1234
* 安装改造维修单位吱资质类型:1234
-安改维、1236-制造单位
*/
*/
@Value
(
"${company.type.notice:1234}"
)
@Value
(
"${company.type.notice:1234
,1236
}"
)
private
String
companyType
;
private
String
companyType
;
/**
/**
...
@@ -620,7 +620,13 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -620,7 +620,13 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
String
useCode
=
String
.
valueOf
(
informObj
.
get
(
"installUnitCreditCode"
));
String
useCode
=
String
.
valueOf
(
informObj
.
get
(
"installUnitCreditCode"
));
LambdaQueryWrapper
<
TzBaseUnitLicence
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
TzBaseUnitLicence
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
TzBaseUnitLicence:
:
getUnitCode
,
useCode
);
wrapper
.
eq
(
TzBaseUnitLicence:
:
getUnitCode
,
useCode
);
wrapper
.
eq
(
TzBaseUnitLicence:
:
getCertTypeCode
,
companyType
);
// 资质支持多个显示and (certTypeCode = 'xx1' or certTypeCode = 'xx2')
wrapper
.
and
(
w
->
{
String
[]
certTypeCodes
=
companyType
.
split
(
","
);
for
(
String
certTypeCode:
certTypeCodes
){
w
.
or
().
eq
(
TzBaseUnitLicence:
:
getCertTypeCode
,
certTypeCode
);
}
});
wrapper
.
orderByDesc
(
TzBaseUnitLicence:
:
getExpiryDate
);
wrapper
.
orderByDesc
(
TzBaseUnitLicence:
:
getExpiryDate
);
wrapper
.
orderByDesc
(
TzBaseUnitLicence:
:
getRecDate
);
wrapper
.
orderByDesc
(
TzBaseUnitLicence:
:
getRecDate
);
// 去重显示3个
// 去重显示3个
...
...
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