소스 검색

fix: 公司邮箱发送历史查询排序问题修复

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

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

@@ -115,6 +115,7 @@
         <if test="companyId != null and companyId !=''">
             and c.company_id=#{companyId}
         </if>
+        order by cesh.send_time desc
         limit #{offset},#{pageSize}
     </select>
     <select id="countCompanyEmailhistory" resultType="java.lang.Long"