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
3ad816a9
authored
2025-03-19 14:32:38 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
1、根据证照类型删除
1 parent
00c40e4a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/DemandServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/DemandServiceImpl.java
View file @
3ad816a
...
...
@@ -138,7 +138,17 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
if
(
entity
==
null
)
{
throw
new
CsbrSystemException
(
SystemError
.
DATA_NOT_EXISTS
,
messageSourceUtil
.
notExistsToSelectMessage
(
String
.
format
(
"获取%s详情数据"
,
FUNCTION_NAME
)));
}
return
convertToVO
(
entity
,
getStateMap
(
Collections
.
singletonList
(
StringUtils
.
isNotEmpty
(
entity
.
getDataProductGuid
())
?
entity
.
getDataProductGuid
()
:
guid
)));
DemandRSVO
demandRSVO
=
convertToVO
(
entity
,
getStateMap
(
Collections
.
singletonList
(
guid
)));
// 补充业务产品名称
String
bizGuid
=
StringUtils
.
isNotEmpty
(
entity
.
getDataProductGuid
())
?
entity
.
getDataProductGuid
()
:
guid
;
Map
<
String
,
DemandUpdateStateVO
>
data
=
dataProcessBasicFeign
.
getOrderStateAndBizName
(
Collections
.
singletonList
(
bizGuid
)).
getData
();
if
(
ObjectUtils
.
isNotEmpty
(
data
))
{
DemandUpdateStateVO
demandUpdateStateVO
=
data
.
get
(
bizGuid
);
demandRSVO
.
setBizName
(
demandUpdateStateVO
.
getBizName
());
}
return
demandRSVO
;
}
private
Map
<
String
,
DemandUpdateStateVO
>
getStateMap
(
List
<
String
>
guids
){
...
...
@@ -150,7 +160,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
return
null
;
}
try
{
Map
<
String
,
DemandUpdateStateVO
>
map
=
dataProcessBasicFeign
.
getOrderState
AndBizName
(
guids
).
getData
();
Map
<
String
,
DemandUpdateStateVO
>
map
=
dataProcessBasicFeign
.
getOrderState
(
guids
).
getData
();
return
map
;
}
catch
(
Exception
e
){
e
.
printStackTrace
();
...
...
@@ -690,7 +700,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
//流程数据处理
vo
.
setApproveVO
(
approvalFlowUtil
.
getApprovalInfo
(
entity
.
getGuid
()));
if
(
map
!=
null
){
DemandUpdateStateVO
voState
=
map
.
get
(
StringUtils
.
isNotEmpty
(
entity
.
getDataProductGuid
())
?
entity
.
getDataProductGuid
()
:
entity
.
getGuid
());
DemandUpdateStateVO
voState
=
map
.
get
(
entity
.
getGuid
());
if
(
voState
!=
null
){
vo
.
setResourceAcquisitionState
(
voState
.
getResourceAcquisitionState
());
vo
.
setProductProcessingState
(
voState
.
getProductProcessingState
());
...
...
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