fix
Helius
2022-05-10 5d17f725bb5bb51108aaba4230b5a0e5789a825d
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -55,6 +55,7 @@
        <result column="address" property="address" />
        <result column="longitude" property="longitude" />
        <result column="latitude" property="latitude" />
        <result column="order_type" property="orderType" />
        <result column="remark" property="remark" />
        <result column="del_flag" property="delFlag" />
        <collection property="items" ofType="cc.mrbird.febs.mall.entity.MallOrderItem">
@@ -174,7 +175,7 @@
    </select>
    <select id="selectTotalAmount" resultType="java.math.BigDecimal">
        select sum(amount) from mall_order_info
        select IFNULL(sum(IFNULL(amount,0)),0) from mall_order_info
        where member_id=#{memberId} and status = 4
    </select>
</mapper>