xiaoyong931011
2023-01-05 a3daea7a022be8fde35b8c9af8aca7608f77624f
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -323,7 +323,7 @@
            count(a.id)
        from mall_order_info a
        where
              a.status <![CDATA[>= ]]> 4
              a.status = 4
            and a.member_id = #{memberId}
            <if test="createdTime != null">
                and date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createdTime}
@@ -336,7 +336,7 @@
                ifnull(sum(a.subsidy_amount),0)
            from mall_order_info a
            where
                  a.status <![CDATA[>= ]]> 4
                  a.status = 4
                and a.member_id = #{memberId}
            <if test="createdTime != null">
                and date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createdTime}