xiaoyong931011
2022-10-21 c6e21fc6d22a2168fb21a662c16c60fab05a7d75
src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml
@@ -28,10 +28,10 @@
                and a.type=#{record.type}
            </if>
            <if test="record.startTime != null and record.startTime != ''">
                and a.create_time &gt;= #{record.startTime}
                and date_format(a.create_time, '%Y-%m-%d') &gt;= #{record.startTime}
            </if>
            <if test="record.endTime != null and record.endTime != ''">
                and a.create_time &lt;= #{record.endTime}
                and date_format(a.create_time, '%Y-%m-%d') &lt;= #{record.endTime}
            </if>
        </where>
        order by a.create_time desc