提交代码

new-dev
胡锐 1 year ago
parent c07a4b655e
commit b130339b93
  1. 4
      hai-bweb/src/main/java/com/bweb/controller/HighOrderController.java

@ -73,11 +73,11 @@ public class HighOrderController {
@RequestMapping(value = "/print", method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "打印")
public ResponseData print(@RequestParam(name = "orderId", required = true) Long orderId,
public ResponseData print(@RequestParam(name = "orderNo", required = true) String orderNo,
@RequestParam(name = "printType", required = true) Integer printType) {
try {
HighOrder order = highOrderService.getOrderById(orderId);
HighOrder order = highOrderService.getOrderByOrderNo(orderNo);
if (order == null) {
log.error("HighCouponController -> getCouponList() error!","权限不足");
throw ErrorHelp.genException(SysCode.System, ErrorCode.NOT_FOUND_ORDER, "");

Loading…
Cancel
Save