xiaoyong931011
2022-09-22 059a96cc2d59d68b6eaec7403c2e9da1bf7b6ab2
src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -154,7 +154,7 @@
                and date_format(a.created_time, '%Y-%m-%d') = date_format(#{dateDay}, '%Y-%m-%d')
            </if>
            <if test="dateMonth!=null">
                and date_format(a.created_time, '%Y-%m-%d') = date_format(#{dateMonth}, '%Y-%m-%d')
                and date_format(a.created_time, '%Y-%m') = date_format(#{dateMonth}, '%Y-%m')
            </if>
        </where>
    </select>