lixing 4 năm trước cách đây
mục cha
commit
59ab03f8c3
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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"