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
d6b45175
authored
2025-04-16 10:17:19 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
1、下架主平台数据
1 parent
4ee13b49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/DemandServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/util/ZQConfig.java
src/main/java/com/csbr/qingcloud/portal/service/impl/DemandServiceImpl.java
View file @
d6b4517
...
...
@@ -470,10 +470,26 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
@Override
public
Boolean
updateGroundingPick
(
DemandRQVO
vo
)
{
MfDemand
mfDemand
=
mfDemandService
.
getById
(
vo
.
getGuid
());
if
(
ObjectUtils
.
isEmpty
(
mfDemand
))
{
return
Boolean
.
FALSE
;
}
LambdaUpdateWrapper
<
MfDemand
>
updateWrapper
=
Wrappers
.
lambdaUpdate
();
updateWrapper
.
eq
(
MfDemand:
:
getGuid
,
vo
.
getGuid
())
.
set
(
MfDemand:
:
getListingStatus
,
vo
.
getListingStatus
());
return
mfDemandService
.
update
(
updateWrapper
);
mfDemandService
.
update
(
updateWrapper
);
// 下架主平台数据
if
(!
zqConfig
.
getIsMain
()
&&
StringUtils
.
isNotEmpty
(
mfDemand
.
getCrossPlatformApproveState
()))
{
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"zqSystemCode"
,
SysFuncCode
);
jsonObject
.
put
(
"guid"
,
vo
.
getGuid
());
jsonObject
.
put
(
"listingStatus"
,
vo
.
getListingStatus
());
invokeUtil
.
invokeMainDel
(
jsonObject
,
zqConfig
.
getAppKey
(),
zqConfig
.
getGroundingPickUrl
());
}
return
Boolean
.
TRUE
;
}
/**
...
...
src/main/java/com/csbr/qingcloud/portal/util/ZQConfig.java
View file @
d6b4517
...
...
@@ -21,6 +21,8 @@ public class ZQConfig {
private
String
zqDelUrl
=
""
;
private
String
groundingPickUrl
=
""
;
private
Boolean
isMain
=
false
;
}
\ No newline at end of file
...
...
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