| | |
| | | *******************************************************************************************************/ |
| | | @ApiOperation(value = "任务报名列表", response = NeedProblemClaimDTO.class) |
| | | @GetMapping("/getNeedClaimList") |
| | | public R getNeedClaimList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "taskId", required = false) String taskId, |
| | | public R getNeedClaimList(@RequestParam(value = "taskId", required = false) String taskId, |
| | | @RequestParam(value = "userId", required = false) String userId, |
| | | @RequestParam(value = "unitId", required = false) String unitId) |
| | | { |
| | | return newStriveForFeign.getNeedClaimList(pageNum,pageSize,taskId,userId,unitId); |
| | | return newStriveForFeign.getNeedClaimList(taskId,userId,unitId); |
| | | } |
| | | |
| | | @ApiOperation(value = "任务报名详情", response = NeedProblemClaimDTO.class) |
| | |
| | | * |
| | | *******************************************************************************************************/ |
| | | @GetMapping("/NeedClaim/getNeedClaimList") |
| | | public R getNeedClaimList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "taskId", required = false) String taskId, |
| | | public R getNeedClaimList(@RequestParam(value = "taskId", required = false) String taskId, |
| | | @RequestParam(value = "userId", required = false) String userId, |
| | | @RequestParam(value = "unitId", required = false) String unitId); |
| | | |
| | |
| | | private NeedProblemClaimService claimService; |
| | | |
| | | @GetMapping("/getNeedClaimList") |
| | | public R getNeedClaimList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | public R getNeedClaimList( |
| | | @RequestParam(value = "taskId", required = false) String taskId, |
| | | @RequestParam(value = "userId", required = false) String userId, |
| | | @RequestParam(value = "unitId", required = false) String unitId) |
| | | { |
| | | return R.ok(claimService.getList(pageNum,pageSize,taskId,userId,unitId)); |
| | | return R.ok(claimService.getList(taskId,userId,unitId)); |
| | | } |
| | | |
| | | @GetMapping("/getNeedClaimDetails") |
| | |
| | | public interface NeedProblemClaimDAO extends BaseMapper<NeedProblemClaimDTO> |
| | | { |
| | | |
| | | IPage<NeedProblemClaimDTO> getList(Page page,@Param("taskId") String taskId, |
| | | IPage<NeedProblemClaimDTO> getList(@Param("taskId") String taskId, |
| | | @Param("userId") String userId, |
| | | @Param("unitId") String unitId); |
| | | |
| | |
| | | public interface NeedProblemClaimService |
| | | { |
| | | |
| | | IPage<NeedProblemClaimDTO> getList(int pageNum, int pageSize, String taskId, String userId,String unitId); |
| | | IPage<NeedProblemClaimDTO> getList(String taskId, String userId,String unitId); |
| | | |
| | | NeedProblemClaimDTO getDetails(String id); |
| | | |
| | |
| | | private NeedProblemInventoryService inventoryService; |
| | | |
| | | @Override |
| | | public IPage<NeedProblemClaimDTO> getList(int pageNum, int pageSize, |
| | | String taskId, String userId,String unitId) |
| | | public IPage<NeedProblemClaimDTO> getList(String taskId, String userId,String unitId) |
| | | { |
| | | Page page = new Page<>(pageNum,pageSize); |
| | | return baseMapper.getList(page,taskId,userId,unitId); |
| | | // Page page = new Page<>(pageNum,pageSize); |
| | | return baseMapper.getList(taskId,userId,unitId); |
| | | } |
| | | |
| | | @Override |