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