1、修复小程序手机号登录问题

2、调整OA
This commit is contained in:
2026-09-18 19:48:16 +08:00
parent a2d9cfec02
commit 8d13978e84
4 changed files with 63 additions and 39 deletions
@@ -169,7 +169,7 @@ public class UserController {
@Operation(summary = "同步OA人员")
public R<OaPersonSyncPageVO> syncIamAccounts(
@RequestParam(defaultValue = "1") Integer current,
@RequestParam(defaultValue = "50") Integer size) {
@RequestParam(defaultValue = "20") Integer size) {
return R.data(oaSyncService.syncPersonFromUserList(current, size));
}
@@ -266,7 +266,7 @@ public class OASyncServiceImpl implements IOASyncService {
*/
private OaPersonSyncPageVO syncPersonFromOaPage(int current, int size) {
int pageNo = current < 1 ? 1 : current;
int pageSize = size < 1 ? 50 : Math.min(size, 200);
int pageSize = size < 1 ? 20 : Math.min(size, 200);
OAPersonSearch personSearch = buildPersonSearch(null);
personSearch.setCurPage(pageNo);
personSearch.setPageSize(pageSize);
@@ -309,7 +309,7 @@ public class OASyncServiceImpl implements IOASyncService {
private OAPersonSearch buildPersonSearch(Date startTime) {
OAPersonSearch personSearch = new OAPersonSearch();
personSearch.setCurPage(1);
personSearch.setPageSize(200);
personSearch.setPageSize(20);
personSearch.setCreated("");
personSearch.setWorkcode("");
personSearch.setSubcompanyid1("");