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
5dcb3de0
authored
2025-03-17 09:43:54 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
1、加工单加工明细新增、修改参数
1 parent
769aa978
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
View file @
5dcb3de
...
...
@@ -143,6 +143,12 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
mfEnterpriseMap
=
mfEnterprises
.
stream
().
collect
(
Collectors
.
toMap
(
MfEnterprise:
:
getGuid
,
Function
.
identity
()));
}
// 根据业务guid查询认证变更表数据
List
<
MfEnterpriseChangeApprove
>
mfEnterpriseChangeApproves
=
mfEnterpriseChangeApproveService
.
listByIds
(
guids
);
if
(
ObjectUtils
.
isNotEmpty
(
mfEnterpriseChangeApproves
))
{
Map
<
String
,
MfEnterpriseChangeApprove
>
mfEnterpriseChangeApproveMap
=
mfEnterpriseChangeApproves
.
stream
().
collect
(
Collectors
.
toMap
(
MfEnterpriseChangeApprove:
:
getGuid
,
Function
.
identity
()));
}
// 数据转换
List
<
EnterpriseApproveRSVO
>
results
=
new
ArrayList
<>();
for
(
ApproveVO
approveVO
:
approveVOList
)
{
...
...
@@ -542,7 +548,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
// 判断业务数据是否有通过
Optional
<
MfEnterprise
>
enterpriseOptional
=
mfEnterprises
.
stream
().
filter
(
item
->
ApprovalStateEnum
.
PASSED
.
getValue
().
equals
(
item
.
getBizApproveState
())
||
"B"
.
equals
(
item
.
getBizApproveState
())).
findFirst
();
ApprovalStateEnum
.
PASSED
.
getValue
().
equals
(
item
.
getBizApproveState
())
||
"B"
.
equals
(
item
.
getBizApproveState
())
||
ApprovalStateEnum
.
CHECKING
.
getValue
().
equals
(
item
.
getBizApproveState
())
).
findFirst
();
if
(
enterpriseOptional
.
isEmpty
())
{
return
null
;
}
...
...
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