Commit 2432116a authored by hezhuozhi's avatar hezhuozhi

Merge remote-tracking branch 'origin/developer_bw' into developer_bw

parents a1bcf0f5 9aa4e564
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment