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
662a5ff2
authored
2025-02-28 16:03:01 +0800
by
肖初晴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【DAOP-1.0】企业认证
【功能点】测试问题处理
1 parent
b9c0799e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
26 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
View file @
662a5ff
...
...
@@ -165,32 +165,6 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
return
convertToVO
(
list
.
get
(
0
));
}
public
static
void
test
(){
List
<
ChangeApproveBean
>
beanList
=
new
ArrayList
<>();
ChangeApproveBean
bean
=
new
ChangeApproveBean
();
MfEnterprise
oldBean
=
new
MfEnterprise
();
oldBean
.
setBankTaxNo
(
"999"
);
oldBean
.
setTenantName
(
"武汉小米"
);
oldBean
.
setCreateTime
(
new
Date
());
MfEnterprise
newBean
=
new
MfEnterprise
();
newBean
.
setBankTaxNo
(
"666"
);
newBean
.
setTenantName
(
"武汉大米"
);
newBean
.
setCreateTime
(
new
Date
());
bean
.
oldBean
=
oldBean
;
bean
.
newBean
=
newBean
;
beanList
.
add
(
bean
);
List
<
ChangeInfoVO
>
list
=
new
ArrayList
<>();
try
{
list
=
ChangeInfoUtil
.
getChangeList
(
beanList
);
}
catch
(
IllegalAccessException
e
)
{
e
.
printStackTrace
();
}
log
.
info
(
"变更内容:{}"
,
JSON
.
toJSONString
(
list
));
}
/** 准备变更对比实体 */
private
List
<
ChangeApproveBean
>
getChangeBeanList
(
List
<
MfEnterpriseChangeApprove
>
list
){
List
<
ChangeApproveBean
>
beanList
=
new
ArrayList
<>();
...
...
@@ -673,6 +647,9 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
EnterpriseRSVO
vo
=
csbrBeanUtil
.
convert
(
entity
,
EnterpriseRSVO
.
class
);
//流程数据处理
vo
.
setApproveVO
(
approvalFlowUtil
.
getApprovalCrossTenantInfo
(
entity
.
getGuid
()));
if
(
CollectionUtils
.
isEmpty
(
ChangeInfoUtil
.
areaList
)){
ChangeInfoUtil
.
areaList
=
configureFeign
.
getBoroughCodeName
().
getData
();
}
vo
.
setVenue
(
ChangeInfoUtil
.
getVenue
(
vo
.
getProvince
(),
vo
.
getCity
(),
vo
.
getDistrict
()));
vo
.
setBusinessLicenseStartEnd
(
ChangeInfoUtil
.
getStartEnd
(
vo
.
getBusinessLicenseTerm
(),
vo
.
getBusinessLicenseStartDate
(),
vo
.
getBusinessLicenseEndDate
()));
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