| | |
| | | jpe.confirm_flag confirmFlag, |
| | | bus.`name` AS policeName, |
| | | bus.phone AS policePhone, |
| | | jp.location addressName, |
| | | jp.location as addressName, |
| | | jpag.pcs_name deptName |
| | | from jczz_place jp |
| | | left join jczz_grid jg on jg.grid_code = jp.grid_code and jg.is_deleted = 0 |
| | |
| | | <if test="place.policeName!=null and place.policeName!=''"> |
| | | and bus.name like concat('%',#{place.policeName},'%') |
| | | </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="place.isFront!=null and place.isFront!=''"> |
| | | and jp.is_front = #{place.isFront} |
| | | </if> |
| | | |
| | | <if test="place.frontType!=null and place.frontType!=''"> |
| | | and jp.front_type = #{place.frontType} |
| | | </if> |
| | | |
| | | <if test="place.neiName!=null and place.neiName!=''"> |
| | | and br.name like concat('%',#{place.neiName},'%') |
| | | </if> |