This commit is contained in:
老齐 2024-06-17 18:13:38 +08:00
parent d2958d9a25
commit ede2f2e8fb
1 changed files with 25 additions and 25 deletions

View File

@ -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();
// } }
} }