|
|
@@ -34,8 +34,8 @@ public class HYCKTemplateImportController {
|
|
|
*/
|
|
|
@PostMapping("/importOne")
|
|
|
@RepeatSubmit
|
|
|
- public R<Bills> importHYCK(@RequestParam("file") MultipartFile file) throws Exception {
|
|
|
- return templateImportService.importOne(file);
|
|
|
+ public R<Bills> importHYCK(@RequestParam("file") MultipartFile file,@RequestParam("billId") Long billId) throws Exception {
|
|
|
+ return templateImportService.importOne(file,billId);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -43,8 +43,8 @@ public class HYCKTemplateImportController {
|
|
|
*/
|
|
|
@PostMapping("/importPilBooking")
|
|
|
@RepeatSubmit
|
|
|
- public R<Bills> importPilBooking(@RequestParam("file") MultipartFile file) throws Exception {
|
|
|
- return templateImportService.importPilBooking(file);
|
|
|
+ public R<Bills> importPilBooking(@RequestParam("file") MultipartFile file,@RequestParam("billId") Long billId) throws Exception {
|
|
|
+ return templateImportService.importPilBooking(file,billId);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -52,21 +52,21 @@ public class HYCKTemplateImportController {
|
|
|
*/
|
|
|
@PostMapping("/importPilCutOffOrders")
|
|
|
@RepeatSubmit
|
|
|
- public R<Bills> importPilCutOffOrders(@RequestParam("file") MultipartFile file) throws Exception {
|
|
|
- return templateImportService.importPilCutOffOrders(file);
|
|
|
+ public R<Bills> importPilCutOffOrders(@RequestParam("file") MultipartFile file,@RequestParam("billId") Long billId) throws Exception {
|
|
|
+ return templateImportService.importPilCutOffOrders(file,billId);
|
|
|
}
|
|
|
|
|
|
@PostMapping("/importHisenseBill")
|
|
|
@RepeatSubmit
|
|
|
- public R<Bills> importHisenseBill(@RequestParam("file") MultipartFile file) throws Exception {
|
|
|
- return templateImportService.importHisenseBill(file);
|
|
|
+ public R<Bills> importHisenseBill(@RequestParam("file") MultipartFile file,@RequestParam("billId") Long billId) throws Exception {
|
|
|
+ return templateImportService.importHisenseBill(file,billId);
|
|
|
}
|
|
|
/**
|
|
|
* 海运出口模版导入(海信组)
|
|
|
*/
|
|
|
@PostMapping("/importHisense")
|
|
|
- public R<List<Containers>> importHisense(@RequestParam("file") MultipartFile file) throws Exception {
|
|
|
- return templateImportService.importHisense(file);
|
|
|
+ public R<List<Containers>> importHisense(@RequestParam("file") MultipartFile file,@RequestParam("billId") Long billId) throws Exception {
|
|
|
+ return templateImportService.importHisense(file,billId);
|
|
|
}
|
|
|
|
|
|
}
|