|
|
@@ -132,8 +132,7 @@ public class PtlInsAttributionTemplateServiceImpl extends ServiceImpl<PtlInsAttr
|
|
|
|
|
|
LambdaQueryWrapper<PtlInsAttributionTemplate> wrapper = byInsCompanyIdAndApiType(ptlInsAttributionTemplateSaveVo.getInsCompanyId(), ptlInsAttributionTemplateSaveVo.getApiType());
|
|
|
PtlInsAttributionTemplate ptlInsAttributionTemplateOne = getOne(wrapper);
|
|
|
-
|
|
|
- if (!ObjectUtils.isEmpty(ptlInsAttributionTemplate) && !Objects.equals(ptlInsAttributionTemplateOne.getId(), id)) {
|
|
|
+ if (!ObjectUtils.isEmpty(ptlInsAttributionTemplateOne) && !Objects.equals(ptlInsAttributionTemplateOne.getId(), id)) {
|
|
|
throw new SystemException("一个保险公司,一种api方式只能配置一种");
|
|
|
}
|
|
|
|