Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
c18e0b0c
Commit
c18e0b0c
authored
Aug 27, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
72d60686
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
BasicGridAcceptanceServiceImpl.java
...hygf/biz/service/impl/BasicGridAcceptanceServiceImpl.java
+13
-4
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/BasicGridAcceptanceServiceImpl.java
View file @
c18e0b0c
...
@@ -514,9 +514,6 @@ public class BasicGridAcceptanceServiceImpl
...
@@ -514,9 +514,6 @@ public class BasicGridAcceptanceServiceImpl
if
(
hygfRectificationOrder
.
getRectificationStatus
().
equals
(
"待整改"
)){
if
(
hygfRectificationOrder
.
getRectificationStatus
().
equals
(
"待整改"
)){
up
.
set
(
BasicGridRecord:
:
getGridStatus
,
GridStatusEnum
.
DZG
.
getCode
());
up
.
set
(
BasicGridRecord:
:
getGridStatus
,
GridStatusEnum
.
DZG
.
getCode
());
}
}
// if (hygfRectificationOrder.getRectificationStatus().equals("待提交")){
// up.set(BasicGridRecord::getGridStatus,GridStatusEnum.ROLESDSH.getCode());
// }
}
}
this
.
wofkflowExcute
(
instanceId
,
approvalStatus
,
comment
);
this
.
wofkflowExcute
(
instanceId
,
approvalStatus
,
comment
);
break
;
break
;
...
@@ -651,7 +648,7 @@ public class BasicGridAcceptanceServiceImpl
...
@@ -651,7 +648,7 @@ public class BasicGridAcceptanceServiceImpl
return
CommonResponseNewUtil
.
failureMessage
(
"当前流程发生变化,暂时无法操作,请刷新再试"
);
return
CommonResponseNewUtil
.
failureMessage
(
"当前流程发生变化,暂时无法操作,请刷新再试"
);
}
}
String
addorSubmit
=
hygfRectificationOrder
.
getAddorSubmit
();
;
String
addorSubmit
=
hygfRectificationOrder
.
getAddorSubmit
();
LambdaUpdateWrapper
<
BasicGridRecord
>
qu
=
new
LambdaUpdateWrapper
();
LambdaUpdateWrapper
<
BasicGridRecord
>
qu
=
new
LambdaUpdateWrapper
();
qu
.
eq
(
BasicGridRecord:
:
getPeasantHouseholdId
,
hygfRectificationOrder
.
getPeasantHouseholeId
());
qu
.
eq
(
BasicGridRecord:
:
getPeasantHouseholdId
,
hygfRectificationOrder
.
getPeasantHouseholeId
());
if
(!
Objects
.
isNull
(
basicGridRecord
)
&&
null
!=
basicGridRecord
.
getRectificationStatus
()
&&
!
basicGridRecord
.
getRectificationStatus
().
contains
(
hygfRectificationOrder
.
getRectificationSource
())){
if
(!
Objects
.
isNull
(
basicGridRecord
)
&&
null
!=
basicGridRecord
.
getRectificationStatus
()
&&
!
basicGridRecord
.
getRectificationStatus
().
contains
(
hygfRectificationOrder
.
getRectificationSource
())){
...
@@ -664,6 +661,18 @@ public class BasicGridAcceptanceServiceImpl
...
@@ -664,6 +661,18 @@ public class BasicGridAcceptanceServiceImpl
//修改状态
//修改状态
if
(
addorSubmit
.
equals
(
"0"
)){
if
(
addorSubmit
.
equals
(
"0"
)){
qu
.
set
(
BasicGridRecord:
:
getGridStatus
,
GridStatusEnum
.
DZG
.
getCode
());
qu
.
set
(
BasicGridRecord:
:
getGridStatus
,
GridStatusEnum
.
DZG
.
getCode
());
//如果历史有未完成的整改单则片区审核完成的时候改变主流程状态为整改单的状态
LambdaQueryWrapper
<
HygfRectificationOrder
>
query
=
new
LambdaQueryWrapper
<>();
query
.
eq
(
HygfRectificationOrder:
:
getPeasantHouseholeId
,
basicGridRecord
.
getPeasantHouseholdId
());
query
.
in
(
HygfRectificationOrder:
:
getRectificationStatus
,
Arrays
.
asList
(
"待整改"
,
"待提交"
,
"待审核"
));
query
.
in
(
HygfRectificationOrder:
:
getRectificationSource
,
Arrays
.
asList
(
"bw-design"
,
"bw-engineering"
));
List
<
HygfRectificationOrder
>
hygfRectificationOrders
=
rectificationOrderService
.
getBaseMapper
().
selectList
(
query
);
for
(
HygfRectificationOrder
hygfRectificationOrderO
:
hygfRectificationOrders
)
{
if
(
hygfRectificationOrderO
.
getRectificationStatus
().
equals
(
"待审核"
)){
qu
.
set
(
BasicGridRecord:
:
getGridStatus
,
GridStatusEnum
.
ZGDSH
.
getCode
());
break
;
}
}
basicGridRecordService
.
update
(
null
,
qu
);
basicGridRecordService
.
update
(
null
,
qu
);
}
}
rectificationOrderAuditingService
.
addRectification
(
hygfRectificationOrder
);
rectificationOrderAuditingService
.
addRectification
(
hygfRectificationOrder
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment