| | |
| | | <if test="country!=null"> |
| | | and tb_station_inf.country=#{country} |
| | | </if> |
| | | <!-- <if test="stationName!=null"> |
| | | <if test="stationName!=null"> |
| | | and tb_station_inf.station_name like concat('%',#{stationName},'%') |
| | | </if> |
| | | <if test="powerName!=null"> |
| | | and tb_power_inf.power_name like concat('%',#{powerName},'%') |
| | | <if test="stationType!=null"> |
| | | and tb_station_inf.station_type like concat('%',#{stationType},'%') |
| | | </if> |
| | | <if test="battgroupName!=null"> |
| | | and tb_batt_inf.battgroup_name like concat('%',#{battgroupName},'%') |
| | | </if>--> |
| | | <if test="powerType!=null"> |
| | | and tb_power_inf.power_type like concat('%',#{powerType},'%') |
| | | </if> |
| | | |
| | | <if test="uid>100"> |
| | | and tb_power_inf.power_id in( |
| | | select distinct power_id from db_user.tb_baojigroup_power,db_user.tb_baojigroup_usr |