| | |
| | | GridmanEntity detail = gridmanService.getOne(Condition.getQueryWrapper(gridman)); |
| | | return R.data(GridmanWrapper.build().entityVO(detail)); |
| | | } |
| | | |
| | | /** |
| | | * 网格员表 自定义详情 |
| | | */ |
| | | @GetMapping("/getDetail") |
| | | public R<GridmanVO> getDetail(GridmanEntity gridman) { |
| | | return R.data(gridmanService.getDetail(gridman)); |
| | | } |
| | | /** |
| | | * 网格员表 分页 |
| | | */ |
| | |
| | | Integer getGridStatistics(String code, Long userId); |
| | | |
| | | Integer getCompanyStatistics(String code, Long userId); |
| | | |
| | | /** |
| | | * 网格员表 自定义详情 |
| | | */ |
| | | GridmanVO getDetail(@Param("gridman") GridmanEntity gridman); |
| | | } |
| | |
| | | </select> |
| | | |
| | | |
| | | <!--网格员表 自定义详情--> |
| | | <select id="getDetail" resultType="org.springblade.modules.grid.vo.GridmanVO"> |
| | | select |
| | | jgm.*,jg.community_code communityCode |
| | | from jczz_gridman jgm |
| | | left join jczz_grid jg on jg.id = jgm.grid_id and jg.is_deleted = 0 |
| | | where jgm.is_deleted = 0 |
| | | and jgm.id = #{gridman.id} |
| | | </select> |
| | | </mapper> |
| | |
| | | List<GridmanVO> getGridmanList(GridmanVO gridman); |
| | | |
| | | Object getGridStatistics(String code, String roleType); |
| | | |
| | | /** |
| | | * 网格员表 自定义详情 |
| | | */ |
| | | GridmanVO getDetail(GridmanEntity gridman); |
| | | } |
| | |
| | | } |
| | | return objectObjectHashMap; |
| | | } |
| | | |
| | | /** |
| | | * 网格员表 自定义详情 |
| | | */ |
| | | @Override |
| | | public GridmanVO getDetail(GridmanEntity gridman) { |
| | | return baseMapper.getDetail(gridman); |
| | | } |
| | | } |