|
@@ -109,7 +109,7 @@ public class ReportRelationServiceImpl extends ServiceImpl<ReportRelationMapper,
|
|
|
throw new CostException("选择的报表项目不存在");
|
|
|
}
|
|
|
Integer calcType = byId.getCalcType();
|
|
|
- if (calcType != 1 && calcType != 2) {
|
|
|
+ if (calcType != 1 && calcType != 2 && calcType!=5) {
|
|
|
throw new CostException("选择的报表项目不能绑定关联关系");
|
|
|
}
|
|
|
|