Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
one-certificate-system
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
one-certificate-system
Commits
d1d1ad72
Commit
d1d1ad72
authored
Aug 07, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加目录字段
parent
dff19960
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
...s/xhx/module/record/service/impl/ApplyLogServiceImpl.java
+18
-4
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
View file @
d1d1ad72
...
...
@@ -26,10 +26,7 @@ import com.mortals.xhx.common.utils.*;
import
com.mortals.xhx.module.certificate.model.*
;
import
com.mortals.xhx.module.certificate.model.vo.CertificateDocumentPdu
;
import
com.mortals.xhx.module.certificate.pdu.ApplyLogPdu
;
import
com.mortals.xhx.module.certificate.service.CertificateCatalogService
;
import
com.mortals.xhx.module.certificate.service.CertificateClassifyService
;
import
com.mortals.xhx.module.certificate.service.CertificateDocumentService
;
import
com.mortals.xhx.module.certificate.service.CertificateIndustryService
;
import
com.mortals.xhx.module.certificate.service.*
;
import
com.mortals.xhx.module.child.model.ChildLicenseEntity
;
import
com.mortals.xhx.module.child.model.ChildLicenseQuery
;
import
com.mortals.xhx.module.child.service.ChildLicenseService
;
...
...
@@ -49,6 +46,7 @@ import com.mortals.framework.model.Context;
import
com.mortals.xhx.module.record.dao.ApplyLogDao
;
import
com.mortals.xhx.module.record.service.ApplyLogService
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.multipart.MultipartFile
;
import
java.io.*
;
...
...
@@ -92,6 +90,8 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
private
ChildLicenseService
childLicenseService
;
@Autowired
private
CertificateIndustryService
certificateIndustryService
;
@Autowired
private
CertificateChildService
certificateChildService
;
@Override
protected
void
removeAfter
(
Long
[]
ids
,
Context
context
,
int
result
)
throws
AppException
{
...
...
@@ -132,9 +132,12 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
return
query
;
}
@Override
protected
void
findAfter
(
ApplyLogEntity
params
,
PageInfo
pageInfo
,
Context
context
,
List
<
ApplyLogEntity
>
list
)
throws
AppException
{
if
(
CollectionUtils
.
isNotEmpty
(
list
)){
for
(
ApplyLogEntity
entity:
list
){
List
<
ChildLicenseEntity
>
childLicenseList
=
childLicenseService
.
find
(
new
ChildLicenseQuery
().
applyId
(
entity
.
getId
()));
// if(CollectionUtils.isEmpty(childLicenseList)){
...
...
@@ -689,4 +692,15 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
return
entity
;
}
@Override
protected
void
updateAfter
(
ApplyLogEntity
entity
,
Context
context
)
throws
AppException
{
if
(!
ObjectUtils
.
isEmpty
(
entity
.
getChildLicense
())){
//更新子证件状态
childLicenseService
.
update
(
entity
.
getChildLicense
(),
context
);
}
super
.
updateAfter
(
entity
,
context
);
}
}
\ No newline at end of file
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