소스 검색

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

chenjianhua 6 달 전
부모
커밋
378355189e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      service-base/src/main/resources/mapper/CompanyEmailHistoryMapper.xml

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