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
f08c9624
Commit
f08c9624
authored
Aug 23, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/first' into first
parents
5927f17e
a626897f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
0 deletions
+43
-0
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/model/vo/ApplyLogVo.java
...va/com/mortals/xhx/module/record/model/vo/ApplyLogVo.java
+10
-0
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/model/vo/RetainLogVo.java
...a/com/mortals/xhx/module/record/model/vo/RetainLogVo.java
+11
-0
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/PrintWaitQueueServiceImpl.java
...module/record/service/impl/PrintWaitQueueServiceImpl.java
+2
-0
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/RetainLogServiceImpl.java
.../xhx/module/record/service/impl/RetainLogServiceImpl.java
+20
-0
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/model/vo/ApplyLogVo.java
View file @
f08c9624
...
@@ -40,4 +40,14 @@ public class ApplyLogVo extends BaseEntityLong {
...
@@ -40,4 +40,14 @@ public class ApplyLogVo extends BaseEntityLong {
private
List
<
Long
>
catalogIdList
;
private
List
<
Long
>
catalogIdList
;
/** 开始 创建时间 */
private
String
createTimeStart
;
/** 结束 创建时间 */
private
String
createTimeEnd
;
/** 开始 颁发时间 */
private
String
issueTimeStart
;
/** 结束 颁发时间 */
private
String
issueTimeEnd
;
}
}
\ No newline at end of file
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/model/vo/RetainLogVo.java
View file @
f08c9624
...
@@ -19,4 +19,15 @@ public class RetainLogVo extends BaseEntityLong {
...
@@ -19,4 +19,15 @@ public class RetainLogVo extends BaseEntityLong {
private
String
query
;
private
String
query
;
/** 子证联报状态 已联报数/子证总数 */
/** 子证联报状态 已联报数/子证总数 */
private
String
processStatus
;
private
String
processStatus
;
/** 开始 创建时间 */
private
String
createTimeStart
;
/** 结束 创建时间 */
private
String
createTimeEnd
;
/** 开始 颁发时间 */
private
String
issueTimeStart
;
/** 结束 颁发时间 */
private
String
issueTimeEnd
;
}
}
\ No newline at end of file
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/PrintWaitQueueServiceImpl.java
View file @
f08c9624
...
@@ -183,7 +183,9 @@ public class PrintWaitQueueServiceImpl extends AbstractCRUDServiceImpl<PrintWait
...
@@ -183,7 +183,9 @@ public class PrintWaitQueueServiceImpl extends AbstractCRUDServiceImpl<PrintWait
retainLogDao
.
update
(
updateRetainLog
);
retainLogDao
.
update
(
updateRetainLog
);
}
else
{
}
else
{
RetainLogEntity
retainLogEntity
=
new
RetainLogEntity
();
RetainLogEntity
retainLogEntity
=
new
RetainLogEntity
();
retainLogEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
applyLogEntity
,
retainLogEntity
,
BeanUtil
.
getNullPropertyNames
(
applyLogEntity
));
BeanUtils
.
copyProperties
(
applyLogEntity
,
retainLogEntity
,
BeanUtil
.
getNullPropertyNames
(
applyLogEntity
));
retainLogEntity
.
setApplyId
(
applyLogEntity
.
getId
());
retainLogEntity
.
setId
(
null
);
retainLogEntity
.
setId
(
null
);
retainLogEntity
.
setUpdateUserId
(
null
);
retainLogEntity
.
setUpdateUserId
(
null
);
retainLogEntity
.
setUpdateTime
(
null
);
retainLogEntity
.
setUpdateTime
(
null
);
...
...
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/RetainLogServiceImpl.java
View file @
f08c9624
...
@@ -4,6 +4,7 @@ import com.mortals.framework.exception.AppException;
...
@@ -4,6 +4,7 @@ import com.mortals.framework.exception.AppException;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.model.PageInfo
;
import
com.mortals.framework.model.PageInfo
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.xhx.common.code.CertificateStatus
;
import
com.mortals.xhx.common.code.ProcessStatusEnum
;
import
com.mortals.xhx.common.code.ProcessStatusEnum
;
import
com.mortals.xhx.common.code.StatusEnum
;
import
com.mortals.xhx.common.code.StatusEnum
;
import
com.mortals.xhx.common.utils.StringUtils
;
import
com.mortals.xhx.common.utils.StringUtils
;
...
@@ -12,10 +13,12 @@ import com.mortals.xhx.module.certificate.model.vo.CertificateDocumentPdu;
...
@@ -12,10 +13,12 @@ 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
;
import
com.mortals.xhx.module.record.model.RetainLogQuery
;
import
com.mortals.xhx.module.record.model.RetainLogQuery
;
import
com.mortals.xhx.module.record.service.ApplyLogService
;
import
com.mortals.xhx.module.record.service.RetainLogService
;
import
com.mortals.xhx.module.record.service.RetainLogService
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
...
@@ -23,6 +26,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -23,6 +26,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
/**
/**
...
@@ -37,6 +41,8 @@ public class RetainLogServiceImpl extends AbstractCRUDServiceImpl<RetainLogDao,
...
@@ -37,6 +41,8 @@ public class RetainLogServiceImpl extends AbstractCRUDServiceImpl<RetainLogDao,
@Autowired
@Autowired
private
ChildLicenseService
childLicenseService
;
private
ChildLicenseService
childLicenseService
;
@Autowired
private
ApplyLogDao
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
{
...
@@ -92,4 +98,18 @@ public class RetainLogServiceImpl extends AbstractCRUDServiceImpl<RetainLogDao,
...
@@ -92,4 +98,18 @@ public class RetainLogServiceImpl extends AbstractCRUDServiceImpl<RetainLogDao,
}
}
}
}
}
}
@Override
protected
void
updateAfter
(
RetainLogEntity
entity
,
Context
context
)
throws
AppException
{
if
(
entity
.
getCertificateStatus
()==
CertificateStatus
.
CANCEL
.
getValue
()){
ApplyLogEntity
applyLogEntity
=
applyLogDao
.
get
(
entity
.
getApplyId
());
if
(
applyLogEntity
!=
null
){
ApplyLogEntity
update
=
new
ApplyLogEntity
();
update
.
setId
(
applyLogEntity
.
getId
());
update
.
setSocialCode
(
applyLogEntity
.
getSocialCode
()+
"_zx"
);
update
.
setUpdateTime
(
new
Date
());
applyLogDao
.
update
(
update
);
}
}
}
}
}
\ 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