Преглед на файлове

数据看板的数据按照日期升序排列

王苗苗 преди 5 месеца
родител
ревизия
cfbe400630
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      src/main/resources/mapper/TShuju1Mapper.xml
  2. 1 1
      src/main/resources/mapper/TXlhtAddRecordMapper.xml

+ 1 - 1
src/main/resources/mapper/TShuju1Mapper.xml

@@ -263,7 +263,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="timeBegin != null  and timeBegin != ''"> and SUBSTRING (TIME, 1, 10 ) &gt;= #{timeBegin}</if>
             <if test="timeEnd != null  and timeEnd != ''"> and SUBSTRING (TIME, 1, 10 ) &lt;= #{timeEnd}</if>
         </where>
-        order by id desc
+        order by id ASC
     </select>
 
 

+ 1 - 1
src/main/resources/mapper/TXlhtAddRecordMapper.xml

@@ -116,6 +116,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="timeBegin != null  and timeBegin != ''"> and remark &gt;= #{timeBegin}</if>
             <if test="timeEnd != null  and timeEnd != ''"> and remark &lt;= #{timeEnd}</if>
         </where>
-        and del_flag = 0 order by id desc
+        and del_flag = 0 order by id ASC
     </select>
 </mapper>