Helius
2021-05-21 53eb8720b96e1ce038a887695d5a6542c1c2e7fe
modify
1 files modified
2 ■■■■■ changed files
src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcOrderServiceImpl.java 2 ●●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcOrderServiceImpl.java
@@ -341,6 +341,8 @@
        if (!OtcOrder.STATUS_SUBMIT.equals(otcOrder.getStatus())) {
            throw new GlobalException("不能取消");
        }
        otcEntrustOrderDao.updateRemainAmount(otcOrder.getEntrustOrderId(), otcOrder.getCoinAmount());
        this.baseMapper.updateOrderStatusByOrderNo(OtcOrder.STATUS_CANCEL, null, otcOrder.getOrderNo());
    }
}