|
|
@ -133,14 +133,14 @@ public class DeliverController { |
|
|
|
@OperateType(value = 8) |
|
|
|
@ApiOperation(value = "删除交付物",notes = "") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name="deliverId",value = "交付物Id",required = true,paramType = "query",dataType="String"), |
|
|
|
@ApiImplicitParam(name="deliverId",value = "交付物上传Id",required = true,paramType = "query",dataType="String"), |
|
|
|
@ApiImplicitParam(name="taskId",value = "任务Id",required = true,paramType = "query",dataType="String") |
|
|
|
}) |
|
|
|
@RequestMapping(value = "", method = RequestMethod.DELETE, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse deleteDeliver(HttpServletRequest request, |
|
|
|
@RequestParam(required = true)Long deliverId, Long taskId) throws Exception { |
|
|
|
@RequestParam(required = true)Long deliverLogId, Long taskId) throws Exception { |
|
|
|
Long currentUserId = Long.valueOf(((Claims) request.getAttribute(WebConstant.REQUEST_KEY_CLAIMS)).getSubject()); |
|
|
|
deliverService.deleteDeliver(currentUserId,deliverId,taskId); |
|
|
|
deliverService.deleteDeliver(currentUserId,deliverLogId,taskId); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|