|
|
@@ -202,7 +202,8 @@
|
|
|
</if>
|
|
|
</where>
|
|
|
order by u.user_id desc
|
|
|
- limit ${(pageNum-1)*pageSize},${pageSize}
|
|
|
+ <bind name="offset" value="(pageNum-1)*pageSize" />
|
|
|
+ limit #{offset}, #{pageSize}
|
|
|
) t on t.user_id = `user`.user_id
|
|
|
left join company_user cu on cu.user_id = t.companyUserId
|
|
|
</select>
|
|
|
@@ -640,7 +641,8 @@
|
|
|
<if test="projectId != null">
|
|
|
AND ucu.project_id = #{projectId}
|
|
|
</if>
|
|
|
- limit ${(pageNum-1)*pageSize},${pageSize}
|
|
|
+ <bind name="offset" value="(pageNum-1)*pageSize" />
|
|
|
+ limit #{offset}, #{pageSize}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectFsUserPageList" resultType="com.fs.store.vo.h5.FsUserPageListVO">
|