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
bcd06aa3
Commit
bcd06aa3
authored
Aug 27, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验收优化
parent
a9da0c2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
AcceptanceCheckMapper.xml
...f-api/src/main/resources/mapper/AcceptanceCheckMapper.xml
+16
-15
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/AcceptanceCheckMapper.xml
View file @
bcd06aa3
...
...
@@ -11,11 +11,12 @@
hbga.work_order_power_station_id workOrderPowerStationId,
hbga.peasant_household_id peasantHouseholdId,
hbga.basic_grid_node basicGridNode,
hbga.
grid_time grid
Time,
hbga.
acceptance_time acceptance
Time,
hbga.power_station_area_status powerStationAreaStatus,
hbga.power_station_design_status powerStationDesignStatus,
hbga.power_station_financing_status powerStationFinancingStatus,
hbga.power_station_assets_status powerStationAssetsStatus,
hbga.rectification_status rectificationStatus,
hbga.power_station_
engineering_status powerStationEngineering
Status,
hbga.power_station_
legal_status powerStationLegal
Status,
hbga.instance_id instanceId,
hph.developer_name as serviceAgent,
hph.regional_companies_name AS regionalCompaniesName,
...
...
@@ -23,18 +24,18 @@
hph.peasant_household_no peasantHouseholdNo,
hph.project_address_name projectAddressName,
DATE_FORMAT(hogaa.grid_connection_time, '%Y-%m-%d %H:%i:%S') AS gridConnectionTime,
CASE WHEN hbga.
grid_status = '1' THEN '待登记
'
WHEN hbga.
grid
_status = '2' THEN '经销商管理员待审核'
WHEN hbga.
grid
_status = '3' THEN '已完成'
WHEN hbga.
grid
_status = '4' THEN '未通过'
WHEN hbga.
grid_status = '5' THEN '设计
待审核'
WHEN hbga.
grid_status = '6' THEN '设计待审核/工程
待审核'
WHEN hbga.
grid_status = '7' THEN '片区运营
待审核'
WHEN hbga.
grid_status = '8' THEN '工程
待审核'
WHEN hbga.
grid_status = '9' THEN '整改
待审核'
ELSE '待整改' END AS
grid
Status
CASE WHEN hbga.
acceptance_check_status = '15' THEN '待提交验收
'
WHEN hbga.
acceptance_check
_status = '2' THEN '经销商管理员待审核'
WHEN hbga.
acceptance_check
_status = '3' THEN '已完成'
WHEN hbga.
acceptance_check
_status = '4' THEN '未通过'
WHEN hbga.
acceptance_check_status = '11' THEN '投融待审核/法务
待审核'
WHEN hbga.
acceptance_check_status = '7' THEN '片区运营
待审核'
WHEN hbga.
acceptance_check_status = '12' THEN '投融
待审核'
WHEN hbga.
acceptance_check_status = '13' THEN '资产
待审核'
WHEN hbga.
acceptance_check_status = '14' THEN '法务
待审核'
ELSE '待整改' END AS
acceptanceCheck
Status
FROM
hygf_
basic_grid_record
hbga
hygf_
acceptance_check
hbga
LEFT JOIN hygf_peasant_household hph ON hph.sequence_nbr = hbga.peasant_household_id
LEFT JOIN hygf_on_grid_and_acceptance hogaa ON hogaa.work_order_power_station_id = hbga.work_order_power_station_id
LEFT JOIN hygf_work_order ON hygf_work_order.sequence_nbr = hbga.work_order_id
...
...
@@ -65,7 +66,7 @@
AND hph.owners_name LIKE concat(concat('%', #{map.ownersName}), '%')
</if>
<if
test=
"map.gridStatus != null and map.gridStatus !=''"
>
AND hbga.
grid
_status = #{map.gridStatus}
AND hbga.
acceptance_check
_status = #{map.gridStatus}
</if>
<if
test=
"map.gridConnectionTime != null"
>
AND DATE_FORMAT(hogaa.grid_connection_time, '%Y-%m-%d') = #{map.gridConnectionTime}
...
...
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