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
2432116a
Commit
2432116a
authored
Nov 01, 2024
by
hezhuozhi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer_bw' into developer_bw
parents
a1bcf0f5
9aa4e564
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
StatisticsHomepageMapper.xml
.../main/resources/mapper/mysql/StatisticsHomepageMapper.xml
+11
-0
StatisticsHomepageServiceImpl.java
.../hygf/biz/service/impl/StatisticsHomepageServiceImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/StatisticsHomepageMapper.xml
View file @
2432116a
...
@@ -85,6 +85,7 @@
...
@@ -85,6 +85,7 @@
hygf_design_information
hygf_design_information
LEFT JOIN
LEFT JOIN
hygf_peasant_household ON hygf_design_information.peasant_household_id = hygf_peasant_household.sequence_nbr
hygf_peasant_household ON hygf_design_information.peasant_household_id = hygf_peasant_household.sequence_nbr
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
</if>
...
@@ -100,6 +101,8 @@
...
@@ -100,6 +101,8 @@
<if
test=
"district != null and district != ''"
>
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</if>
</where>
</select>
</select>
<select
id=
"preparationMoneyTotal"
resultType=
"map"
>
<select
id=
"preparationMoneyTotal"
resultType=
"map"
>
...
@@ -145,6 +148,7 @@
...
@@ -145,6 +148,7 @@
hygf_power_station_engineering_info ei on ei.work_order_power_station_id =hygf_work_order_power_station.sequence_nbr
hygf_power_station_engineering_info ei on ei.work_order_power_station_id =hygf_work_order_power_station.sequence_nbr
LEFT JOIN
LEFT JOIN
hygf_peasant_household ON hygf_work_order_power_station.peasant_household_id = hygf_peasant_household.sequence_nbr
hygf_peasant_household ON hygf_work_order_power_station.peasant_household_id = hygf_peasant_household.sequence_nbr
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
</if>
...
@@ -160,6 +164,7 @@
...
@@ -160,6 +164,7 @@
<if
test=
"district != null and district != ''"
>
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</if>
</where>
GROUP BY
GROUP BY
power_station_construction_status,work_order_power_station_node
power_station_construction_status,work_order_power_station_node
</select>
</select>
...
@@ -183,6 +188,7 @@
...
@@ -183,6 +188,7 @@
LEFT JOIN hygf_work_order_power_station ps ON ps.sequence_nbr = hygf_basic_grid_record.work_order_power_station_id
LEFT JOIN hygf_work_order_power_station ps ON ps.sequence_nbr = hygf_basic_grid_record.work_order_power_station_id
LEFT JOIN hygf_power_station_engineering_info ei ON ei.work_order_power_station_id = ps.sequence_nbr
LEFT JOIN hygf_power_station_engineering_info ei ON ei.work_order_power_station_id = ps.sequence_nbr
LEFT JOIN hygf_peasant_household ON hygf_basic_grid_record.peasant_household_id = hygf_peasant_household.sequence_nbr
LEFT JOIN hygf_peasant_household ON hygf_basic_grid_record.peasant_household_id = hygf_peasant_household.sequence_nbr
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
</if>
...
@@ -198,6 +204,7 @@
...
@@ -198,6 +204,7 @@
<if
test=
"district != null and district != ''"
>
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</if>
</where>
GROUP BY
GROUP BY
grid_status
grid_status
</select>
</select>
...
@@ -227,6 +234,7 @@
...
@@ -227,6 +234,7 @@
hygf_power_station_engineering_info ei ON ei.work_order_power_station_id = ps.sequence_nbr
hygf_power_station_engineering_info ei ON ei.work_order_power_station_id = ps.sequence_nbr
LEFT JOIN
LEFT JOIN
hygf_peasant_household ON hygf_acceptance_check.peasant_household_id = hygf_peasant_household.sequence_nbr
hygf_peasant_household ON hygf_acceptance_check.peasant_household_id = hygf_peasant_household.sequence_nbr
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
</if>
...
@@ -242,6 +250,7 @@
...
@@ -242,6 +250,7 @@
<if
test=
"district != null and district != ''"
>
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</if>
</where>
GROUP BY
GROUP BY
acceptance_check_status
acceptance_check_status
</select>
</select>
...
@@ -257,6 +266,7 @@
...
@@ -257,6 +266,7 @@
LEFT JOIN hygf_work_order_power_station ps ON ps.peasant_household_id = hygf_financing_info.peasant_household_id
LEFT JOIN hygf_work_order_power_station ps ON ps.peasant_household_id = hygf_financing_info.peasant_household_id
LEFT JOIN hygf_power_station_engineering_info ei ON ei.work_order_power_station_id = ps.sequence_nbr
LEFT JOIN hygf_power_station_engineering_info ei ON ei.work_order_power_station_id = ps.sequence_nbr
LEFT JOIN hygf_peasant_household ON hygf_financing_info.peasant_household_id = hygf_peasant_household.sequence_nbr
LEFT JOIN hygf_peasant_household ON hygf_financing_info.peasant_household_id = hygf_peasant_household.sequence_nbr
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
</if>
...
@@ -272,6 +282,7 @@
...
@@ -272,6 +282,7 @@
<if
test=
"district != null and district != ''"
>
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</if>
</where>
GROUP BY
GROUP BY
status
status
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/StatisticsHomepageServiceImpl.java
View file @
2432116a
This diff is collapsed.
Click to expand it.
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