Jelajahi Sumber

修复分页导致表单无法全部部署的问题

zhouhao 8 tahun lalu
induk
melakukan
d2897e7918

+ 1 - 1
hsweb-web-service-impl-common/src/main/java/org/hsweb/web/service/impl/FormDeployContextLoaderListener.java

@@ -24,7 +24,7 @@ public class FormDeployContextLoaderListener implements ApplicationListener<Cont
     public void onApplicationEvent(ContextRefreshedEvent event) {
         if (event.getApplicationContext().getParent() != null) return;
         QueryParam param = new QueryParam();
-        param.where("using", 1);
+        param.where("using", 1).noPaging();
         try {
             formService.select(param).forEach(form -> {
                 try {