feat:解决newOuId抛NPE的问题
This commit is contained in:
parent
55358e0185
commit
2a8f4872b2
@ -428,7 +428,7 @@ public class OuIdMigrateService {
|
||||
if (record.getIsOuIdMigrated() == YesOrNo.YES)
|
||||
return null;
|
||||
// 找不到的newOuId不进行更新
|
||||
if (newOuId == 0 || newOuId == null) {
|
||||
if (newOuId == null || newOuId == 0 ) {
|
||||
return null;
|
||||
}
|
||||
// 最原始的ouId不要被覆盖了
|
||||
|
||||
Loading…
Reference in New Issue
Block a user