|
|
@ -34,10 +34,11 @@ public class RelCodeBatchController extends BaseController {
|
|
|
|
private RelCodeBatchService relCodeBatchService;
|
|
|
|
private RelCodeBatchService relCodeBatchService;
|
|
|
|
|
|
|
|
|
|
|
|
@RepeatSubmit()
|
|
|
|
@RepeatSubmit()
|
|
|
|
|
|
|
|
@CusRedissonAnnotation(cacheName = RedissonCacheKey.XML_UPLOAD, key = {"#uuid"}, timeOutMsg = "系统正在处理,请勿重复上传")
|
|
|
|
@PostMapping("/udiwms/relCode/batch/xmlUpload")
|
|
|
|
@PostMapping("/udiwms/relCode/batch/xmlUpload")
|
|
|
|
public BaseResponse xmlUpload(@RequestBody RelCodeBatchRequest relCodeBatchRequest, @RequestParam("file") MultipartFile file) {
|
|
|
|
public BaseResponse xmlUpload(@RequestParam("uuid") String uuid,@RequestParam("file") MultipartFile file) {
|
|
|
|
relCodeBatchService.xmlUpload(file);
|
|
|
|
relCodeBatchService.xmlUpload(file);
|
|
|
|
return ResultVOUtils.success("保存成功!");
|
|
|
|
return ResultVOUtils.successMsg("上传成功!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/udiwms/relCode/batch/filter")
|
|
|
|
@GetMapping("/udiwms/relCode/batch/filter")
|
|
|
|