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
9aa4e564
Commit
9aa4e564
authored
Nov 01, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计首页开发
parent
d4a99495
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 @
9aa4e564
...
...
@@ -85,6 +85,7 @@
hygf_design_information
LEFT JOIN
hygf_peasant_household ON hygf_design_information.peasant_household_id = hygf_peasant_household.sequence_nbr
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
...
...
@@ -100,6 +101,8 @@
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</where>
</select>
<select
id=
"preparationMoneyTotal"
resultType=
"map"
>
...
...
@@ -145,6 +148,7 @@
hygf_power_station_engineering_info ei on ei.work_order_power_station_id =hygf_work_order_power_station.sequence_nbr
LEFT JOIN
hygf_peasant_household ON hygf_work_order_power_station.peasant_household_id = hygf_peasant_household.sequence_nbr
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
...
...
@@ -160,6 +164,7 @@
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</where>
GROUP BY
power_station_construction_status,work_order_power_station_node
</select>
...
...
@@ -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_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
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
...
...
@@ -198,6 +204,7 @@
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</where>
GROUP BY
grid_status
</select>
...
...
@@ -227,6 +234,7 @@
hygf_power_station_engineering_info ei ON ei.work_order_power_station_id = ps.sequence_nbr
LEFT JOIN
hygf_peasant_household ON hygf_acceptance_check.peasant_household_id = hygf_peasant_household.sequence_nbr
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
...
...
@@ -242,6 +250,7 @@
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</where>
GROUP BY
acceptance_check_status
</select>
...
...
@@ -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_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
<where>
<if
test=
"developerCode != null and developerCode != ''"
>
AND hygf_peasant_household.developer_code = #{developerCode}
</if>
...
...
@@ -272,6 +282,7 @@
<if
test=
"district != null and district != ''"
>
AND hygf_peasant_household.project_address LIKE CONCAT ('%',#{district},'%')
</if>
</where>
GROUP BY
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 @
9aa4e564
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