Commit e88298d0 authored by hezhuozhi's avatar hezhuozhi

电站统计

parent b9d60f4b
...@@ -68,6 +68,7 @@ public interface PeasantHouseholdMapper extends BaseMapper<PeasantHousehold> { ...@@ -68,6 +68,7 @@ public interface PeasantHouseholdMapper extends BaseMapper<PeasantHousehold> {
* @param sequenceNbrList * @param sequenceNbrList
* @return * @return
*/ */
@UserEmpower(field = {"hph.regional_companies_code"}, dealerField = {"hph.regional_companies_code"}, fieldConditions = {"in"}, relationship = "and")
List<PowerStationTimeStatisticsDto> getPowerStationTimeDetail(@Param("list") List<String> sequenceNbrList); List<PowerStationTimeStatisticsDto> getPowerStationTimeDetail(@Param("list") List<String> sequenceNbrList);
/** /**
......
...@@ -231,13 +231,12 @@ on hygf_document_station.preparation_money_id=hygf_preparation_money.sequence_nb ...@@ -231,13 +231,12 @@ on hygf_document_station.preparation_money_id=hygf_preparation_money.sequence_nb
hpsei.real_scale, hpsei.real_scale,
substring_index ( hph.project_address_name, '/', 1 ) AS province, substring_index ( hph.project_address_name, '/', 1 ) AS province,
hph.regional_companies_name, hph.regional_companies_name,
sub.real_name AS serviceAgent hph.developer_name AS serviceAgent
FROM FROM
hygf_peasant_household hph hygf_peasant_household hph
LEFT JOIN hygf_commercial hc ON hc.survey_information_id = hph.survey_information_id LEFT JOIN hygf_commercial hc ON hc.survey_information_id = hph.survey_information_id
LEFT JOIN hygf_work_order_power_station hwops ON hph.sequence_nbr = hwops.peasant_household_id LEFT JOIN hygf_work_order_power_station hwops ON hph.sequence_nbr = hwops.peasant_household_id
LEFT JOIN hygf_power_station_engineering_info hpsei ON hwops.sequence_nbr = hpsei.work_order_power_station_id LEFT JOIN hygf_power_station_engineering_info hpsei ON hwops.sequence_nbr = hpsei.work_order_power_station_id
LEFT JOIN std_user_biz sub ON sub.amos_user_id =hph.developer_user_id
<where> <where>
<if test="list != null and list.size()>0"> <if test="list != null and list.size()>0">
AND hph.sequence_nbr IN AND hph.sequence_nbr IN
......
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