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
6b431534
authored
2025-04-21 11:24:49 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
1、需求跨平台下架
1 parent
d6b45175
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 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 @
6b43153
...
...
@@ -243,17 +243,10 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
MfDemand
entity
=
convertToEntity
(
rqVO
);
// 发起审批流程或保存草稿
AddApprovalDTO
approvalDTO
=
getAddApprovalDTO
(
entity
,
rqVO
);
super
.
startOrRestartWorkFlow
(
rqVO
,
rqVO
.
getBizApproveState
(),
approvalDTO
,
entity:
:
setBizApproveState
);
if
(
rqVO
.
getIsRestart
())
{
// 重新提交
againSubmitFlow
(
entity
,
rqVO
,
approvalDTO
);
}
else
{
super
.
restartWorkFlow
(
rqVO
,
rqVO
.
getBizApproveState
(),
approvalDTO
,
this
::
saveDemand
,
entity:
:
setBizApproveState
);
if
(
Boolean
.
FALSE
.
equals
(
rqVO
.
getIsRestart
()))
{
// 修改业务数据
boolean
flag
=
mfDemandService
.
updateById
(
entity
);
if
(!
flag
)
{
throw
new
CsbrSystemException
(
SystemError
.
DATA_UPDATE_ERROR
,
rqVO
.
getImmediateApprove
()
?
messageSourceUtil
.
submitMessage
(
FUNCTION_NAME
)
:
messageSourceUtil
.
updateMessage
(
FUNCTION_NAME
));
}
mfDemandService
.
updateById
(
entity
);
afterUpdate
(
entity
,
rqVO
);
}
}
...
...
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