liujie
2026-04-01 cbb154b3d05762d1d8aee87b3c11237c8983a60d
ruoyi-system/src/main/resources/mapper/system/RecordMapper.xml
@@ -59,8 +59,11 @@
        <if test="query.content != null">
            and (t1.hierarchy_name like concat('%',#{query.content},'%') or t2.description like concat('%',#{query.content},'%'))
        </if>
        <if test="query.startTime != null and query.startTime !='' and query.endTime!=null and query.endTime !=''">
            and t1.create_time between #{query.startTime} and #{query.endTime}
        <if test="query.startTime != null and query.startTime !=''">
            and t1.create_time > #{query.startTime}
        </if>
        <if test="query.endTime!=null and query.endTime !=''">
            and  #{query.endTime} >t1.create_time
        </if>
        ) as o where 1=1