Commit 34d94eb2 by 阳浪

用户系统服务优化

parent e293ff6b
......@@ -1349,7 +1349,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
Page<Account> page = new Page<>(pageNo, pageSize);
page.setRecords(accountMapper.orgAccountListPage(rightLeftIndices, name, mobile,orgId, workNum, fullName,
email, enabled, companyId, new RowBounds(page.getOffset(), page.getLimit())));
page.setTotal(accountMapper.orgAccountListPageCount(rightLeftIndices, name, mobile, workNum, fullName, email, enabled, companyId));
page.setTotal(accountMapper.orgAccountListPageCount(rightLeftIndices, name, mobile,orgId, workNum, fullName, email, enabled, companyId));
return page;
}
......
......@@ -309,6 +309,9 @@
<if test="workNum != null and workNum != ''">
AND a.work_num LIKE concat('%', #{workNum}, '%')
</if>
<if test="orgId != null and orgId != ''">
AND a.org_id = #{orgId}
</if>
<if test="email != null and email != ''">
AND a.email LIKE concat('%', #{email}, '%')
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment