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
4d6c29bb
Commit
4d6c29bb
authored
Aug 01, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
证件持有增加字段
parent
85e89a77
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2929 additions
and
1937 deletions
+2929
-1937
one-certificate-manager/doc/一业一证表结构.docx
one-certificate-manager/doc/一业一证表结构.docx
+0
-0
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/model/RetainLogEntity.java
.../com/mortals/xhx/module/record/model/RetainLogEntity.java
+111
-70
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/model/RetainLogQuery.java
...a/com/mortals/xhx/module/record/model/RetainLogQuery.java
+1440
-854
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/PrintWaitQueueServiceImpl.java
...module/record/service/impl/PrintWaitQueueServiceImpl.java
+10
-3
one-certificate-manager/src/main/resources/sqlmap/module/record/RetainLogMapper.xml
...c/main/resources/sqlmap/module/record/RetainLogMapper.xml
+1368
-1010
No files found.
one-certificate-manager/doc/一业一证表结构.docx
View file @
4d6c29bb
No preview for this file type
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/model/RetainLogEntity.java
View file @
4d6c29bb
package
com.mortals.xhx.module.record.model
;
package
com.mortals.xhx.module.record.model
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
...
@@ -10,11 +11,11 @@ import com.mortals.framework.model.BaseEntityLong;
...
@@ -10,11 +11,11 @@ import com.mortals.framework.model.BaseEntityLong;
import
com.mortals.xhx.module.record.model.vo.RetainLogVo
;
import
com.mortals.xhx.module.record.model.vo.RetainLogVo
;
import
lombok.Data
;
import
lombok.Data
;
/**
/**
* 证照持有实体对象
* 证照持有实体对象
*
*
* @author zxfei
* @author zxfei
* @date 2024-07-28
* @date 2024-08-01
*/
*/
@Data
@Data
public
class
RetainLogEntity
extends
RetainLogVo
{
public
class
RetainLogEntity
extends
RetainLogVo
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
@@ -103,6 +104,38 @@ public class RetainLogEntity extends RetainLogVo {
...
@@ -103,6 +104,38 @@ public class RetainLogEntity extends RetainLogVo {
* 制证机关
* 制证机关
*/
*/
private
String
authority
;
private
String
authority
;
/**
* 颁发时间
*/
private
Date
issueTime
;
/**
* 附件名称
*/
private
String
annexName
;
/**
* 附件地址
*/
private
String
annexUrl
;
/**
* 有效期起始
*/
private
Date
validityStart
;
/**
* 有效期截止
*/
private
Date
validityEnd
;
/**
* 持有者类型,1:自然人,2:法人,3:自然人法人
*/
private
Integer
holderType
;
/**
* 持有者证件类型,1:身份证,2:组织机构代码等
*/
private
Integer
holderIdType
;
/**
* 专网ID
*/
private
String
privateID
;
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
return
this
.
getId
().
hashCode
();
...
@@ -141,5 +174,13 @@ public class RetainLogEntity extends RetainLogVo {
...
@@ -141,5 +174,13 @@ public class RetainLogEntity extends RetainLogVo {
this
.
businessPlace
=
""
;
this
.
businessPlace
=
""
;
this
.
licenseProject
=
""
;
this
.
licenseProject
=
""
;
this
.
authority
=
""
;
this
.
authority
=
""
;
this
.
issueTime
=
null
;
this
.
annexName
=
""
;
this
.
annexUrl
=
""
;
this
.
validityStart
=
null
;
this
.
validityEnd
=
null
;
this
.
holderType
=
1
;
this
.
holderIdType
=
1
;
this
.
privateID
=
""
;
}
}
}
}
\ No newline at end of file
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/model/RetainLogQuery.java
View file @
4d6c29bb
This diff is collapsed.
Click to expand it.
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/PrintWaitQueueServiceImpl.java
View file @
4d6c29bb
...
@@ -19,6 +19,7 @@ import com.mortals.xhx.module.record.dao.PrintLogDao;
...
@@ -19,6 +19,7 @@ import com.mortals.xhx.module.record.dao.PrintLogDao;
import
com.mortals.xhx.module.record.dao.PrintWaitQueueDao
;
import
com.mortals.xhx.module.record.dao.PrintWaitQueueDao
;
import
com.mortals.xhx.module.record.dao.RetainLogDao
;
import
com.mortals.xhx.module.record.dao.RetainLogDao
;
import
com.mortals.xhx.module.record.model.*
;
import
com.mortals.xhx.module.record.model.*
;
import
com.mortals.xhx.module.record.service.ApplyLogService
;
import
com.mortals.xhx.module.record.service.PrintWaitQueueService
;
import
com.mortals.xhx.module.record.service.PrintWaitQueueService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -58,6 +59,8 @@ public class PrintWaitQueueServiceImpl extends AbstractCRUDServiceImpl<PrintWait
...
@@ -58,6 +59,8 @@ public class PrintWaitQueueServiceImpl extends AbstractCRUDServiceImpl<PrintWait
private
CertificateClassifyService
certificateClassifyService
;
private
CertificateClassifyService
certificateClassifyService
;
@Autowired
@Autowired
private
ParamService
paramService
;
private
ParamService
paramService
;
@Autowired
private
ApplyLogService
applyLogService
;
@Override
@Override
protected
void
findAfter
(
PrintWaitQueueEntity
entity
,
Context
context
,
List
<
PrintWaitQueueEntity
>
list
)
throws
AppException
{
protected
void
findAfter
(
PrintWaitQueueEntity
entity
,
Context
context
,
List
<
PrintWaitQueueEntity
>
list
)
throws
AppException
{
...
@@ -154,8 +157,9 @@ public class PrintWaitQueueServiceImpl extends AbstractCRUDServiceImpl<PrintWait
...
@@ -154,8 +157,9 @@ public class PrintWaitQueueServiceImpl extends AbstractCRUDServiceImpl<PrintWait
private
void
doPrintSuccess
(
PrintWaitQueueEntity
waitQueueEntity
){
private
void
doPrintSuccess
(
PrintWaitQueueEntity
waitQueueEntity
){
RetainLogEntity
retainLogEntity
=
new
RetainLogEntity
();
RetainLogEntity
retainLogEntity
=
new
RetainLogEntity
();
ApplyLogEntity
applyLogEntity
=
applyLogService
.
get
(
waitQueueEntity
.
getApplyId
());
Date
now
=
new
Date
();
Date
now
=
new
Date
();
BeanUtils
.
copyProperties
(
waitQueueEntity
,
retainLogEntity
,
BeanUtil
.
getNullPropertyNames
(
waitQueue
Entity
));
BeanUtils
.
copyProperties
(
applyLogEntity
,
retainLogEntity
,
BeanUtil
.
getNullPropertyNames
(
applyLog
Entity
));
retainLogEntity
.
setId
(
null
);
retainLogEntity
.
setId
(
null
);
retainLogEntity
.
setUpdateUserId
(
null
);
retainLogEntity
.
setUpdateUserId
(
null
);
retainLogEntity
.
setUpdateTime
(
null
);
retainLogEntity
.
setUpdateTime
(
null
);
...
@@ -183,7 +187,10 @@ public class PrintWaitQueueServiceImpl extends AbstractCRUDServiceImpl<PrintWait
...
@@ -183,7 +187,10 @@ public class PrintWaitQueueServiceImpl extends AbstractCRUDServiceImpl<PrintWait
query
.
setTotalIncrement
(
1
);
query
.
setTotalIncrement
(
1
);
query
.
setUpdateTime
(
now
);
query
.
setUpdateTime
(
now
);
certificateClassifyService
.
update
(
query
);
certificateClassifyService
.
update
(
query
);
ApplyLogEntity
updateApply
=
new
ApplyLogEntity
();
updateApply
.
setId
(
applyLogEntity
.
getId
());
updateApply
.
setRecordStatus
(
YesNoEnum
.
YES
.
getValue
());
updateApply
.
setUpdateTime
(
new
Date
());
applyLogService
.
update
(
updateApply
);
}
}
}
}
\ No newline at end of file
one-certificate-manager/src/main/resources/sqlmap/module/record/RetainLogMapper.xml
View file @
4d6c29bb
This diff is collapsed.
Click to expand it.
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