Procházet zdrojové kódy

添加药品分类数据

zhoutg před 3 roky
rodič
revize
7662ee59ce

+ 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;