|
@@ -147,9 +147,10 @@ public class SapUserService extends BaseService {
|
|
|
for (SapUser sapUser : normalList) {
|
|
|
String checkResult = getCheckResultByWx(sapUser);
|
|
|
if (StringUtils.isNotBlank(checkResult)) {
|
|
|
- updateFullDepartAndPosition(sapUser);
|
|
|
updateResultByUserId(checkResult, sapUser.getUserId());
|
|
|
}
|
|
|
+ // 更新sapPosition、wxPosition、sapFullDepart、wxFullDepart
|
|
|
+ updateFullDepartAndPosition(sapUser);
|
|
|
}
|
|
|
// 查询UNABLE数据,判断已不存在或离职
|
|
|
List<SapUser> unableList = selectPrimaryListByDelFlag(DelFlagEnum.UNABLE.getCode());
|