| | |
| | | jbpr.*, |
| | | br.town_name as townName, |
| | | br.name as communityName, |
| | | jpag.pcs_name pcsName |
| | | jpag.pcs_name pcsName, |
| | | bd.dept_name |
| | | from jczz_backblast_pub_record jbpr |
| | | LEFT JOIN jczz_grid jg on jg.grid_code = jbpr.grid_code and jg.is_deleted = 0 |
| | | LEFT JOIN jczz_police_affairs_grid jpag on jbpr.jw_grid_code= jpag.jw_grid_code and jpag.is_deleted = 0 |
| | | LEFT JOIN blade_region br on br.code = jpag.community_code |
| | | LEFT JOIN blade_user bu ON bu.id = jbpr.create_user |
| | | LEFT JOIN blade_dept bd on bd.id = bu.dept_id |
| | | where jbpr.is_deleted = 0 |
| | | <if test="backblastPubRecord.townName != null and backblastPubRecord.townName != ''"> |
| | | and br.town_name like concat('%',#{backblastPubRecord.townName},'%') |
| | |
| | | <if test="backblastPubRecord.address != null and backblastPubRecord.address != ''"> |
| | | and jbpr.address like concat('%',#{backblastPubRecord.address},'%') |
| | | </if> |
| | | <if test="backblastPubRecord.deptName != null and backblastPubRecord.deptName != ''"> |
| | | and bd.dept_name like concat('%',#{backblastPubRecord.deptName},'%') |
| | | </if> |
| | | <if test="backblastPubRecord.pubContent != null and backblastPubRecord.pubContent != ''"> |
| | | and jbpr.pub_content like concat('%',#{backblastPubRecord.pubContent},'%') |
| | | </if> |
| | |
| | | jbwhr.*, |
| | | br.town_name as townName, |
| | | br.name as communityName, |
| | | jpag.pcs_name pcsName |
| | | jpag.pcs_name pcsName, |
| | | bd.dept_name |
| | | from jczz_backblast_warn_han_rec jbwhr |
| | | LEFT JOIN jczz_grid jg on jg.grid_code = jbwhr.grid_code and jg.is_deleted = 0 |
| | | LEFT JOIN jczz_police_affairs_grid jpag on jbwhr.jw_grid_code= jpag.jw_grid_code and jpag.is_deleted = 0 |
| | | LEFT JOIN blade_region br on br.code = jpag.community_code |
| | | LEFT JOIN blade_user bu ON bu.id = jbwhr.create_user |
| | | LEFT JOIN blade_dept bd on bd.id = bu.dept_id |
| | | where jbwhr.is_deleted = 0 |
| | | <if test="backblastWarnHanRec.townName != null and backblastWarnHanRec.townName != ''"> |
| | | and br.town_name like concat('%',#{backblastWarnHanRec.townName},'%') |
| | |
| | | <if test="backblastWarnHanRec.createUser != null"> |
| | | and jbwhr.create_user = #{backblastWarnHanRec.createUser} |
| | | </if> |
| | | <if test="backblastWarnHanRec.deptName != null and backblastWarnHanRec.deptName != ''"> |
| | | and bd.dept_name like concat('%',#{backblastWarnHanRec.deptName},'%') |
| | | </if> |
| | | <if test="backblastWarnHanRec.searchKey!=null and backblastWarnHanRec.searchKey!=''"> |
| | | and CONCAT( |
| | | ifnull(jbwhr.policeman_phone,''), |
| | |
| | | @ApiModelProperty(value = "派出所名称", example = "") |
| | | private String pcsName; |
| | | |
| | | @ApiModelProperty(value = "机构名称", example = "") |
| | | private String deptName; |
| | | |
| | | /** |
| | | * 反诈宣防对象 |
| | | */ |
| | |
| | | @ApiModelProperty(value = "派出所名称", example = "") |
| | | private String pcsName; |
| | | |
| | | @ApiModelProperty(value = "机构名称", example = "") |
| | | private String deptName; |
| | | |
| | | } |
| | |
| | | </otherwise> |
| | | </choose> |
| | | </if> |
| | | <if test="rotation.roleName=='inhabitant'"> |
| | | <if test="rotation.roleName=='inhabitant' or rotation.roleName=='xyzt' or rotation.roleName=='xyty'"> |
| | | and jr.type = 3 |
| | | <if test="rotation.districtIdList == null "> |
| | | and jr.rotation_range is null |
| | |
| | | and jg.grid_name like concat('%', #{place.gridName},'%') |
| | | </if> |
| | | |
| | | <if test="place.pcsName!=null and place.pcsName!=''"> |
| | | and jtnfr.pcs_name like concat('%', #{place.pcsName},'%') |
| | | </if> |
| | | |
| | | <if test="isAdministrator==2"> |
| | | <choose> |
| | | <when test="place.roleName != null and place.roleName != ''"> |