Parcourir la source

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

王苗苗 il y a 5 mois
Parent
commit
cfbe400630

+ 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>