|
|
|
@ -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, ""); |
|
|
|
|