|
|
@ -18,6 +18,8 @@ import com.dxhy.order.baseservice.constant.OrderValidateEnum; |
|
|
|
import com.dxhy.order.baseservice.model.OrderInvoiceInfo; |
|
|
|
import com.dxhy.order.baseservice.model.OrderInvoiceInfo; |
|
|
|
import com.dxhy.order.baseservice.utils.OrderCommonUtils; |
|
|
|
import com.dxhy.order.baseservice.utils.OrderCommonUtils; |
|
|
|
import com.dxhy.order.consumer.model.page.PageRequestVO; |
|
|
|
import com.dxhy.order.consumer.model.page.PageRequestVO; |
|
|
|
|
|
|
|
import com.dxhy.order.consumer.modules.bespoke.model.req.ReqParam; |
|
|
|
|
|
|
|
import com.dxhy.order.consumer.modules.bespoke.service.OrderHandleService; |
|
|
|
import com.dxhy.order.consumer.modules.manager.service.InvoiceService; |
|
|
|
import com.dxhy.order.consumer.modules.manager.service.InvoiceService; |
|
|
|
import com.dxhy.order.consumer.modules.order.model.PageInvoiceReq; |
|
|
|
import com.dxhy.order.consumer.modules.order.model.PageInvoiceReq; |
|
|
|
import com.dxhy.order.consumer.modules.order.model.PageOrderReq; |
|
|
|
import com.dxhy.order.consumer.modules.order.model.PageOrderReq; |
|
|
@ -74,6 +76,9 @@ public class OrderInvoiceController { |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private SpecialInvoiceReversalService specialInvoiceReversalService; |
|
|
|
private SpecialInvoiceReversalService specialInvoiceReversalService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private OrderHandleService orderHandleService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 异常订单直接开票接口 |
|
|
|
* 异常订单直接开票接口 |
|
|
@ -378,6 +383,12 @@ public class OrderInvoiceController { |
|
|
|
if (success < 0) { |
|
|
|
if (success < 0) { |
|
|
|
errorMsgList.append(preStr).append("数据删除失败").append("\r\n"); |
|
|
|
errorMsgList.append(preStr).append("数据删除失败").append("\r\n"); |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
ReqParam reqParam = new ReqParam(); |
|
|
|
|
|
|
|
reqParam.setNsrsbh(nsrsbh); |
|
|
|
|
|
|
|
reqParam.setEntId(orderProcessInfo.getEntId()); |
|
|
|
|
|
|
|
reqParam.setDdh(orderProcessInfo.getDdh()); |
|
|
|
|
|
|
|
orderHandleService.delOrderByDdh(reqParam); |
|
|
|
} |
|
|
|
} |
|
|
|
//如果是红票数据,并且是专票,需要更新红字信息表数据
|
|
|
|
//如果是红票数据,并且是专票,需要更新红字信息表数据
|
|
|
|
// 红字专票 作废后修改申请单的状态为未开票
|
|
|
|
// 红字专票 作废后修改申请单的状态为未开票
|
|
|
|