ljx il y a 4 ans
Parent
commit
19a6fe47b6

+ 1 - 1
src/main/java/com/imed/costaccount/service/impl/ReportRelationServiceImpl.java

@@ -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("选择的报表项目不能绑定关联关系");
         }