xiaoyong931011
2023-03-06 a5fb20e72d86c7d88ffd76a08ad6c98e4c4c1e98
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -347,7 +347,7 @@
                    inner join mall_member b on a.member_id=b.ID
                where 1=1
                <!-- 月 -->
                <if test="record.query == '2'">
                <if test="record.query == 2">
                    and date_format(#{record.createdTime},'%Y-%m') = date_format(a.achieve_time,'%Y-%m')
                </if>
                group by b.referrer_id