This commit is contained in:
parent
d2958d9a25
commit
ede2f2e8fb
|
|
@ -214,29 +214,29 @@ public class EwaybillController extends BaseController {
|
||||||
return success();
|
return success();
|
||||||
}
|
}
|
||||||
|
|
||||||
// @PostMapping("/get_print_data")
|
@PostMapping("/get_print_data")
|
||||||
// @ResponseBody
|
@ResponseBody
|
||||||
// public AjaxResult getPrintData(@RequestBody TaoWaybillGetBo req) {
|
public AjaxResult getPrintData(@RequestBody PddWaybillGetBo req) {
|
||||||
// if (req.getShopId() == null || req.getShopId() <= 0) {
|
if (req.getShopId() == null || req.getShopId() <= 0) {
|
||||||
// return AjaxResult.error(HttpStatus.PARAMS_ERROR, "参数错误,没有店铺Id");
|
return AjaxResult.error(HttpStatus.PARAMS_ERROR, "参数错误,没有店铺Id");
|
||||||
// }
|
}
|
||||||
// if (req.getIds() == null || req.getIds().length <= 0) {
|
if (req.getIds() == null || req.getIds().length <= 0) {
|
||||||
// return AjaxResult.error(HttpStatus.PARAMS_ERROR, "参数错误,没有选择订单");
|
return AjaxResult.error(HttpStatus.PARAMS_ERROR, "参数错误,没有选择订单");
|
||||||
// }
|
}
|
||||||
// List<ErpShipWaybill> listByOrderIds = erpShipWaybillService.getListByOrderIds(req.getShopId(), req.getIds());
|
List<ErpShipWaybill> listByOrderIds = erpShipWaybillService.getListByOrderIds(req.getShopId(), req.getIds());
|
||||||
// return AjaxResult.success(listByOrderIds);
|
return AjaxResult.success(listByOrderIds);
|
||||||
// }
|
}
|
||||||
//
|
|
||||||
// @PostMapping("/push_print_success")
|
@PostMapping("/push_print_success")
|
||||||
// @ResponseBody
|
@ResponseBody
|
||||||
// public AjaxResult pushPrintSuccess(@RequestBody TaoWaybillGetBo req) {
|
public AjaxResult pushPrintSuccess(@RequestBody PddWaybillGetBo req) {
|
||||||
// if (req.getShopId() == null || req.getShopId() <= 0) {
|
if (req.getShopId() == null || req.getShopId() <= 0) {
|
||||||
// return AjaxResult.error(HttpStatus.PARAMS_ERROR, "参数错误,没有店铺Id");
|
return AjaxResult.error(HttpStatus.PARAMS_ERROR, "参数错误,没有店铺Id");
|
||||||
// }
|
}
|
||||||
// if (req.getIds() == null || req.getIds().length <= 0) {
|
if (req.getIds() == null || req.getIds().length <= 0) {
|
||||||
// return AjaxResult.error(HttpStatus.PARAMS_ERROR, "参数错误,没有选择订单");
|
return AjaxResult.error(HttpStatus.PARAMS_ERROR, "参数错误,没有选择订单");
|
||||||
// }
|
}
|
||||||
// erpShipWaybillService.printSuccess(req.getShopId(), req.getIds());
|
erpShipWaybillService.printSuccess(req.getShopId(), req.getIds());
|
||||||
// return AjaxResult.success();
|
return AjaxResult.success();
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue