| | |
| | | @ExcelProperty( "地区") |
| | | private String townStreetName; |
| | | |
| | | @ApiModelProperty(value = "场所名称") |
| | | @ExcelProperty(value = "场所名称") |
| | | private String placeName; |
| | | |
| | | @ExcelProperty(value = "地址") |
| | |
| | | bus.`name` AS policeName, |
| | | bu.phone AS policePhone, |
| | | jda.address_name, |
| | | bd.dept_name |
| | | jpag.pcs_name deptName |
| | | from jczz_place jp |
| | | left join blade_user bu on bu.id = jp.principal_user_id and bu.is_deleted = 0 |
| | | left join jczz_place_ext jpe on jpe.place_id=jp.id and jpe.is_deleted = 0 |
| | |
| | | left join blade_region br on br.code = jg.community_code |
| | | LEFT JOIN jczz_community jc on jc.`code`=jg.community_code |
| | | LEFT JOIN blade_user bus on bus.id = jc.res_police_user_id |
| | | LEFT JOIN blade_dept bd on bd.id = bus.dept_id |
| | | LEFT JOIN jczz_police_affairs_grid jpag on jpag.community_code= jg.community_code |
| | | LEFT JOIN jczz_doorplate_address jda on jda.address_code=jp.house_code |
| | | left join ( |
| | | select a.* from jczz_place_poi_label a inner join |
| | |
| | | |
| | | /** |
| | | * 警务网格绑定 |
| | | * |
| | | * @param placeVO |
| | | */ |
| | | public void jwGridCodeBind(PlaceVO placeVO) { |
| | |
| | | |
| | | /** |
| | | * 设置是否现场采集(1km 范围内) |
| | | * |
| | | * @param placeVO |
| | | */ |
| | | public void setIsScene(PlaceVO placeVO) { |
| | |
| | | |
| | | /** |
| | | * 设置是否现场采集(1km 范围内),非地址总表数据 |
| | | * |
| | | * @param placeVO |
| | | */ |
| | | public void setIsSceneNotHouseCode(PlaceVO placeVO) { |
| | |
| | | for (NinePlaceExcel ninePlaceExcel : aa) { |
| | | for (DictBiz dictBiz : nineType) { |
| | | if (StringUtils.isNotBlank(ninePlaceExcel.getNineType()) && ninePlaceExcel.getNineType().equals(dictBiz.getDictKey())) { |
| | | if (ninePlaceExcel.getNineType().contains("10,11,12")) { |
| | | ninePlaceExcel.setNineType("小学校(幼儿园、校外培训机构)- " + dictBiz.getDictValue()); |
| | | } else if (ninePlaceExcel.getNineType().contains("13,14,15")) { |
| | | ninePlaceExcel.setNineType("小医院(诊所、养老院)- " + dictBiz.getDictValue()); |
| | | } else { |
| | | ninePlaceExcel.setNineType(dictBiz.getDictValue()); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | return aa; |
| | | } |
| | | |
| | |
| | | roleMenus = tenantPackageMenu(baseMapper.roleMenuByRoleId(Func.toLongList(roleId), menuType)); |
| | | // 1:居民,居民需要通过人的标签来显示取保候审 |
| | | if (CommonConstant.RESIDENT.equals(roleName)) { |
| | | extracted(labelType, roleMenus); |
| | | // extracted(labelType, roleMenus); |
| | | } |
| | | } |
| | | // 顶部菜单请求返回对应角色权限菜单 |
| | |
| | | and jpr.state = '0' |
| | | and jp.nine_type = bd.dict_key |
| | | and br.town_code =#{code} |
| | | and jpc.create_time=( |
| | | SELECT MAX(create_time) FROM jczz_place_check where jpc.house_code=house_code |
| | | <if test="taskPlaceRectification.startTime!=null and taskPlaceRectification.startTime!=''"> |
| | | and create_time>=#{taskPlaceRectification.startTime} |
| | | </if> |
| | | <if test="taskPlaceRectification.endTime!=null and taskPlaceRectification.endTime!=''"> |
| | | and create_time<=#{taskPlaceRectification.endTime} |
| | | </if> |
| | | ) |
| | | </where> |
| | | ) number |
| | | FROM |
| | |
| | | jtpr.signature_path, |
| | | jtpr.create_user, |
| | | jtpr.image_urls, |
| | | bd.dept_name, |
| | | jpag.pcs_name deptName, |
| | | jp.id jpid, |
| | | jp.place_name, |
| | | jp.location, |
| | |
| | | LEFT JOIN blade_region br ON br.`code` = jg.community_code |
| | | LEFT JOIN jczz_place_ext jpe ON jpe.place_id = jp.id |
| | | LEFT JOIN blade_user bu ON bu.id = jtpr.create_user |
| | | LEFT JOIN blade_dept bd ON bu.dept_id = bd.id |
| | | LEFT JOIN jczz_doorplate_address jda on jda.address_code=jp.house_code |
| | | LEFT JOIN jczz_doorplate_address jda on jda.address_code=jtpr.house_code |
| | | LEFT JOIN jczz_police_affairs_grid jpag on jpag.community_code= jg.community_code |
| | | <where> |
| | | <if test="taskPalce.id != null ">and id = #{taskPalce.id}</if> |
| | | <if test="taskPalce.placeCheckId != null ">and place_check_id = #{taskPalce.placeCheckId}</if> |
| | |
| | | </when> |
| | | </choose> |
| | | </if> |
| | | and jtpr.create_time=( |
| | | SELECT MAX(create_time) FROM jczz_task_place_rectification where jtpr.house_code=house_code |
| | | ) |
| | | |
| | | </where> |
| | | |
| | | |
| | |
| | | for (TaskPlaceRectificationExcel taskPlaceRectificationExcel : export) { |
| | | for (DictBiz dictBiz : nineType) { |
| | | if (StringUtils.isNotBlank(taskPlaceRectificationExcel.getNineType()) && taskPlaceRectificationExcel.getNineType().equals(dictBiz.getDictKey())) { |
| | | if (taskPlaceRectificationExcel.getNineType().contains("10,11,12")) { |
| | | taskPlaceRectificationExcel.setNineType("小学校(幼儿园、校外培训机构)- " + dictBiz.getDictValue()); |
| | | } else if (taskPlaceRectificationExcel.getNineType().contains("13,14,15")) { |
| | | taskPlaceRectificationExcel.setNineType("小医院(诊所、养老院)- " + dictBiz.getDictValue()); |
| | | } else { |
| | | taskPlaceRectificationExcel.setNineType(dictBiz.getDictValue()); |
| | | } |
| | | } |
| | | } |
| | | if (taskPlaceRectificationExcel.getRectificationFlag().equals(1)) { |
| | | taskPlaceRectificationExcel.setRectificationFlag("否"); |
| | | } else { |