|
|
@ -218,9 +218,9 @@ public class OrderHandleController { |
|
|
|
if (fpqqlshList == null || fpqqlshList.isEmpty()) { |
|
|
|
if (fpqqlshList == null || fpqqlshList.isEmpty()) { |
|
|
|
return R.error("发票请求流水号不能为空"); |
|
|
|
return R.error("发票请求流水号不能为空"); |
|
|
|
} |
|
|
|
} |
|
|
|
orderHandleService.createOrderByCopyInvoice(fpqqlshList.get(ConfigureConstant.INT_0), shList, entList,orderBatchQuery.getFpzldm()); |
|
|
|
String ddh = orderHandleService.createOrderByCopyInvoice(fpqqlshList.get(ConfigureConstant.INT_0), shList, entList,orderBatchQuery.getFpzldm()); |
|
|
|
|
|
|
|
|
|
|
|
return R.ok().put(ConfigureConstant.MSG, "订单复制成功"); |
|
|
|
return R.ok().put(ConfigureConstant.MSG, "订单复制成功,请前往订单管理-订单处理使用订单号:"+ddh+"查询"); |
|
|
|
} catch (OrderReceiveException e) { |
|
|
|
} catch (OrderReceiveException e) { |
|
|
|
log.error("发票复制订单异常", e); |
|
|
|
log.error("发票复制订单异常", e); |
|
|
|
return R.error(e.getMessage()); |
|
|
|
return R.error(e.getMessage()); |
|
|
|