Commit 2c7bd70f authored by chenzhao's avatar chenzhao

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

parents d2bc7ba0 899a58c0
......@@ -80,5 +80,7 @@ public interface JpStationMapper extends BaseMapper<JpStation> {
@UserEmpower(field ={"hygf_jp_station.regional_companies_code"},dealerField ={"hygf_jp_station.amos_company_code","hygf_jp_station.regional_companies_code"} ,fieldConditions ={"eq","in"} ,relationship="and")
List<Map<String,Object>> selectStateCount(String regionalCompaniesCode, String amosCompanyCode, String type);
@UserEmpower(field ={"hygf_jp_station.regional_companies_code"},dealerField ={"hygf_jp_station.amos_company_code","hygf_jp_station.regional_companies_code"} ,fieldConditions ={"eq","in"} ,relationship="and")
List<JpStationDto> queryAllPowerStation(String regionalCompaniesCode, String amosCompanyCode, String thirdStationId, String type);
}
......@@ -699,8 +699,8 @@
from hygf_jp_station
<where>
hygf_jp_station.regional_companies_code is not null
<if test="powerStationId!=null">
and hygf_jp_station.thirdStationId =#{thirdStationId}
<if test="thirdStationId!=null">
and hygf_jp_station.third_station_id =#{thirdStationId}
</if>
<if test="type!=null and type != ''">
and hygf_jp_station.type =#{type}
......
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