Browse Source

4.1

recovery
hyy-alt 5 years ago
parent
commit
f5fcf5bc8d
  1. 2
      tall/src/main/java/com/ccsens/tall/bean/dto/InputDocDto.java
  2. 6
      tall/src/main/java/com/ccsens/tall/web/InputDocController.java

2
tall/src/main/java/com/ccsens/tall/bean/dto/InputDocDto.java

@ -59,7 +59,7 @@ public class InputDocDto {
@ApiModelProperty("任务id") @ApiModelProperty("任务id")
private Long taskId; private Long taskId;
@NotEmpty(message = "文档名称不能为空") @NotEmpty(message = "文档名称不能为空")
@ApiModelProperty("文名称") @ApiModelProperty("文名称")
private String[] fileName; private String[] fileName;
} }

6
tall/src/main/java/com/ccsens/tall/web/InputDocController.java

@ -30,9 +30,11 @@ import java.util.List;
@RestController @RestController
@RequestMapping("/inputDoc") @RequestMapping("/inputDoc")
public class InputDocController { public class InputDocController {
@Autowired @Autowired
private IInputDocService iInputDocService; private IInputDocService iInputDocService;
@MustLogin
/*@MustLogin
@ApiOperation(value = "添加输入文档", notes = "1007:添加输入文档") @ApiOperation(value = "添加输入文档", notes = "1007:添加输入文档")
@RequestMapping(value = "/addInputDoc", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) @RequestMapping(value = "/addInputDoc", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
public JsonResponse addInputDoc(@ApiParam @Validated @RequestBody QueryDto<InputDocDto.AddAddInputDoc> params) { public JsonResponse addInputDoc(@ApiParam @Validated @RequestBody QueryDto<InputDocDto.AddAddInputDoc> params) {
@ -40,7 +42,7 @@ public class InputDocController {
//iInputDocService.addInputDoc(params.getParam(),params.getUserId()); //iInputDocService.addInputDoc(params.getParam(),params.getUserId());
log.info("添加输入文档"); log.info("添加输入文档");
return JsonResponse.newInstance().ok(); return JsonResponse.newInstance().ok();
} }*/
@MustLogin @MustLogin
@ApiOperation(value = "通过任务id查询输入文档", notes = "1007:通过任务id查询输入文档") @ApiOperation(value = "通过任务id查询输入文档", notes = "1007:通过任务id查询输入文档")

Loading…
Cancel
Save