| | |
| | | public R gridInfoByHouseCode( @RequestParam("houseCode") String houseCode) { |
| | | return R.data(gridService.gridInfoByHouseCode(houseCode)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 网格集合查询 |
| | | * @param grid |
| | | * @return |
| | | */ |
| | | @GetMapping("/getGridList") |
| | | public R getGridList(GridVO grid) { |
| | | return R.data(gridService.getGridList(grid)); |
| | | } |
| | | } |
| | |
| | | List<GridmanEntity> gridInfo(String houseCode); |
| | | |
| | | List<DoorplateAddressEntity> gridAoiName(Integer id); |
| | | |
| | | /** |
| | | * 网格集合查询 |
| | | * @param grid |
| | | * @return |
| | | */ |
| | | List<GridEntity> getGridList(@Param("grid") GridVO grid); |
| | | } |
| | |
| | | |
| | | </select> |
| | | |
| | | <!--网格集合查询--> |
| | | <select id="getGridList" resultType="org.springblade.modules.grid.entity.GridEntity"> |
| | | SELECT * from jczz_grid |
| | | where is_deleted = 0 |
| | | <if test="grid.communityCode!=null and grid.communityCode!=''"> |
| | | and community_code = #{grid.communityCode} |
| | | </if> |
| | | order by sort asc |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | Object getGridTree(GridVO grid); |
| | | |
| | | Object gridInfoByHouseCode(String houseCode); |
| | | |
| | | /** |
| | | * 网格集合查询 |
| | | * @param grid |
| | | * @return |
| | | */ |
| | | Object getGridList(GridVO grid); |
| | | } |
| | |
| | | objectObjectHashMap.put("doorplateAddress", result); |
| | | return objectObjectHashMap; |
| | | } |
| | | |
| | | /** |
| | | * 网格集合查询 |
| | | * @param grid |
| | | * @return |
| | | */ |
| | | @Override |
| | | public Object getGridList(GridVO grid) { |
| | | return baseMapper.getGridList(grid); |
| | | } |
| | | } |