src/main/java/com/gs/dingtalk/service/WorkWXService.java
@@ -226,11 +226,10 @@ continue; } QwStaff existingStaff = qwStaffMapper.selectOne( qwStaffMapper.delete( new LambdaQueryWrapper<QwStaff>().eq(QwStaff::getAccount, user.getUserid()) ); if (existingStaff == null) { QwStaff qwStaff = new QwStaff(); qwStaff.setName(user.getName()); qwStaff.setAccount(user.getUserid()); @@ -239,9 +238,8 @@ qwStaffMapper.insert(qwStaff); insertCount++; } } log.info("同步用户到QW_STAFF表完成,新增用户数: {}", insertCount); log.info("同步用户到QW_STAFF表完成,同步用户数: {}", insertCount); return insertCount; }