소스 검색

添加药品分类数据

zhoutg 3 년 전
부모
커밋
7662ee59ce
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/main/java/com/diagbot/facade/KlRuleFacade.java

+ 4 - 1
src/main/java/com/diagbot/facade/KlRuleFacade.java

@@ -316,7 +316,10 @@ public class KlRuleFacade extends KlRuleServiceImpl {
      * @return
      */
     public Boolean isGatherType(Integer type) {
-        if (type != null && type >= 308 && type <= 329) {
+        if (type == null) {
+            return false;
+        }
+        if ((type >= 308 && type <= 329) || (type >= 301 && type <= 304)) {
             return true;
         }
         return false;