|
|
|
@ -7,6 +7,7 @@ import com.ccsens.common.bean.vo.CDeliverVo; |
|
|
|
import com.ccsens.common.service.IDeliverService; |
|
|
|
import com.ccsens.util.JsonResponse; |
|
|
|
import com.ccsens.util.bean.dto.QueryDto; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import io.swagger.annotations.ApiParam; |
|
|
|
@ -68,8 +69,8 @@ public class DeliverController { |
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "查询项目的交付物历史记录", notes = "") |
|
|
|
@RequestMapping(value = "/queryDeliverOfProject", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<CDeliverVo.DeliverOfProject> queryDeliverOfProject(@ApiParam @Validated @RequestBody QueryDto<CDeliverDto.QueryDeliverOfProject> params) throws Exception{ |
|
|
|
CDeliverVo.DeliverOfProject deliverOfTask = deliverService.queryDeliverOfProject(params.getParam(), params.getUserId()); |
|
|
|
return JsonResponse.newInstance().ok(deliverOfTask); |
|
|
|
public JsonResponse<PageInfo<CDeliverVo.DeliverOfProject>> queryDeliverOfProject(@ApiParam @Validated @RequestBody QueryDto<CDeliverDto.QueryDeliverOfProject> params) throws Exception{ |
|
|
|
PageInfo<CDeliverVo.DeliverOfTask> deliverOfProject = deliverService.queryDeliverOfProject(params.getParam(), params.getUserId()); |
|
|
|
return JsonResponse.newInstance().ok(deliverOfProject); |
|
|
|
} |
|
|
|
} |
|
|
|
|