1.添加时间范围验证
2.附件上传时间自动更新,报告出具时间
This commit is contained in:
@@ -39,9 +39,14 @@ public class SupvFileController extends BaseController {
|
||||
@PostMapping("planUpload")
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON,operateType = OperateType.UPLOAD)
|
||||
@ApiOperation("监督计划问题附件上传")
|
||||
public HttpResult<Object> planUpload(@ApiParam(value = "文件", required = true) @RequestPart("files") MultipartFile file, @RequestParam("planId") String planId, @RequestParam("type") Integer type,@RequestParam("attachmentType")String attachmentType){
|
||||
public HttpResult<Object> planUpload(@ApiParam(value = "文件", required = true) @RequestPart("files") MultipartFile file,
|
||||
@RequestParam("planId") String planId,
|
||||
@RequestParam("type") Integer type,
|
||||
@RequestParam("attachmentType")String attachmentType,
|
||||
@RequestParam("uploadTime")String uploadTime
|
||||
){
|
||||
String methodDescribe = getMethodDescribe("planUpload");
|
||||
iSupvFileService.planUpload(file,planId,type,attachmentType);
|
||||
iSupvFileService.planUpload(file,planId,type,attachmentType,uploadTime);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user