Browse Source

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

shilin 5 years ago
parent
commit
6822ccfda4
1 changed files with 4 additions and 2 deletions
  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();