1
0
Просмотр исходного кода

fix: 公司邮箱调整分页查询

chenjianhua 7 месяцев назад
Родитель
Сommit
9d20708fe8

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

@@ -58,7 +58,6 @@
 
     <select id="countCompanyEmailList" resultType="java.lang.Long"
             parameterType="com.simuwang.base.pojo.dto.query.CompanyEmailPageQuery">
-        select count(*) from (
         SELECT
         count(cec.company_id)
         from
@@ -76,7 +75,7 @@
         </if>
         <if test="sendStatus != null">
             and maxce.send_status=#{sendStatus}
-        </if>) a
+        </if>
     </select>
 
     <select id="searchEmailHistory" resultMap="BaseResultMap">