Helius
2021-06-03 06bbe3130549b941be8c46564cf4b1e4c85edacb
src/main/resources/mapper/otc/OtcOrderDao.xml
@@ -66,10 +66,13 @@
    <select id="selectTotalOrderCount" resultType="java.lang.Integer">
        select count(1) from otc_order
        where entrust_member_id=#{entrustMemberId} and entrust_member_id!=member_id
        where member_id=#{entrustMemberId}
        <if test="status != null">
            and status = #{status}
        </if>
        <if test="type != null and type!=''">
            and order_type = #{type}
        </if>
    </select>
    <select id="selectMemberAvgPayTime" resultType="java.math.BigDecimal">