Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
certificate-print
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
廖旭伟
certificate-print
Commits
1a019490
Commit
1a019490
authored
May 29, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
500af89e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
certificate-manager/src/main/java/com/mortals/xhx/module/business/service/impl/BusinessLicenseServiceImpl.java
...ule/business/service/impl/BusinessLicenseServiceImpl.java
+1
-1
certificate-manager/src/main/java/com/mortals/xhx/module/mid/web/DataInterfaceController.java
...m/mortals/xhx/module/mid/web/DataInterfaceController.java
+1
-1
No files found.
certificate-manager/src/main/java/com/mortals/xhx/module/business/service/impl/BusinessLicenseServiceImpl.java
View file @
1a019490
...
@@ -71,7 +71,7 @@ public class BusinessLicenseServiceImpl extends AbstractCRUDServiceImpl<Business
...
@@ -71,7 +71,7 @@ public class BusinessLicenseServiceImpl extends AbstractCRUDServiceImpl<Business
if
(
StringUtils
.
isEmpty
(
businessLicenseEntity
.
getBusinessLicense
())){
if
(
StringUtils
.
isEmpty
(
businessLicenseEntity
.
getBusinessLicense
())){
throw
new
AppException
(
"执照编码businessLicense不能为空"
);
throw
new
AppException
(
"执照编码businessLicense不能为空"
);
}
}
List
<
ApplyLogEntity
>
applyLogEntities
=
applyLogService
.
find
(
new
ApplyLogQuery
().
certificateCode
(
businessLicenseEntity
.
getBusinessLicense
()));
List
<
ApplyLogEntity
>
applyLogEntities
=
applyLogService
.
find
(
new
ApplyLogQuery
().
certificateCode
(
businessLicenseEntity
.
getBusinessLicense
())
.
recordStatus
(
0
)
);
if
(
CollectionUtils
.
isNotEmpty
(
applyLogEntities
)){
if
(
CollectionUtils
.
isNotEmpty
(
applyLogEntities
)){
throw
new
AppException
(
"执照编码"
+
businessLicenseEntity
.
getBusinessLicense
()+
"已生成过文件,请勿重复生成"
);
throw
new
AppException
(
"执照编码"
+
businessLicenseEntity
.
getBusinessLicense
()+
"已生成过文件,请勿重复生成"
);
}
}
...
...
certificate-manager/src/main/java/com/mortals/xhx/module/mid/web/DataInterfaceController.java
View file @
1a019490
...
@@ -50,7 +50,7 @@ public class DataInterfaceController extends BaseJsonBodyController {
...
@@ -50,7 +50,7 @@ public class DataInterfaceController extends BaseJsonBodyController {
byte
code
=
1
;
byte
code
=
1
;
String
busiDesc
=
"调用微中台接口生成证照"
;
String
busiDesc
=
"调用微中台接口生成证照"
;
try
{
try
{
List
<
ApplyLogEntity
>
applyLogEntities
=
applyLogService
.
find
(
new
ApplyLogQuery
().
certificateCode
(
midCertificatePdu
.
getCertificateNumber
()));
List
<
ApplyLogEntity
>
applyLogEntities
=
applyLogService
.
find
(
new
ApplyLogQuery
().
certificateCode
(
midCertificatePdu
.
getCertificateNumber
())
.
recordStatus
(
0
)
);
if
(
CollectionUtils
.
isNotEmpty
(
applyLogEntities
)){
if
(
CollectionUtils
.
isNotEmpty
(
applyLogEntities
)){
throw
new
AppException
(
"系统已存在编号:"
+
midCertificatePdu
.
getCertificateNumber
()+
"的证照信息"
);
throw
new
AppException
(
"系统已存在编号:"
+
midCertificatePdu
.
getCertificateNumber
()+
"的证照信息"
);
}
}
...
...
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