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
9fa3c646
Commit
9fa3c646
authored
Aug 29, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer_bw' of…
Merge branch 'developer_bw' of
http://36.40.66.175:5000/moa/jxdj_zx/amos-boot-zx-biz
into developer_bw
parents
8cbc6b93
baac0cc6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
9 deletions
+28
-9
AcceptanceCheckMapper.xml
...src/main/resources/mapper/mysql/AcceptanceCheckMapper.xml
+6
-6
BasicGridAcceptanceMapper.xml
...main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
+1
-1
AcceptanceCheckServiceImpl.java
...ule/hygf/biz/service/impl/AcceptanceCheckServiceImpl.java
+4
-2
WorkOrderServiceImpl.java
...ot/module/hygf/biz/service/impl/WorkOrderServiceImpl.java
+17
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/AcceptanceCheckMapper.xml
View file @
9fa3c646
...
@@ -53,13 +53,13 @@
...
@@ -53,13 +53,13 @@
and hph.peasant_household_no like concat('%',#{map.powerStationCode},'%'}
and hph.peasant_household_no like concat('%',#{map.powerStationCode},'%'}
</if>
</if>
<if
test=
"map.formType != null and map.formType!=''"
>
<if
test=
"map.formType != null and map.formType!=''"
>
AND hbga.
grid
_status IN ('2', '3', '4')
AND hbga.
acceptance_check
_status IN ('2', '3', '4')
</if>
</if>
<if
test=
"map.projectAddress != null and map.projectAddress!=''"
>
<if
test=
"map.projectAddress != null and map.projectAddress!=''"
>
AND hph.project_address_name LIKE concat(concat('%', #{map.projectAddress}), '%')
AND hph.project_address_name LIKE concat(concat('%', #{map.projectAddress}), '%')
</if>
</if>
<if
test=
"map.type != null"
>
<if
test=
"map.type != null"
>
and (
hbga.basic_grid_node is not null
and (
(hbga.basic_grid_node is not null AND hbga.basic_grid_node != 'jxsAdmin')
or hbga.basic_grid_node = 'all'
or hbga.basic_grid_node = 'all'
or hbga.power_station_area_status is not null
or hbga.power_station_area_status is not null
or hbga.power_station_financing_status is not null
or hbga.power_station_financing_status is not null
...
@@ -70,11 +70,11 @@
...
@@ -70,11 +70,11 @@
<if
test=
"map.ownersName != null and map.ownersName !=''"
>
<if
test=
"map.ownersName != null and map.ownersName !=''"
>
AND hph.owners_name LIKE concat(concat('%', #{map.ownersName}), '%')
AND hph.owners_name LIKE concat(concat('%', #{map.ownersName}), '%')
</if>
</if>
<if
test=
"map.
gridStatus != null and map.grid
Status !=''"
>
<if
test=
"map.
acceptanceCheckStatus != null and map.acceptanceCheck
Status !=''"
>
AND hbga.acceptance_check_status = #{map.
grid
Status}
AND hbga.acceptance_check_status = #{map.
acceptanceCheck
Status}
</if>
</if>
<if
test=
"map.
gridConnection
Time != null"
>
<if
test=
"map.
acceptance
Time != null"
>
AND DATE_FORMAT(hogaa.
grid_connection_time, '%Y-%m-%d') = #{map.gridConnection
Time}
AND DATE_FORMAT(hogaa.
acceptance_time, '%Y-%m-%d') = #{map.acceptance
Time}
</if>
</if>
</where>
</where>
ORDER BY hbga.sequence_nbr desc
ORDER BY hbga.sequence_nbr desc
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
View file @
9fa3c646
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
AND hbga.grid_status = #{map.gridStatus}
AND hbga.grid_status = #{map.gridStatus}
</if>
</if>
<if
test=
"map.gridConnectionTime != null"
>
<if
test=
"map.gridConnectionTime != null"
>
AND DATE_FORMAT(hogaa.grid_
connection_
time, '%Y-%m-%d') = #{map.gridConnectionTime}
AND DATE_FORMAT(hogaa.grid_time, '%Y-%m-%d') = #{map.gridConnectionTime}
</if>
</if>
</where>
</where>
ORDER BY hbga.sequence_nbr desc
ORDER BY hbga.sequence_nbr desc
...
...
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 @
9fa3c646
...
@@ -308,8 +308,10 @@ public class AcceptanceCheckServiceImpl extends BaseService<AcceptanceCheckDto,A
...
@@ -308,8 +308,10 @@ public class AcceptanceCheckServiceImpl extends BaseService<AcceptanceCheckDto,A
default
:
default
:
up
.
set
(
AcceptanceCheck:
:
getPowerStationAreaStatus
,
approvalStatus
.
equals
(
"0"
)?
"通过"
:
"驳回"
);
up
.
set
(
AcceptanceCheck:
:
getPowerStationAreaStatus
,
approvalStatus
.
equals
(
"0"
)?
"通过"
:
"驳回"
);
up
.
set
(
AcceptanceCheck:
:
getBasicGridNode
,
"all"
);
up
.
set
(
AcceptanceCheck:
:
getBasicGridNode
,
"all"
);
up
.
set
(
AcceptanceCheck:
:
getAcceptanceTime
,
new
Date
());
if
(
approvalStatus
.
equals
(
"0"
)){
up
.
set
(
AcceptanceCheck:
:
getAcceptanceCheckStatus
,
GridStatusEnum
.
YWC
.
getCode
());
up
.
set
(
AcceptanceCheck:
:
getAcceptanceTime
,
new
Date
());
up
.
set
(
AcceptanceCheck:
:
getAcceptanceCheckStatus
,
GridStatusEnum
.
YWC
.
getCode
());
}
this
.
wofkflowExcute
(
instanceId
,
approvalStatus
,
comment
);
this
.
wofkflowExcute
(
instanceId
,
approvalStatus
,
comment
);
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/WorkOrderServiceImpl.java
View file @
9fa3c646
...
@@ -1405,6 +1405,23 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
...
@@ -1405,6 +1405,23 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
PowerStationEngineeringInfo
powerStationEngineeringInfo
=
powerStationEngineeringInfoAllDto
.
getPowerStationEngineeringInfo
();
PowerStationEngineeringInfo
powerStationEngineeringInfo
=
powerStationEngineeringInfoAllDto
.
getPowerStationEngineeringInfo
();
if
(
Objects
.
nonNull
(
powerStationEngineeringInfo
)){
if
(
Objects
.
nonNull
(
powerStationEngineeringInfo
)){
powerStationEngineeringInfoMapper
.
updateById
(
powerStationEngineeringInfo
);
powerStationEngineeringInfoMapper
.
updateById
(
powerStationEngineeringInfo
);
//更新施工组件信息
LambdaUpdateWrapper
<
PowerStationConstructionData
>
powerStationConstructionDataWrapper
=
new
LambdaUpdateWrapper
<>();
powerStationConstructionDataWrapper
.
set
(
PowerStationConstructionData:
:
getConstructionComponentInfo
,
powerStationEngineeringInfo
.
getConstructionComponentInfo
());
powerStationConstructionDataWrapper
.
set
(
PowerStationConstructionData:
:
getConstructionInverterInfo
,
powerStationEngineeringInfo
.
getConstructionInverterInfo
());
powerStationConstructionDataWrapper
.
set
(
PowerStationConstructionData:
:
getConstructionCollectorBoxInfo
,
powerStationEngineeringInfo
.
getConstructionCollectorBoxInfo
());
powerStationConstructionDataWrapper
.
set
(
PowerStationConstructionData:
:
getConstructionGridBoxInfo
,
powerStationEngineeringInfo
.
getConstructionGridBoxInfo
());
powerStationConstructionDataWrapper
.
eq
(
PowerStationConstructionData:
:
getWorkOrderId
,
powerStationEngineeringInfo
.
getWorkOrderId
());
powerStationConstructionDataWrapper
.
eq
(
PowerStationConstructionData:
:
getWorkOrderPowerStationId
,
powerStationEngineeringInfo
.
getWorkOrderPowerStationId
());
powerStationConstructionDataMapper
.
update
(
null
,
powerStationConstructionDataWrapper
);
//更新工程负责人
LambdaUpdateWrapper
<
WorkOrder
>
upl
=
new
LambdaUpdateWrapper
();
upl
.
set
(
WorkOrder:
:
getProjectRegionManager
,
powerStationEngineeringInfo
.
getProjectRegionManager
());
upl
.
set
(
WorkOrder:
:
getProjectRegionManagerPhone
,
powerStationEngineeringInfo
.
getProjectRegionManagerPhone
());
upl
.
set
(
WorkOrder:
:
getConstructionRegionManager
,
powerStationEngineeringInfo
.
getConstructionRegionManager
());
upl
.
set
(
WorkOrder:
:
getConstructionRegionManagerPhone
,
powerStationEngineeringInfo
.
getConstructionRegionManagerPhone
());
upl
.
eq
(
WorkOrder:
:
getSequenceNbr
,
powerStationEngineeringInfo
.
getWorkOrderId
());
workOrderMapper
.
update
(
null
,
upl
);
}
}
//更新施工信息
//更新施工信息
PowerStationConstructionData
powerStationConstructionData
=
powerStationEngineeringInfoAllDto
.
getPowerStationConstructionData
();
PowerStationConstructionData
powerStationConstructionData
=
powerStationEngineeringInfoAllDto
.
getPowerStationConstructionData
();
...
...
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