Helius
2021-06-04 b851bab9fdd923e2f6b569a3fdcabb5738a47e88
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">