Quellcode durchsuchen

fix: 公司邮箱配置页面查询排序问题修复

chenjianhua vor 6 Monaten
Ursprung
Commit
378355189e

+ 2 - 2
service-base/src/main/resources/mapper/CompanyEmailHistoryMapper.xml

@@ -39,7 +39,7 @@
             cec.company_id,
             c.company_name,
             cec.email,
-            maxce.send_time,
+            maxce.send_time as send_time,
             maxce.send_remark,
             ifnull(maxce.send_status,-1) as send_status
         FROM
@@ -61,7 +61,7 @@
         <if test="sendStatus == -1">
             and maxce.send_status is null
         </if>
-        order by maxce.send_time desc
+        order by send_time desc
         limit #{offset},#{pageSize}
     </select>