| | |
| | | @RequestParam(value = "userIds", required = false)String userIds, |
| | | @RequestParam(value = "communityId", required = false)String communityId) |
| | | { |
| | | return R.ok(inventoryService.getList(pageNum,pageSize,search,status,kind,userIds,userId,communityId)); |
| | | return R.ok(inventoryService.getList(pageNum,pageSize,search,status,kind,userId,userIds,communityId)); |
| | | } |
| | | |
| | | @GetMapping("/getMyJoinNeedProblemList") |
| | |
| | | IPage<NeedProblemInventoryDTO> getList(int pageNum, int pageSize, |
| | | String search,String status, |
| | | String kind, |
| | | String userIds, |
| | | String userId, |
| | | String userIds, |
| | | String communityId); |
| | | |
| | | IPage<NeedProblemInventoryDTO> getMyJoinList(int pageNum, int pageSize, |
| | |
| | | implements NeedProblemInventoryService |
| | | { |
| | | |
| | | |
| | | @Override |
| | | public IPage<NeedProblemInventoryDTO> getList(int pageNum, int pageSize,String search,String status, |
| | | String kind, |
| | |
| | | nfpi.user_id |
| | | FROM new_fight_need_problem_inventory as nfpi |
| | | left join com_act_neighbor_circle_topic as canct on canct.id=nfpi.classify_id |
| | | left join new_fight_need_problem_claim as nfnpc on nfnpc.task_id=nfpi.id |
| | | left join new_fight_need_problem_claim as nfnpc on nfnpc.task_id=nfpi.id and nfnpc.user_id=#{userIds} |
| | | <where> |
| | | 1=1 |
| | | <if test="search !=null and search != '' "> |