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"