|
|
@ -54,6 +54,14 @@ public class TopicController { |
|
|
|
@Autowired |
|
|
|
private TopicService topicService; |
|
|
|
|
|
|
|
/** |
|
|
|
* PC端 - 物业群话题管理 - 列表分页 |
|
|
|
* |
|
|
|
* @param params |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.commons.tools.page.PageData < com.elink.esua.epdc.smile.dto.topic.TopicDTO>> |
|
|
|
* @author |
|
|
|
* @date 2020/7/3 17:31 |
|
|
|
*/ |
|
|
|
@GetMapping("page") |
|
|
|
@DataFilter(tableAlias = "temp", deptId = "grid_id", prefix = "AND", isPendingCreator = false) |
|
|
|
public Result<PageData<TopicDTO>> page(@RequestParam Map<String, Object> params) { |
|
|
@ -61,6 +69,14 @@ public class TopicController { |
|
|
|
return new Result<PageData<TopicDTO>>().ok(page); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* PC端 - 警民群话题管理 - 列表分页 |
|
|
|
* |
|
|
|
* @param params |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.commons.tools.page.PageData < com.elink.esua.epdc.smile.dto.topic.TopicDTO>> |
|
|
|
* @author work@yujt.net.cn |
|
|
|
* @date 2020/7/3 17:32 |
|
|
|
*/ |
|
|
|
@GetMapping("policepage") |
|
|
|
@DataFilter(tableAlias = "temp", deptId = "grid_id", prefix = "AND", isPendingCreator = false) |
|
|
|
public Result<PageData<TopicDTO>> policePage(@RequestParam Map<String, Object> params) { |
|
|
@ -98,6 +114,15 @@ public class TopicController { |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* PC端 - 物业群话题管理 - 导出 |
|
|
|
* |
|
|
|
* @param params |
|
|
|
* @param response |
|
|
|
* @return void |
|
|
|
* @author |
|
|
|
* @date 2020/7/3 17:33 |
|
|
|
*/ |
|
|
|
@GetMapping("export") |
|
|
|
@DataFilter(tableAlias = "temp", deptId = "grid_id", prefix = "AND", isPendingCreator = false) |
|
|
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
|
|
@ -105,6 +130,15 @@ public class TopicController { |
|
|
|
ExcelUtils.exportExcelToTarget(response, null, list, TopicExcel.class); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* PC端 - 警民群话题管理 - 导出 |
|
|
|
* |
|
|
|
* @param params |
|
|
|
* @param response |
|
|
|
* @return void |
|
|
|
* @author |
|
|
|
* @date 2020/7/3 17:33 |
|
|
|
*/ |
|
|
|
@GetMapping("policeexport") |
|
|
|
@DataFilter(tableAlias = "temp", deptId = "grid_id", prefix = "AND", isPendingCreator = false) |
|
|
|
public void exportPolice(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
|
|
|