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
e7fbf13b
Commit
e7fbf13b
authored
Jul 29, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
c7893bcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
...s/xhx/module/record/service/impl/ApplyLogServiceImpl.java
+17
-1
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
View file @
e7fbf13b
...
...
@@ -17,6 +17,7 @@ import com.deepoove.poi.util.RegexUtils;
import
com.fasterxml.jackson.core.JsonProcessingException
;
import
com.fasterxml.jackson.databind.ObjectMapper
;
import
com.mortals.framework.model.PageInfo
;
import
com.mortals.framework.util.DateUtils
;
import
com.mortals.xhx.base.system.upload.service.UploadService
;
import
com.mortals.xhx.base.system.user.model.UserEntity
;
import
com.mortals.xhx.base.system.user.service.UserService
;
...
...
@@ -67,7 +68,7 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
private
String
filePath
;
/** 应用公网地址 */
@Value
(
"${serviceUrl:http://8.136.255.30:11011/h5/#?socialCode=}"
)
@Value
(
"${serviceUrl:http://8
1
.136.255.30:11011/h5/#?socialCode=}"
)
private
String
serviceUrl
;
@Autowired
...
...
@@ -179,10 +180,25 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
super
.
validData
(
entity
,
context
);
}
private
void
createFormContent
(
ApplyLogEntity
applyLogEntity
){
JSONObject
formContentJson
=
new
JSONObject
();
formContentJson
.
put
(
"i_1_市场主体名称"
,
applyLogEntity
.
getEnterpriseName
());
formContentJson
.
put
(
"i_2_许可证编号"
,
applyLogEntity
.
getCertificateCode
());
formContentJson
.
put
(
"i_3_统一社会信用代码"
,
applyLogEntity
.
getSocialCode
());
formContentJson
.
put
(
" i_5_法定代表人(负责人)"
,
applyLogEntity
.
getLegalPerson
());
formContentJson
.
put
(
"i_8_经营场所"
,
applyLogEntity
.
getBusinessPlace
());
formContentJson
.
put
(
"i_9_行业类别"
,
applyLogEntity
.
getIndustryName
());
formContentJson
.
put
(
"i_10_许可项目"
,
applyLogEntity
.
getLicenseProject
());
formContentJson
.
put
(
"i_11_制证日期"
,
DateUtils
.
getStrDate
(
applyLogEntity
.
getIssueTime
()));
formContentJson
.
put
(
"i_14_制证机关"
,
applyLogEntity
.
getAuthority
());
applyLogEntity
.
setFormContent
(
formContentJson
.
toJSONString
());
}
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
ApplyLogEntity
save
(
ApplyLogEntity
applyLogEntity
,
Context
context
)
throws
AppException
{
validData
(
applyLogEntity
,
context
);
createFormContent
(
applyLogEntity
);
Long
oldId
=
null
;
boolean
is_record
=
false
;
CertificateCatalogEntity
catalog
=
certificateCatalogService
.
get
(
applyLogEntity
.
getCatalogId
());
...
...
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