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
b3c1b84b
authored
2025-03-06 18:45:53 +0800
by
肖初晴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【DAOP-1.0】企业认证
【功能点】测试问题处理
1 parent
1c24a3f8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 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 @
b3c1b84
...
...
@@ -201,6 +201,9 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
// MfDemand oldEntity = mfDemandService.getById(rqVO.getGuid());
beforeUpdate
(
rqVO
);
MfDemand
entity
=
convertToEntity
(
rqVO
);
if
(
rqVO
.
getIsRestart
())
{
entity
.
setGuid
(
CommonUtil
.
newGuid
());
}
// 发起审批流程或保存草稿
AddApprovalDTO
approvalDTO
=
getAddApprovalDTO
(
entity
,
rqVO
);
super
.
startOrRestartWorkFlow
(
rqVO
,
rqVO
.
getBizApproveState
(),
approvalDTO
,
entity:
:
setBizApproveState
);
...
...
@@ -228,8 +231,6 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
* @return void
*/
private
void
againSubmitFlow
(
MfDemand
entity
,
DemandRQVO
rqVO
,
AddApprovalDTO
approvalDTO
)
{
// 重新提交的数据重置相关字段
entity
.
setGuid
(
CommonUtil
.
newGuid
());
mfDemandService
.
csbrBaseEntity
(
entity
);
// 保存新数据
boolean
flag
=
mfDemandService
.
save
(
entity
);
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
View file @
b3c1b84
...
...
@@ -223,6 +223,9 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
// MfEnterprise oldEntity = mfEnterpriseService.getById(rqVO.getGuid());
beforeUpdate
(
rqVO
);
MfEnterprise
entity
=
convertToEntity
(
rqVO
);
if
(
rqVO
.
getIsRestart
())
{
entity
.
setGuid
(
CommonUtil
.
newGuid
());
}
// 发起审批流程或保存草稿
AddApprovalDTO
approvalDTO
=
getAddApprovalDTO
(
entity
,
rqVO
);
super
.
startOrRestartWorkFlow
(
rqVO
,
rqVO
.
getBizApproveState
(),
approvalDTO
,
entity:
:
setBizApproveState
);
...
...
@@ -250,8 +253,6 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
* @return void
*/
private
void
againSubmitFlow
(
MfEnterprise
entity
,
EnterpriseRQVO
rqVO
,
AddApprovalDTO
approvalDTO
)
{
// 重新提交的数据重置相关字段
entity
.
setGuid
(
CommonUtil
.
newGuid
());
mfEnterpriseService
.
csbrBaseEntity
(
entity
);
// 保存新数据
boolean
flag
=
mfEnterpriseService
.
save
(
entity
);
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/ServicerMaintainServiceImpl.java
View file @
b3c1b84
...
...
@@ -164,6 +164,9 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser
MfServicerMaintain
oldEntity
=
mfServicerMaintainService
.
getById
(
rqVO
.
getGuid
());
beforeUpdate
(
rqVO
);
MfServicerMaintain
entity
=
convertToEntity
(
rqVO
);
if
(
rqVO
.
getIsRestart
())
{
entity
.
setGuid
(
CommonUtil
.
newGuid
());
}
if
(
"Y"
.
equals
(
rqVO
.
getBizApproveState
())){
// 修改业务数据
boolean
flag
=
mfServicerMaintainService
.
updateById
(
entity
);
...
...
@@ -202,8 +205,6 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser
* @return void
*/
private
void
againSubmitFlow
(
MfServicerMaintain
entity
,
ServicerMaintainRQVO
rqVO
,
AddApprovalDTO
approvalDTO
)
{
// 重新提交的数据重置相关字段
entity
.
setGuid
(
CommonUtil
.
newGuid
());
mfServicerMaintainService
.
csbrBaseEntity
(
entity
);
// 保存新数据
boolean
flag
=
mfServicerMaintainService
.
save
(
entity
);
...
...
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