|
@@ -328,7 +328,7 @@ public class AdmManualRelCalServiceImpl implements AdmManualRelCalService {
|
|
|
// 1.获取关系枚举类型映射
|
|
|
Map<String, AdmRelationTypeEnum> relationTypeMap = AdmRelationTypeEnum.getRelationTypeMap();
|
|
|
if (!relationTypeMap.containsKey(admManualRelCalRequest.getRelType())){
|
|
|
- return AdmManualRelCalResponse.failure("不存在的关系类型");
|
|
|
+ return AdmManualRelCalResponse.success(new ArrayList<>());
|
|
|
}
|
|
|
// 2.构建查询参数
|
|
|
AdmRelationTypeEnum relationTypeEnum = relationTypeMap.get(admManualRelCalRequest.getRelType());
|