|
|
@ -7,6 +7,7 @@ import com.ccsens.tall.bean.dto.LabelDto; |
|
|
|
import com.ccsens.tall.bean.vo.InputDocVo; |
|
|
|
import com.ccsens.tall.bean.vo.LabelVo; |
|
|
|
import com.ccsens.tall.service.IInputDocService; |
|
|
|
import com.ccsens.tall.service.TaskDeliverService; |
|
|
|
import com.ccsens.util.JsonResponse; |
|
|
|
import com.ccsens.util.WebConstant; |
|
|
|
import com.ccsens.util.annotation.OperateType; |
|
|
@ -37,6 +38,9 @@ public class InputDocController { |
|
|
|
@Resource |
|
|
|
private IInputDocService iInputDocService; |
|
|
|
|
|
|
|
@Resource |
|
|
|
private TaskDeliverService taskDeliverService; |
|
|
|
|
|
|
|
/*@MustLogin |
|
|
|
@ApiOperation(value = "添加输入文档", notes = "1007:添加输入文档") |
|
|
|
@RequestMapping(value = "/addInputDoc", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
@ -88,6 +92,40 @@ public class InputDocController { |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
@MustLoginTall |
|
|
|
@ApiOperation(value = "删除输入文档", notes = "1007:删除输入文档") |
|
|
|
@RequestMapping(value = "/deleteDoc", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse deleteDoc(@ApiParam @Validated @RequestBody QueryDto<InputDocDto.DeleteDoc> params) { |
|
|
|
log.info("删除输入文档:{}",params); |
|
|
|
iInputDocService.deleteDoc(params.getParam()); |
|
|
|
log.info("删除输入文档"); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
@MustLoginTall |
|
|
|
@ApiOperation(value = "添加交付物", notes = "1007:添加交付物") |
|
|
|
@RequestMapping(value = "/addTaskDeliver", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse addTaskDeliver(@ApiParam @Validated @RequestBody QueryDto<InputDocDto.addTaskDeliver> params) { |
|
|
|
log.info("添加交付物:{}",params); |
|
|
|
taskDeliverService.addTaskDeliver(params.getParam()); |
|
|
|
log.info("添加交付物"); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
@MustLoginTall |
|
|
|
@ApiOperation(value = "删除交付物", notes = "1007:删除交付物") |
|
|
|
@RequestMapping(value = "/deleteTaskDeliver", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse deleteTaskDeliver(@ApiParam @Validated @RequestBody QueryDto<InputDocDto.deleteTaskDeliver> params) { |
|
|
|
log.info("删除交付物:{}",params); |
|
|
|
taskDeliverService.deleteTaskDeliver(params.getParam()); |
|
|
|
log.info("删除交付物"); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "修改输入文档", notes = "1007:修改输入文档") |
|
|
|
@RequestMapping(value = "/updateDoc", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
@ -108,6 +146,8 @@ public class InputDocController { |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperateType(value = 16) |
|
|
|
@MustLoginTall |
|
|
|
@ApiOperation(value = "删除输入文档中的文件", notes = "1007:删除输入文档中的文件") |
|
|
|