xiaoyong931011
2022-09-22 d4801f6c6d821c3b1ebd6174498149ee0e0159ee
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>