lixing %!s(int64=4) %!d(string=hai) anos
pai
achega
59ab03f8c3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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"