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
8b92a9da
authored
2025-02-17 14:58:49 +0800
by
肖初晴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【DAOP-1.0】数据需求
【功能点】测试问题处理
1 parent
641ae174
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
18 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/DemandServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/ServicerMaintainServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/DemandServiceImpl.java
View file @
8b92a9d
...
...
@@ -185,13 +185,15 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
// 发起审批流程或保存草稿
AddApprovalDTO
approvalDTO
=
getAddApprovalDTO
(
entity
);
super
.
restartWorkFlow
(
rqVO
,
oldEntity
.
getBizApproveState
(),
approvalDTO
,
this
::
saveDemand
,
entity:
:
setBizApproveState
);
// 修改业务数据
boolean
flag
=
mfDemandService
.
updateById
(
entity
);
if
(!
flag
)
{
throw
new
CsbrSystemException
(
SystemError
.
DATA_UPDATE_ERROR
,
rqVO
.
getImmediateApprove
()
?
messageSourceUtil
.
submitMessage
(
FUNCTION_NAME
)
:
messageSourceUtil
.
updateMessage
(
FUNCTION_NAME
));
if
(!
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
));
}
afterUpdate
(
entity
,
rqVO
);
}
afterUpdate
(
entity
,
rqVO
);
}
/**
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
View file @
8b92a9d
...
...
@@ -324,13 +324,15 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
// 发起审批流程或保存草稿
AddApprovalDTO
approvalDTO
=
getAddApprovalDTO
(
entity
);
super
.
restartWorkFlow
(
rqVO
,
oldEntity
.
getBizApproveState
(),
approvalDTO
,
this
::
saveEnterprise
,
entity:
:
setBizApproveState
);
// 修改业务数据
boolean
flag
=
mfEnterpriseService
.
updateById
(
entity
);
if
(!
flag
)
{
throw
new
CsbrSystemException
(
SystemError
.
DATA_UPDATE_ERROR
,
rqVO
.
getImmediateApprove
()
?
messageSourceUtil
.
submitMessage
(
FUNCTION_NAME
)
:
messageSourceUtil
.
updateMessage
(
FUNCTION_NAME
));
if
(!
rqVO
.
getIsRestart
()){
// 修改业务数据
boolean
flag
=
mfEnterpriseService
.
updateById
(
entity
);
if
(!
flag
)
{
throw
new
CsbrSystemException
(
SystemError
.
DATA_UPDATE_ERROR
,
rqVO
.
getImmediateApprove
()
?
messageSourceUtil
.
submitMessage
(
FUNCTION_NAME
)
:
messageSourceUtil
.
updateMessage
(
FUNCTION_NAME
));
}
afterUpdate
(
entity
,
rqVO
);
}
afterUpdate
(
entity
,
rqVO
);
}
/**
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/ServicerMaintainServiceImpl.java
View file @
8b92a9d
...
...
@@ -177,13 +177,15 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser
// 发起审批流程或保存草稿
AddApprovalDTO
approvalDTO
=
getAddApprovalDTO
(
entity
);
super
.
restartWorkFlow
(
rqVO
,
oldEntity
.
getBizApproveState
(),
approvalDTO
,
this
::
saveServicerMaintain
,
entity:
:
setBizApproveState
);
// 修改业务数据
boolean
flag
=
mfServicerMaintainService
.
updateById
(
entity
);
if
(!
flag
)
{
throw
new
CsbrSystemException
(
SystemError
.
DATA_UPDATE_ERROR
,
rqVO
.
getImmediateApprove
()
?
messageSourceUtil
.
submitMessage
(
FUNCTION_NAME
)
:
messageSourceUtil
.
updateMessage
(
FUNCTION_NAME
));
if
(!
rqVO
.
getIsRestart
()){
// 修改业务数据
boolean
flag
=
mfServicerMaintainService
.
updateById
(
entity
);
if
(!
flag
)
{
throw
new
CsbrSystemException
(
SystemError
.
DATA_UPDATE_ERROR
,
rqVO
.
getImmediateApprove
()
?
messageSourceUtil
.
submitMessage
(
FUNCTION_NAME
)
:
messageSourceUtil
.
updateMessage
(
FUNCTION_NAME
));
}
afterUpdate
(
entity
,
rqVO
);
}
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