Helius
2022-05-09 92eadc582305983ae679ed80e5d9d9692bf4371b
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -172,4 +172,9 @@
        group by a.invite_id
         ) a
    </select>
    <select id="selectTotalAmount" resultType="java.math.BigDecimal">
        select IFNULL(sum(IFNULL(amount,0)),0) from mall_order_info
        where member_id=#{memberId} and status = 4
    </select>
</mapper>