Commit 6223d011 by fudahua

同步优化初步3

parent 37f02009
......@@ -70,6 +70,9 @@ public class GroupSyncOperation implements BaseSyncOperation {
TabHaobanDepartment pParentDepartment = departmentService.selectByRelatedId(dataPre.getpDataId());
if (null == pParentDepartment) {
pParentDepartment = departmentService.selectById(dataPre.getpDataId());
}
if (null == pParentDepartment) {
logger.info("不存在该父部门:c:{},p:{}", dataPre.getDataId(), dataPre.getpDataId());
return;
}
......
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