| | |
| | | package org.springblade.modules.place.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.common.node.TreeStringNode; |
| | | import org.springblade.modules.place.entity.PlaceEntity; |
| | | import org.springblade.modules.place.excel.ExportPlaceExcel; |
| | | import org.springblade.modules.place.excel.NinePlaceExcel; |
| | | import org.springblade.modules.place.excel.PlaceAndRelExcel; |
| | | import org.springblade.modules.place.excel.PlaceExcel; |
| | | import org.springblade.modules.place.excel.ImportPlaceExcel; |
| | | import org.springblade.modules.place.vo.PlaceVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | |
| | | |
| | | /** |
| | | * 查询场所集合信息 |
| | | * |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<TreeStringNode> selectPlaceNodeList(Long userId); |
| | | List<TreeStringNode> selectPlaceNodeList(Long userId); |
| | | |
| | | /** |
| | | * 场所信息自定义新增/修改 |
| | | * |
| | | * @param placeVO |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 历史场所挂接处理-临时 |
| | | * |
| | | * @param place |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 历史场所标签挂接处理-临时 |
| | | * |
| | | * @param place |
| | | * @return |
| | | */ |
| | | Object historyPlaceLabelHandle(PlaceVO place); |
| | | Object historyPlaceLabelHandle(PlaceVO place); |
| | | |
| | | /** |
| | | * 场所表 自定义详情查询 |
| | | * |
| | | * @param place |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 场所数据到导入 |
| | | * |
| | | * @param data |
| | | * @param isCovered |
| | | */ |
| | | void importPlace(List<PlaceExcel> data, Boolean isCovered); |
| | | String importPlace(List<ImportPlaceExcel> data, Boolean isCovered); |
| | | |
| | | /** |
| | | * 场所(商超)导入 |
| | | * |
| | | * @param data |
| | | * @param isCovered |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 自定义修改 |
| | | * |
| | | * @param placeVO |
| | | * @return |
| | | */ |
| | |
| | | /** |
| | | * 场所标签数据处理 |
| | | */ |
| | | Object placeLabelHandle(); |
| | | Object placeLabelHandle(); |
| | | |
| | | /** |
| | | * 历史场所详情数据处理 |
| | | * |
| | | * @param place |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 商超数据处理 |
| | | * |
| | | * @return |
| | | */ |
| | | Object placeAndRelHandle(); |
| | | Object placeAndRelHandle(); |
| | | |
| | | /** |
| | | * 根据标签编号集合查询对应的场所 |
| | | * 根据编号集合查询对应的场所(按颜色区分近多少天没有发过任务的场所) |
| | | * |
| | | * @param stringList |
| | | * @param color |
| | | * @param tableName |
| | | * @return |
| | | */ |
| | | List<PlaceVO> getPlaceListByParam(List<String> stringList,String color); |
| | | List<PlaceVO> getPlaceListByParam(List<String> stringList, String tableName); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param longs |
| | | * @return |
| | | */ |
| | | boolean removePlace(List<Long> longs); |
| | | |
| | | /** |
| | | * 九小场所档案 |
| | | * @param page |
| | | * @param place |
| | | * @return |
| | | */ |
| | | IPage<PlaceVO> selectNinePlacePage(IPage<PlaceVO> page, PlaceVO place); |
| | | |
| | | List<NinePlaceExcel> export(PlaceVO place); |
| | | |
| | | /** |
| | | * 场所警务网格处理 |
| | | */ |
| | | Object placeJwGridCodeHandle(); |
| | | |
| | | /** |
| | | * 场所综治网格处理 |
| | | */ |
| | | Object placeGridCodeHandle(); |
| | | |
| | | /** |
| | | * 场所二维码绑定处理 |
| | | */ |
| | | Object placeDoorBindHandle(); |
| | | |
| | | /** |
| | | * 企业商超列表查询 |
| | | */ |
| | | IPage<PlaceVO> selectMallPage(IPage<PlaceVO> page, PlaceVO place); |
| | | |
| | | /** |
| | | * 位置绑定 |
| | | * @param place |
| | | */ |
| | | void policePositionHandle(PlaceVO place); |
| | | |
| | | /** |
| | | * 警格绑定 |
| | | * @param place |
| | | */ |
| | | void jwGridCodeBind(PlaceVO place); |
| | | |
| | | /** |
| | | * 查询所有场所数据 |
| | | * @return |
| | | */ |
| | | List<PlaceVO> getAllList(int i,int size); |
| | | /** |
| | | * 查询所有场所数据总数 |
| | | * @return |
| | | */ |
| | | int getAllListTotal(); |
| | | |
| | | /** |
| | | * 查询对应的社区编号 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | String getCommunityCode(Long id); |
| | | |
| | | /** |
| | | * 导出场所信息 |
| | | * @param place |
| | | * @return |
| | | */ |
| | | List<ExportPlaceExcel> exportPlaceList(PlaceVO place); |
| | | |
| | | /** |
| | | * // 查询附近场所 |
| | | * @param lat |
| | | * @param lng |
| | | * @return |
| | | */ |
| | | List<PlaceVO> getNearbyPlaceList(String lat, String lng); |
| | | } |