| | |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | import com.panzhihua.common.model.dtos.civil.*; |
| | | import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO; |
| | | import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO; |
| | | import com.panzhihua.common.model.dtos.community.*; |
| | |
| | | import com.panzhihua.common.model.dtos.community.elder.SignElderAuthStatisticDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.*; |
| | | import com.panzhihua.common.model.vos.*; |
| | | import com.panzhihua.common.model.vos.civil.ComActSocialWorkerDetailsVO; |
| | | import com.panzhihua.common.model.vos.community.*; |
| | | import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | */ |
| | | @GetMapping("/comActSocialMember/del") |
| | | public R comActSocialMemberDelete(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 新增社工 |
| | | * @param comActSocialWorkerAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/comactsocialworker/add") |
| | | R addComactsocialworker(@RequestBody ComActSocialWorkerAddDTO comActSocialWorkerAddDTO); |
| | | |
| | | /** |
| | | * 修改社工 |
| | | * @param comActSocialWorkerEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/comactsocialworker/edit") |
| | | R editComactsocialworker(@RequestBody ComActSocialWorkerEditDTO comActSocialWorkerEditDTO); |
| | | |
| | | /** |
| | | * 分页查找社工 |
| | | * @param pageComActSocialWorkerDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/comactsocialworker/page") |
| | | R queryComactsocialworker(@RequestBody PageComActSocialWorkerDTO pageComActSocialWorkerDTO);//返回 R<IPage<ComActSocialWorkerVO>> |
| | | |
| | | /** |
| | | * 删除社工 |
| | | * @param comActSocialWorkerDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/comactsocialworker/delete") |
| | | R deleteComactsocialworker(@RequestBody ComActSocialWorkerDeleteDTO comActSocialWorkerDeleteDTO); |
| | | |
| | | /** |
| | | * 查询社工详细信息 |
| | | * @param id 社工 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/comactsocialworker/{id}") |
| | | R<ComActSocialWorkerDetailsVO> comActSocialWorkerDetails(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 批量导入社工 |
| | | * |
| | | * @param list 社工集合 |
| | | */ |
| | | @PostMapping("/comactsocialworker/input") |
| | | R listSaveSocialWorkerExcelVO(@RequestBody List<ComActSocialWorkerExcelVO> list, @RequestParam("communityId") Long communityId); |
| | | } |