diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 8c23384..6c05feb 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -7,14 +7,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 8c23384..6c05feb 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -7,14 +7,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
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+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 8c23384..6c05feb 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -7,14 +7,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
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b_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 8c23384..6c05feb 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -7,14 +7,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842,230 +909,336 @@
-
+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
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 8c23384..6c05feb 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -7,14 +7,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@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-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 8c23384..6c05feb 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -7,14 +7,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842,230 +909,336 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b_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842,230 +909,336 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-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
-
-
-
-
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
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-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-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
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842,230 +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xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842,230 +909,336 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@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
-
-
-
-
-
-
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
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-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-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
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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line at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842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workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842,230 +909,336 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,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
-
-
-
-
-
-
-
-
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568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-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 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
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@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.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842,230 +909,336 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40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
+
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
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-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +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
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842,230 +909,336 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@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
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
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face
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278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
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -842,230 +909,336 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr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eFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749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PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@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
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___
deleted file mode 100644
index 8b77bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -44,24 +78,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -69,16 +103,18 @@
-
-
+
+
-
+
+
+
@@ -86,11 +122,12 @@
-
+
+
-
+
@@ -111,8 +148,9 @@
+
-
+
@@ -120,46 +158,89 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -184,6 +265,12 @@
message
getConstructionByType
getPgCameraListByPosition
+ incriter
+ I
+ inCriteria
+ getPgPlanResulList
+ getPipeLineBylineName
+ getPileAcuListByPileAcuStr
@@ -192,40 +279,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -243,6 +296,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -278,16 +365,17 @@
-
-
-
-
+
+
+
+
+
@@ -329,7 +417,7 @@
-
+
@@ -338,14 +426,41 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -513,6 +628,14 @@
+
+
+
+
+
+
+
+
1564361618083
@@ -602,7 +725,7 @@
-
+
@@ -617,7 +740,7 @@
-
+
@@ -654,7 +777,7 @@
-
+
@@ -662,33 +785,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -737,101 +860,45 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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bb2..0000000
--- a/.idea/workspace.xml___jb_tmp___
+++ /dev/null
@@ -1,1094 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getMonthAlarmNum
- getAlarmList
- compositeFilter
- alarmTypeId
- getPipeGalleryByPgName
- getPgDeviceByDevType
- message
- getConstructionByType
- getPgCameraListByPosition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- DEFINITION_ORDER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1559274313127
-
-
- 1559274313127
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1564361618083
-
-
-
- 1564361618083
-
-
- 1566216937991
-
-
-
- 1566216937991
-
-
- 1566349743252
-
-
-
- 1566349743252
-
-
- 1566382083034
-
-
-
- 1566382083035
-
-
- 1566553388171
-
-
-
- 1566553388171
-
-
- 1566620046627
-
-
-
- 1566620046627
-
-
- 1566781001910
-
-
-
- 1566781001910
-
-
- 1566963831930
-
-
-
- 1566963831930
-
-
- 1566972146710
-
-
-
- 1566972146710
-
-
- 1567126525554
-
-
-
- 1567126525554
-
-
- 1568086635507
-
-
-
- 1568086635507
-
-
- 1568768749481
-
-
-
- 1568768749481
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/casic/PgInterface/overtimeInPG/web/PGInOutRecController.java
- 40
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PgInterface
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- Web|PgInterface
-
-
-
-
-
-
-
-
-
-
-
- Maven: antlr:antlr:2.7.7
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
index 9ff7cef..85d5a63 100644
--- a/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
+++ b/src/main/java/com/casic/PgInterface/devTable/domain/PgPipeLine.java
@@ -16,15 +16,11 @@
public class PgPipeLine implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
- private String lineName;//管线唯一名称
+ private String lineCode;//管线唯一名称
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private Date enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
- private double pipeLength;//管线长度
- private Long partitionId;//所在分区
- private Long pipeGalleryId;//所在管廊信息
+ private double length;//管线长度
private int active;//状态位
@Id
@@ -37,13 +33,13 @@
this.id = id;
}
- @Column(name = "LINE_NAME")
- public String getLineName() {
- return lineName;
+ @Column(name = "LINECODE")
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
@Column(name = "LINE_TYPE")
@@ -64,24 +60,6 @@
this.ownerUnit = ownerUnit;
}
- @Column(name = "ENTERDATE")
- public Date getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(Date enterDate) {
- this.enterDate = enterDate;
- }
-
- @Column(name = "LAYERNUM")
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
@Column(name = "DIAMETER")
public String getDiameter() {
return diameter;
@@ -91,13 +69,13 @@
this.diameter = diameter;
}
- @Column(name = "PIPE_LENGTH")
- public double getPipeLength() {
- return pipeLength;
+ @Column(name = "LENGTH")
+ public double getLength() {
+ return length;
}
- public void setPipeLength(double pipeLength) {
- this.pipeLength = pipeLength;
+ public void setLength(double length) {
+ this.length = length;
}
@Column(name = "ACTIVE")
@@ -109,21 +87,5 @@
this.active = active;
}
- @Column(name = "pipeGalleryId")
- public Long getPipeGalleryId() {
- return pipeGalleryId;
- }
- public void setPipeGalleryId(Long pipeGalleryId) {
- this.pipeGalleryId = pipeGalleryId;
- }
-
- @Column(name="PARTITIONID")
- public Long getPartitionId() {
- return partitionId;
- }
-
- public void setPartitionId(Long partitionId) {
- this.partitionId = partitionId;
- }
}
diff --git a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
index 77508e5..edb5cd3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
+++ b/src/main/java/com/casic/PgInterface/devTable/dto/PgPipeLineDto.java
@@ -12,15 +12,11 @@
public class PgPipeLineDto{
private String id;
- private String lineName;//管线唯一编号
+ private String lineCode;//管线唯一编号
private String lineType;//管线类型
private String ownerUnit;//权属单位
- private String enterDate;//入廊时间
- private String layerNum;//所在层数
private String diameter;//管径
private String pipeLength;//管线长度
- private String pipeGallery;//仓位
- private String partition;//分区
private String active;//状态位
public String getId() {
@@ -31,12 +27,12 @@
this.id = id;
}
- public String getLineName() {
- return lineName;
+ public String getLineCode() {
+ return lineCode;
}
- public void setLineName(String lineName) {
- this.lineName = lineName;
+ public void setLineCode(String lineCode) {
+ this.lineCode = lineCode;
}
public String getLineType() {
@@ -55,22 +51,6 @@
this.ownerUnit = ownerUnit;
}
- public String getEnterDate() {
- return enterDate;
- }
-
- public void setEnterDate(String enterDate) {
- this.enterDate = enterDate;
- }
-
- public String getLayerNum() {
- return layerNum;
- }
-
- public void setLayerNum(String layerNum) {
- this.layerNum = layerNum;
- }
-
public String getDiameter() {
return diameter;
}
@@ -79,14 +59,6 @@
this.diameter = diameter;
}
- public String getPipeGallery() {
- return pipeGallery;
- }
-
- public void setPipeGallery(String pipeGallery) {
- this.pipeGallery = pipeGallery;
- }
-
public String getPipeLength() {
return pipeLength;
}
@@ -95,14 +67,6 @@
this.pipeLength = pipeLength;
}
- public String getPartition() {
- return partition;
- }
-
- public void setPartition(String partition) {
- this.partition = partition;
- }
-
public String getActive() {
return active;
}
@@ -111,31 +75,16 @@
this.active = active;
}
- public PgPipeLineDto(PgPipeLine pgPipeLine, PgPartitionManager pgPartitionManager, PipeGalleryManager pipeGalleryManager) {
+ public PgPipeLineDto(PgPipeLine pgPipeLine) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
this.setId(String.valueOf(pgPipeLine.getId()));
- this.setLineName(pgPipeLine.getLineName());
+ this.setLineCode(pgPipeLine.getLineCode());
this.setLineType(pgPipeLine.getLineType());
this.setOwnerUnit(pgPipeLine.getOwnerUnit());
- if (pgPipeLine.getEnterDate() != null)
- this.setEnterDate(sdf.format(pgPipeLine.getEnterDate()));
- else
- this.setEnterDate("");
- this.setLayerNum(pgPipeLine.getLayerNum());
this.setDiameter(pgPipeLine.getDiameter());
- this.setPipeLength(String.valueOf(pgPipeLine.getPipeLength()));
+ this.setPipeLength(String.valueOf(pgPipeLine.getLength()));
this.setActive(String.valueOf(pgPipeLine.getActive()));
- if(pgPipeLine.getPipeGalleryId()==null||pipeGalleryManager.get(pgPipeLine.getPipeGalleryId())==null)
- this.setPipeGallery("");
- else
- this.setPipeGallery(pipeGalleryManager.get(pgPipeLine.getPipeGalleryId()).getPgName());
-
- if(pgPipeLine.getPartitionId()==null||pgPartitionManager.get(pgPipeLine.getPartitionId())==null)
- this.setPartition("");
- else
- this.setPartition(pgPartitionManager.get(pgPipeLine.getPartitionId()).getParName());
-
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
index 9ea43fd..c555e95 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgDeviceTypeManager.java
@@ -15,7 +15,7 @@
* Created by yxw on 2018/1/8.
*/
@Service
-public class PgDeviceTypeManager extends HibernateEntityDao {
+public class PgDeviceTypeManager extends HibernateEntityDao {
public List getAllDeviceType() {
diff --git a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
index e413a5c..27f01b3 100644
--- a/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
+++ b/src/main/java/com/casic/PgInterface/devTable/manager/PgPipeLineManager.java
@@ -7,13 +7,16 @@
import com.casic.PgInterface.devTable.dto.PgPipeLineLengthStatic;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeDto;
import com.casic.PgInterface.devTable.dto.PgPipeLineTypeNumDto;
+import com.casic.PgInterface.intelPlan.domain.PgPileAcu;
+import com.casic.PgInterface.intelPlan.manager.PgLineHoleManager;
+import com.casic.PgInterface.intelPlan.manager.PgPileAcuManager;
import org.hibernate.Criteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
+import javax.ws.rs.FormParam;
+import java.util.*;
/**
* Created by yxw on 2017/10/30.
@@ -22,14 +25,14 @@
public class PgPipeLineManager extends HibernateEntityDao {
@Resource
- private PgPartitionManager pgPartitionManager;
+ private PgPileAcuManager pgPileAcuManager;
@Resource
- private PipeGalleryManager pipeGalleryManager;
+ private PgLineHoleManager pgLineHoleManager;
- public PgPipeLine getPipeLineBylineName(String lineName) {
+ public PgPipeLine getPipeLineBylineName(String lineCode) {
Criteria criteria=createCriteria(PgPipeLine.class);
- criteria.add(Restrictions.eq("lineName", lineName));
+ criteria.add(Restrictions.eq("lineCode", lineCode));
List pgPipeLineList =criteria.list();
if(pgPipeLineList.size()==0)
@@ -46,13 +49,13 @@
List pgPipeLineList = criteria.list();
List pgPipeLineDtoList = new ArrayList<>();
for (PgPipeLine pgPipeLine : pgPipeLineList) {
- pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine,pgPartitionManager,pipeGalleryManager));
+ pgPipeLineDtoList.add(new PgPipeLineDto(pgPipeLine));
}
return pgPipeLineDtoList;
}
public List getPipeLengthByName() {
- String sql = "select LINE_TYPE,SUM(PIPE_LENGTH) from PG_PIPELINE group by LINE_TYPE ";
+ String sql = "select LINE_TYPE,SUM(LENGTH) from PG_PIPELINE group by LINE_TYPE ";
List