瀏覽代碼

修改宁夏项目实折线图推送数据,bug修改

shilin 5 年之前
父節點
當前提交
6822ccfda4
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/main/java/com/gyee/frame/common/spring/InitialRunner.java

+ 4 - 2
src/main/java/com/gyee/frame/common/spring/InitialRunner.java

@@ -61,12 +61,14 @@ public class InitialRunner implements CommandLineRunner {
 
         WindpowerstationExample windpowerstationExample=new WindpowerstationExample();
         windpowerstationExample.setOrderByClause("ordernum ASC");
-        windpowerstationExample.createCriteria().getAllCriteria();
+        windpowerstationExample.createCriteria().andIdNotLike("%_GDC").getAllCriteria();
         wpls= windpowerstationService.selectByExample(windpowerstationExample);
 
+
+
         ProjectExample projectExample=new ProjectExample();
         projectExample.setOrderByClause("ordernum ASC");
-        projectExample.createCriteria().getAllCriteria();
+        projectExample.createCriteria().andWindpowerstationidNotLike("%_GDC").getAllCriteria();
         pjls= projectService.selectByExample(projectExample);
 
         LineExample lineExample=new LineExample();