| | |
| | | public R getNeedProblemList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "search", required = false)String search, |
| | | @RequestParam(value = "classifyId", required = false)String classifyId, |
| | | @RequestParam(value = "status", required = false)String status, |
| | | @RequestParam(value = "kind", required = false)String kind, |
| | | @RequestParam(value = "userId", required = false)String userId, |
| | | @RequestParam(value = "communityId", required = false)String communityId) |
| | | { |
| | | return newStriveForFeign.getNeedProblemList(pageNum,pageSize,search,status,kind,userId,getUserId()+"",communityId); |
| | | return newStriveForFeign.getNeedProblemList(pageNum,pageSize,search,classifyId,status,kind,userId,getUserId()+"",communityId); |
| | | } |
| | | |
| | | |
| | |
| | | public R getNeedProblemList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "search", required = false)String search, |
| | | @RequestParam(value = "classifyId", required = false)String classifyId, |
| | | @RequestParam(value = "status", required = false)String status, |
| | | @RequestParam(value = "kind", required = false)String kind, |
| | | @RequestParam(value = "userId", required = false)String userId, |
| | |
| | | public R getNeedProblemList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "search", required = false)String search, |
| | | @RequestParam(value = "classifyId", required = false)String classifyId, |
| | | @RequestParam(value = "status", required = false)String status, |
| | | @RequestParam(value = "kind", required = false)String kind, |
| | | @RequestParam(value = "userId", required = false)String userId, |
| | | @RequestParam(value = "userIds", required = false)String userIds, |
| | | @RequestParam(value = "communityId", required = false)String communityId) |
| | | { |
| | | return R.ok(inventoryService.getList(pageNum,pageSize,search,status,kind,userId,userIds,communityId)); |
| | | return R.ok(inventoryService.getList(pageNum,pageSize,search,classifyId,status,kind,userId,userIds,communityId)); |
| | | } |
| | | |
| | | @GetMapping("/getMyJoinNeedProblemList") |
| | |
| | | |
| | | IPage<NeedProblemInventoryDTO> getList(Page page, |
| | | @Param("search") String search, |
| | | @Param("classifyId") String classifyId, |
| | | @Param("status") String status, |
| | | @Param("kind") String kind, |
| | | @Param("userId") String userId, |
| | |
| | | { |
| | | |
| | | IPage<NeedProblemInventoryDTO> getList(int pageNum, int pageSize, |
| | | String search,String status, |
| | | String search, |
| | | String classifyId, |
| | | String status, |
| | | String kind, |
| | | String userId, |
| | | String userIds, |
| | |
| | | { |
| | | |
| | | @Override |
| | | public IPage<NeedProblemInventoryDTO> getList(int pageNum, int pageSize,String search,String status, |
| | | public IPage<NeedProblemInventoryDTO> getList(int pageNum, int pageSize,String search,String classifyId,String status, |
| | | String kind, |
| | | String userId, |
| | | String userIds, |
| | | String communityId) |
| | | { |
| | | Page page = new Page<>(pageNum,pageSize); |
| | | return baseMapper.getList(page, search, status,kind,userId,userIds,communityId); |
| | | return baseMapper.getList(page, search, classifyId,status,kind,userId,userIds,communityId); |
| | | } |
| | | |
| | | @Override |
| | |
| | | nfpi.status, |
| | | 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 com_act_neighbor_circle_topic_new as canct on canct.id=nfpi.classify_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 != '' "> |
| | | and nfpi.title like concat ('%',#{search},'%') |
| | | </if> |
| | | <if test="classifyId !=null and classifyId != '' "> |
| | | and nfpi.classify_id=#{classifyId}, |
| | | </if> |
| | | <if test="status !=null and status != '' "> |
| | | and nfpi.status =#{status} |
| | | </if> |