Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
ms-data-circulation-portal-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c412d0e9
authored
2025-03-03 11:33:15 +0800
by
肖初晴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【DAOP-1.0】企业认证
【功能点】测试问题处理
1 parent
8a1fdd7a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseChangeApproveServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/util/ChangeInfoUtil.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseChangeApproveServiceImpl.java
View file @
c412d0e
...
...
@@ -67,6 +67,7 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
//保存新数据
EnterpriseRQVO
beanVO
=
JSON
.
parseObject
(
vo
.
getBizDataJson
(),
EnterpriseRQVO
.
class
);
String
tenantGuid
=
beanVO
.
getTenantGuid
();
MfEnterpriseChangeApprove
entity
=
csbrBeanUtil
.
convert
(
beanVO
,
MfEnterpriseChangeApprove
.
class
);
setEntity
(
entity
,
beanVO
,
vo
);
entity
.
setDataType
(
"2"
);
...
...
@@ -79,6 +80,7 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
setEntity
(
entity
,
beanVO
,
vo
);
entity
.
setDataType
(
"1"
);
entity
.
setGuid
(
CommonUtil
.
newGuid
());
entity
.
setTenantGuid
(
tenantGuid
);
mfEnterpriseChangeApproveService
.
save
(
entity
);
MfEnterprise
bean
=
mfEnterpriseService
.
getById
(
entity
.
getSourceGuid
());
...
...
src/main/java/com/csbr/qingcloud/portal/util/ChangeInfoUtil.java
View file @
c412d0e
...
...
@@ -56,8 +56,8 @@ public class ChangeInfoUtil {
vo
.
setNameEn
(
diffItem
.
getFieldName
());
vo
.
setName
(
diffItem
.
getFieldComment
());
vo
.
setDate
(
DateUtil
.
getDateToString
(
item
.
oldBean
.
getCreateTime
()));
vo
.
setBefore
(
diffItem
.
getOldValue
().
toString
());
vo
.
setAfter
(
diffItem
.
getNewValue
().
toString
());
vo
.
setBefore
(
diffItem
.
getOldValue
()
==
null
?
""
:
diffItem
.
getOldValue
()
.
toString
());
vo
.
setAfter
(
diffItem
.
getNewValue
()
==
null
?
""
:
diffItem
.
getNewValue
()
.
toString
());
vo
.
setGuid
(
CommonUtil
.
newGuid
());
return
vo
;
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment