Browse Source

单体型号校验规则修改

zyg 2 years ago
parent
commit
1f28114eb6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/cn/fastfun/service/impl/CellModelServiceImpl.java

+ 1 - 1
src/main/java/cn/fastfun/service/impl/CellModelServiceImpl.java

@@ -202,7 +202,7 @@ public class CellModelServiceImpl extends JpaServiceImp<CellModel, String> imple
         }
         StringBuilder builder = new StringBuilder();
         builder.append("select count(0) from product_type")
-                .append(" where status=1 and sn_type_en=2 and sn_type_code='")
+                .append(" where status=1 and sn_type_en=3 and sn_type_code='")
                 .append(model.substring(0, 2)).append("'");
         Query q = this.getQueryBySQL(builder.toString(), new HashMap<>());
         long amount = ((BigInteger) q.getSingleResult()).longValue();