Authored by BuddyJack

fix

... ... @@ -108,8 +108,8 @@ public class MObjectInfoServiceImpl implements IMObjectInfoService {
}
@Override
public void deleteMObjectInfo(List<Integer> idList){
if(idList!=null&&idList.size()>0){
public void deleteMObjectInfo(List<Integer> idList) {
if (idList != null && idList.size() > 0) {
mObjectInfoMapper.deleteMoInfoList(idList);
}
}
... ... @@ -208,7 +208,9 @@ public class MObjectInfoServiceImpl implements IMObjectInfoService {
}
mObjectInfoMapper.deleteBindDependencyList(typeId);
mObjectInfoMapper.addBindDependencyList(dependencyInfoList);
if (null != dependencyInfoList && 0 < dependencyInfoList.size()) {
mObjectInfoMapper.addBindDependencyList(dependencyInfoList);
}
}
... ...