Administrator
2025-04-28 f9b4527fa9874be8d72b23b8d2aada617b0bdc71
src/main/java/cc/mrbird/febs/mall/service/impl/MallInvoiceServiceImpl.java
@@ -162,6 +162,10 @@
    @Transactional
    public FebsResponse updateOrderDetail(Long id) {
        MallInvoice mallInvoice = this.baseMapper.selectById(id);
        if(ObjectUtil.isEmpty(mallInvoice.getFapiaoApplyId())){
            return new FebsResponse().fail().message("订单的支付方式不是微信支付。");
        }
        String fapiaoApplyId = mallInvoice.getFapiaoApplyId();
        MallOrderInfo mallOrderInfo = mallOrderInfoMapper.selectBypayOrderNo(fapiaoApplyId);
        if(OrderStatusEnum.FINISH.getValue() != mallOrderInfo.getStatus()){