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