Helius
2021-06-01 0f8787a1812355e47108f73569e7c0e8eecff289
modify
2 files modified
4 ■■■■ changed files
src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcEntrustOrderServiceImpl.java 2 ●●● patch | view | raw | blame | history
src/main/resources/mapper/otc/OtcEntrustOrderDao.xml 2 ●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcEntrustOrderServiceImpl.java
@@ -221,7 +221,7 @@
            detail.setOrderCnt(mb.getSaleOrderCnt());
            detail.setFinishRatio(mb.getSaleFinishRatio());
        } else {
            detail.setOrderCnt(mb.getTotalOrderCnt());
            detail.setOrderCnt(mb.getBuyOrderCnt());
            detail.setFinishRatio(mb.getFinishRatio());
        }
        detail.setPayType(defualtMethod.getPaymentType());
src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
@@ -11,7 +11,7 @@
            ,a.remain_coin_amount amount
            ,a.limit_min_amount min
            ,a.limit_max_amount max
            ,case when a.order_type = 'B' then b.total_order_cnt
            ,case when a.order_type = 'B' then b.buy_order_cnt
                  when a.order_type = 'S' then b.sale_order_cnt end orderCnt
            ,case when a.order_type = 'B' then b.finish_ratio
                  when a.order_type = 'S' then b.sale_finish_ratio end finishRatio