浏览代码

首页专家数限制

liliang4869 7 年之前
父节点
当前提交
168324d10f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/goafanti/common/mapper/UserIdentityMapper.xml

+ 1 - 0
src/main/java/com/goafanti/common/mapper/UserIdentityMapper.xml

@@ -1058,6 +1058,7 @@
 	where expert=1
 	and u.status !=1
 	and t.expert_audit =2
+	limit #{0}
 	 </select>
  <select id="findUserIdentityListByPage" parameterType="String" resultType="com.goafanti.user.bo.UserIdentityBo">
   	select 	t.id ,t.uid,u.nickname as username,t.work_unit as workUnit,t.province,t.area,t.professional_title as professionalTitle,t.industry,t.city,