修改文件接收方式
This commit is contained in:
parent
24e6545e01
commit
3678e13693
@ -42,7 +42,7 @@ public class FileController {
|
||||
* @throws IOException
|
||||
*/
|
||||
@PostMapping("/insertFileExcel")
|
||||
public String insertFileExcel(@RequestBody FileQo fileQo, @RequestParam("fileExcel") MultipartFile fileExcel) throws IOException {
|
||||
public String insertFileExcel(FileQo fileQo, @RequestParam("fileExcel") MultipartFile fileExcel) throws IOException {
|
||||
return fileService.insertFileExcel(fileQo, fileExcel);
|
||||
}
|
||||
|
||||
@ -56,7 +56,7 @@ public class FileController {
|
||||
*/
|
||||
@PostMapping("/updateFileUploadPath")
|
||||
@Transactional(rollbackOn = Exception.class)
|
||||
public String updateFileUploadPath(@RequestBody FileQo fileQo, @RequestParam("fileExcel") MultipartFile fileExcel) throws IOException {
|
||||
public String updateFileUploadPath(FileQo fileQo, @RequestParam("fileExcel") MultipartFile fileExcel) throws IOException {
|
||||
String lotNo = fileQo.getLotNo();
|
||||
String machineNo = fileQo.getMachineNo();
|
||||
String materialNo = fileQo.getMaterialNo();
|
||||
|
Loading…
Reference in New Issue
Block a user