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
5accba1e
Commit
5accba1e
authored
Jul 28, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
证照申请保存二维码
parent
cc61569b
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
158 additions
and
41 deletions
+158
-41
one-certificate-manager/src/main/java/com/mortals/xhx/common/utils/ReadExcelPictureUtil.java
...va/com/mortals/xhx/common/utils/ReadExcelPictureUtil.java
+2
-2
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/service/impl/CertificateCatalogServiceImpl.java
...rtificate/service/impl/CertificateCatalogServiceImpl.java
+141
-39
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/service/impl/ChildLicenseServiceImpl.java
...hx/module/child/service/impl/ChildLicenseServiceImpl.java
+1
-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
+2
-0
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
...s/xhx/module/record/service/impl/ApplyLogServiceImpl.java
+12
-0
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/common/utils/ReadExcelPictureUtil.java
View file @
5accba1e
...
...
@@ -59,7 +59,7 @@ public class ReadExcelPictureUtil {
File
picDirF
=
null
;
String
imageName
=
new
Date
().
getTime
()
+
".png"
;
String
imagePath
=
"/file/
uploadfile
/"
+
imageName
;
String
imagePath
=
"/file/
fileupload
/"
+
imageName
;
String
filePath
=
root
+
imagePath
;
FileOutputStream
fout
;
...
...
@@ -101,7 +101,7 @@ public class ReadExcelPictureUtil {
String
point
=
hSSFClientAnchor
.
getRow1
()
+
","
+
hSSFClientAnchor
.
getCol1
();
String
imageName
=
new
Date
().
getTime
()
+
".png"
;
String
imagePath
=
"/file/
uploadfile
/"
+
imageName
;
String
imagePath
=
"/file/
fileupload
/"
+
imageName
;
String
filePath
=
"D:/mortals/app/data/cpm"
+
imagePath
;
FileOutputStream
fout
;
...
...
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/service/impl/CertificateCatalogServiceImpl.java
View file @
5accba1e
This diff is collapsed.
Click to expand it.
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/service/impl/ChildLicenseServiceImpl.java
View file @
5accba1e
...
...
@@ -70,6 +70,7 @@ public class ChildLicenseServiceImpl extends AbstractCRUDServiceImpl<ChildLicens
entity
.
setBusinessPlace
(
applyLogEntity
.
getBusinessPlace
());
entity
.
setLicensedItems
(
applyLogEntity
.
getLicenseProject
());
entity
.
setFormStyleContent
(
item
.
getTemplateContent
());
entity
.
setFormContent
(
item
.
getFormContent
());
entity
.
setProcessStatus
(
ProcessStatusEnum
.
未处理
.
getValue
());
entity
.
setCreateTime
(
applyLogEntity
.
getCreateTime
());
entity
.
setCreateUserId
(
applyLogEntity
.
getCreateUserId
());
...
...
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/model/vo/ApplyLogVo.java
View file @
5accba1e
...
...
@@ -25,4 +25,6 @@ public class ApplyLogVo extends BaseEntityLong {
/** 子证信息 */
List
<
ChildLicenseEntity
>
childLicense
;
private
String
processStatus
;
}
\ No newline at end of file
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
View file @
5accba1e
...
...
@@ -128,6 +128,18 @@ 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
()));
Map
<
Integer
,
List
<
ChildLicenseEntity
>>
group
=
childLicenseList
.
stream
().
collect
(
Collectors
.
groupingBy
(
x
->
x
.
getProcessStatus
()));
int
pCount
=
group
.
get
(
1
).
size
();
entity
.
setProcessStatus
(
pCount
+
"/"
+
childLicenseList
.
size
());
}
}
}
@Override
protected
void
validData
(
ApplyLogEntity
entity
,
Context
context
)
throws
AppException
{
if
(
StringUtils
.
isEmpty
(
entity
.
getCertificateCode
())){
...
...
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