xiaoyong931011
2022-03-17 128232e113567d1d1b84423bff8ade20ade8f4a4
src/main/resources/mapper/otc/OtcOrderDao.xml
@@ -99,7 +99,7 @@
    </select>
    <select id="selectOrderTotalAmount" resultType="java.math.BigDecimal">
        select sum(total_amount) from otc_order
        select IFNULL(sum(total_amount), 0) from otc_order
        where member_id=#{memberId} and status = 3
    </select>