|
@@ -304,6 +304,14 @@ public class AMScontroller extends BaseRESTfulController {
|
|
|
return amsFeign.purchaseTrainPlanDelete(map);
|
|
return amsFeign.purchaseTrainPlanDelete(map);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation(value = "采购火运计划批量删除接口", notes = "采购火运计划批量删除接口")
|
|
|
|
|
+ @PostMapping(value = "/purchaseTrainPlanBatchDel")
|
|
|
|
|
+ @LogAround(foreignKeys = {"transPlanId"},foreignKeyTypes = {"采购计划"})
|
|
|
|
|
+ public Map<String, Object> purchaseTrainPlanBatchDel(@RequestBody(required = false) Map<String ,Object> map) {
|
|
|
|
|
+ return amsFeign.purchaseTrainPlanBatchDel(map);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@ApiOperation(value="同步销售订单") @ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
@ApiOperation(value="同步销售订单") @ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
@PostMapping(value = "/saleOrderSync")
|
|
@PostMapping(value = "/saleOrderSync")
|
|
|
@LogAround(foreignKeys = {"orderId"}, foreignKeyTypes = {"销售订单"})
|
|
@LogAround(foreignKeys = {"orderId"}, foreignKeyTypes = {"销售订单"})
|
|
@@ -970,4 +978,25 @@ public class AMScontroller extends BaseRESTfulController {
|
|
|
public Map<String, Object> readFixedNeedsExcel(MultipartFile file) throws Exception {
|
|
public Map<String, Object> readFixedNeedsExcel(MultipartFile file) throws Exception {
|
|
|
return amsFeign.readFixedNeedsExcel(file);
|
|
return amsFeign.readFixedNeedsExcel(file);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("导入")
|
|
|
|
|
+ @PostMapping("/importTransPrice")
|
|
|
|
|
+ public Map<String, Object> importTransPrice(@RequestBody MultipartFile file,
|
|
|
|
|
+ String userId,
|
|
|
|
|
+ String userName) throws Exception {
|
|
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
|
|
+ //获取Excel中包含的对象数组
|
|
|
|
|
+ List<Map<String, Object>> list = ExcelToolUtils.getExcelList(file, 0);
|
|
|
|
|
+ map.put("list", list);
|
|
|
|
|
+ map.put("setList",list);
|
|
|
|
|
+ map.put("userId",userId);
|
|
|
|
|
+ map.put("userName",userName);
|
|
|
|
|
+ return amsFeign.importTransPrice(map);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("派车")
|
|
|
|
|
+ @PostMapping("/dispatch")
|
|
|
|
|
+ public Map<String, Object> dispatch() throws Exception {
|
|
|
|
|
+ return amsFeign.dispatch();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|