소스 검색

报表判断

ljx 4 년 전
부모
커밋
19a6fe47b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/imed/costaccount/service/impl/ReportRelationServiceImpl.java

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