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
a626897f
Commit
a626897f
authored
Aug 22, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
27774cdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/RetainLogServiceImpl.java
.../xhx/module/record/service/impl/RetainLogServiceImpl.java
+4
-3
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/RetainLogServiceImpl.java
View file @
a626897f
...
@@ -13,6 +13,7 @@ import com.mortals.xhx.module.certificate.model.vo.CertificateDocumentPdu;
...
@@ -13,6 +13,7 @@ import com.mortals.xhx.module.certificate.model.vo.CertificateDocumentPdu;
import
com.mortals.xhx.module.child.model.ChildLicenseEntity
;
import
com.mortals.xhx.module.child.model.ChildLicenseEntity
;
import
com.mortals.xhx.module.child.model.ChildLicenseQuery
;
import
com.mortals.xhx.module.child.model.ChildLicenseQuery
;
import
com.mortals.xhx.module.child.service.ChildLicenseService
;
import
com.mortals.xhx.module.child.service.ChildLicenseService
;
import
com.mortals.xhx.module.record.dao.ApplyLogDao
;
import
com.mortals.xhx.module.record.dao.RetainLogDao
;
import
com.mortals.xhx.module.record.dao.RetainLogDao
;
import
com.mortals.xhx.module.record.model.ApplyLogEntity
;
import
com.mortals.xhx.module.record.model.ApplyLogEntity
;
import
com.mortals.xhx.module.record.model.RetainLogEntity
;
import
com.mortals.xhx.module.record.model.RetainLogEntity
;
...
@@ -41,7 +42,7 @@ public class RetainLogServiceImpl extends AbstractCRUDServiceImpl<RetainLogDao,
...
@@ -41,7 +42,7 @@ public class RetainLogServiceImpl extends AbstractCRUDServiceImpl<RetainLogDao,
@Autowired
@Autowired
private
ChildLicenseService
childLicenseService
;
private
ChildLicenseService
childLicenseService
;
@Autowired
@Autowired
private
ApplyLog
Service
applyLogService
;
private
ApplyLog
Dao
applyLogDao
;
@Override
@Override
protected
RetainLogEntity
findBefore
(
RetainLogEntity
entity
,
PageInfo
pageInfo
,
Context
context
)
throws
AppException
{
protected
RetainLogEntity
findBefore
(
RetainLogEntity
entity
,
PageInfo
pageInfo
,
Context
context
)
throws
AppException
{
...
@@ -101,13 +102,13 @@ public class RetainLogServiceImpl extends AbstractCRUDServiceImpl<RetainLogDao,
...
@@ -101,13 +102,13 @@ public class RetainLogServiceImpl extends AbstractCRUDServiceImpl<RetainLogDao,
@Override
@Override
protected
void
updateAfter
(
RetainLogEntity
entity
,
Context
context
)
throws
AppException
{
protected
void
updateAfter
(
RetainLogEntity
entity
,
Context
context
)
throws
AppException
{
if
(
entity
.
getCertificateStatus
()==
CertificateStatus
.
CANCEL
.
getValue
()){
if
(
entity
.
getCertificateStatus
()==
CertificateStatus
.
CANCEL
.
getValue
()){
ApplyLogEntity
applyLogEntity
=
applyLog
Service
.
get
(
entity
.
getApplyId
());
ApplyLogEntity
applyLogEntity
=
applyLog
Dao
.
get
(
entity
.
getApplyId
());
if
(
applyLogEntity
!=
null
){
if
(
applyLogEntity
!=
null
){
ApplyLogEntity
update
=
new
ApplyLogEntity
();
ApplyLogEntity
update
=
new
ApplyLogEntity
();
update
.
setId
(
applyLogEntity
.
getId
());
update
.
setId
(
applyLogEntity
.
getId
());
update
.
setSocialCode
(
applyLogEntity
.
getSocialCode
()+
"_zx"
);
update
.
setSocialCode
(
applyLogEntity
.
getSocialCode
()+
"_zx"
);
update
.
setUpdateTime
(
new
Date
());
update
.
setUpdateTime
(
new
Date
());
applyLog
Service
.
update
(
update
);
applyLog
Dao
.
update
(
update
);
}
}
}
}
}
}
...
...
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