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
8af8a45a
Commit
8af8a45a
authored
Aug 29, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XIUGAIBUG
parent
a7355ff8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
4 deletions
+22
-4
AcceptanceCheckMapper.xml
...src/main/resources/mapper/mysql/AcceptanceCheckMapper.xml
+1
-1
BasicGridAcceptanceMapper.xml
...main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
+1
-1
AcceptanceCheckServiceImpl.java
...ule/hygf/biz/service/impl/AcceptanceCheckServiceImpl.java
+14
-1
BasicGridAcceptanceServiceImpl.java
...hygf/biz/service/impl/BasicGridAcceptanceServiceImpl.java
+6
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/AcceptanceCheckMapper.xml
View file @
8af8a45a
...
...
@@ -50,7 +50,7 @@
and hygf_work_order.region_company_id =#{map.regionCompanyId}
</if>
<if
test=
"map.powerStationCode!=null and map.powerStationCode!=''"
>
and hph.peasant_household_no like concat('%',#{map.powerStationCode},'%'
}
and hph.peasant_household_no like concat('%',#{map.powerStationCode},'%'
)
</if>
<if
test=
"map.formType != null and map.formType!=''"
>
AND hbga.acceptance_check_status IN ('2', '3', '4')
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
View file @
8af8a45a
...
...
@@ -58,7 +58,7 @@
and hygf_work_order.region_company_id =#{map.regionCompanyId}
</if>
<if
test=
"map.powerStationCode!=null and map.powerStationCode!=''"
>
and hph.peasant_household_no like concat('%',#{map.powerStationCode},'%'
}
and hph.peasant_household_no like concat('%',#{map.powerStationCode},'%'
)
</if>
<if
test=
"map.formType != null and map.formType!=''"
>
AND hbga.grid_status IN ('2', '3', '4')
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/AcceptanceCheckServiceImpl.java
View file @
8af8a45a
...
...
@@ -339,7 +339,20 @@ public class AcceptanceCheckServiceImpl extends BaseService<AcceptanceCheckDto,A
public
ResponseModel
addRectification
(
HygfRectificationOrder
hygfRectificationOrder
)
{
if
(
Objects
.
isNull
(
hygfRectificationOrder
.
getRectificationSource
())
){
return
CommonResponseNewUtil
.
failureMessage
(
"多角色用户发起整改单,发起人角色不可为空"
);
}
if
(
hygfRectificationOrder
.
getAddorSubmit
().
equals
(
"0"
)
&&
Objects
.
isNull
(
hygfRectificationOrder
.
getRectificationIdea
())){
return
CommonResponseNewUtil
.
failureMessage
(
"整改类型及整改项不可为空"
);
}
// if (hygfRectificationOrder.getAddorSubmit().equals("0") && !Objects.isNull(hygfRectificationOrder.getRectificationIdea())){
// List<Object> rectificationIdea = hygfRectificationOrder.getRectificationIdea();
// for (Object item : rectificationIdea) {
// item.
// }
//
// return CommonResponseNewUtil.failureMessage("整改类型及整改项不可为空");
// }
if
(
hygfRectificationOrder
.
getSequenceNbr
()
!=
null
){
LambdaQueryWrapper
<
HygfRectificationOrder
>
wr
=
new
LambdaQueryWrapper
<>();
wr
.
eq
(
HygfRectificationOrder:
:
getPeasantHouseholeId
,
hygfRectificationOrder
.
getPeasantHouseholeId
());
...
...
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 @
8af8a45a
...
...
@@ -627,7 +627,12 @@ public class BasicGridAcceptanceServiceImpl
public
ResponseModel
addRectification
(
HygfRectificationOrder
hygfRectificationOrder
)
{
if
(
Objects
.
isNull
(
hygfRectificationOrder
.
getRectificationSource
())
){
return
CommonResponseNewUtil
.
failureMessage
(
"多角色用户发起整改单,发起人角色不可为空"
);
}
if
(
hygfRectificationOrder
.
getAddorSubmit
().
equals
(
"0"
)
&&
Objects
.
isNull
(
hygfRectificationOrder
.
getRectificationIdea
())){
return
CommonResponseNewUtil
.
failureMessage
(
"整改类型及整改项不可为空"
);
}
if
(
hygfRectificationOrder
.
getSequenceNbr
()
!=
null
){
LambdaQueryWrapper
<
HygfRectificationOrder
>
wr
=
new
LambdaQueryWrapper
<>();
wr
.
eq
(
HygfRectificationOrder:
:
getPeasantHouseholeId
,
hygfRectificationOrder
.
getPeasantHouseholeId
());
...
...
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