lixing 4 سال پیش
والد
کامیت
59ab03f8c3
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      fm-person/src/main/resources/mapper/PersonMapper.xml

+ 1 - 0
fm-person/src/main/resources/mapper/PersonMapper.xml

@@ -43,6 +43,7 @@
             and p.name = #{name}
         </if>
         order by w.is_leader desc, p.name_pinyin
+        limit #{startIndex}, #{size}
     </select>
 
     <select id="queryCount" parameterType="com.persagy.fm.person.model.dto.PageQueryPersonDTO"