| | |
| | | and jpc.house_code = #{placeCheck.houseCode} |
| | | </if> |
| | | |
| | | <if test="placeCheck.hiddenDangerNumber!=null and placeCheck.hiddenDangerNumber==0"> |
| | | and jpc.hidden_danger_number = #{placeCheck.hiddenDangerNumber} |
| | | </if> |
| | | |
| | | <if test="placeCheck.hiddenDangerNumber!=null and placeCheck.hiddenDangerNumber==1"> |
| | | and jpc.hidden_danger_number > 0 |
| | | </if> |
| | | |
| | | <if test="placeCheck.streetName!=null and placeCheck.streetName!=''"> |
| | | and br.town_name like concat('%', #{placeCheck.streetName},'%') |
| | | </if> |
| | |
| | | |
| | | <if test="placeCheck.principalPhone!=null and placeCheck.principalPhone!=''"> |
| | | and jp.principal_phone like concat('%', #{placeCheck.principalPhone},'%') |
| | | </if> |
| | | |
| | | <if test="nineTypeList!=null and nineTypeList.size()>0"> |
| | | and jp.nine_type in |
| | | <foreach collection="nineTypeList" separator="," open="(" close=")" item="nineType"> |
| | | #{nineType} |
| | | </foreach> |
| | | </if> |
| | | |
| | | <if test="placeCheck.startTime!=null and placeCheck.startTime!=''"> |
| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | jg.grid_code in ('') or jpag.community_code in in ('') |
| | | jg.grid_code in ('') or jpag.community_code in ('') |
| | | ) |
| | | </otherwise> |
| | | </choose> |
| | |
| | | and jp.principal_phone like concat('%', #{placeCheck.principalPhone},'%') |
| | | </if> |
| | | |
| | | <if test="nineTypeList!=null and nineTypeList.size()>0"> |
| | | and jp.nine_type in |
| | | <foreach collection="nineTypeList" separator="," open="(" close=")" item="nineType"> |
| | | #{nineType} |
| | | </foreach> |
| | | </if> |
| | | |
| | | <if test="placeCheck.startTime!=null and placeCheck.startTime!=''"> |
| | | and date_format(jpc.create_time,'%Y-%m-%d') >= #{placeCheck.startTime} |
| | | </if> |
| | |
| | | <otherwise> |
| | | and |
| | | ( |
| | | jg.grid_code in ('') or jpag.community_code in in ('') |
| | | jg.grid_code in ('') or jpag.community_code in ('') |
| | | ) |
| | | </otherwise> |
| | | </choose> |