|
@@ -216,7 +216,10 @@ public class InitialRunner implements CommandLineRunner {
|
|
|
|
|
|
WindpowerstationExample windpowerstationExample = new WindpowerstationExample();
|
|
|
windpowerstationExample.setOrderByClause("ordernum ASC");
|
|
|
-// windpowerstationExample.createCriteria().andIdNotLike("%SY_FDC%");
|
|
|
+
|
|
|
+ windpowerstationExample.createCriteria().andIdEqualTo("FS_FDC");
|
|
|
+
|
|
|
+
|
|
|
wpallls = windpowerstationService.selectByExample(windpowerstationExample);
|
|
|
if (!wpallls.isEmpty()) {
|
|
|
for (Windpowerstation wp : wpallls) {
|
|
@@ -233,6 +236,8 @@ public class InitialRunner implements CommandLineRunner {
|
|
|
|
|
|
ProjectExample projectExample = new ProjectExample();
|
|
|
projectExample.setOrderByClause("ordernum ASC");
|
|
|
+
|
|
|
+ projectExample.createCriteria().andWindpowerstationidEqualTo("FS_FDC");
|
|
|
// projectExample.createCriteria().andWindpowerstationidNotLike("%SY_FDC%");
|
|
|
pjallls = projectService.selectByExample(projectExample);
|
|
|
|
|
@@ -257,6 +262,9 @@ public class InitialRunner implements CommandLineRunner {
|
|
|
LineExample lineExample = new LineExample();
|
|
|
lineExample.setOrderByClause("ordernum ASC");
|
|
|
lineExample.createCriteria().getAllCriteria();
|
|
|
+
|
|
|
+ lineExample.createCriteria().andIdLike("%FS0%");
|
|
|
+
|
|
|
lineallls = lineService.selectByExample(lineExample);
|
|
|
|
|
|
if (!lineallls.isEmpty()) {
|
|
@@ -282,7 +290,7 @@ public class InitialRunner implements CommandLineRunner {
|
|
|
|
|
|
WindturbineExample windturbineExample = new WindturbineExample();
|
|
|
windturbineExample.setOrderByClause("ID ASC");
|
|
|
-
|
|
|
+ windturbineExample.createCriteria().andWindpowerstationidEqualTo("FS_FDC");
|
|
|
wtallls = windturbineService.selectByExample(windturbineExample);
|
|
|
|
|
|
if (!wtallls.isEmpty()) {
|