diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index d0c9fa4..8ce1d20 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,15 +3,9 @@
-
-
-
-
-
-
@@ -98,12 +92,12 @@
-
-
+
+
@@ -164,7 +158,7 @@
-
+
@@ -351,7 +345,7 @@
-
+
@@ -385,71 +379,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -888,7 +818,7 @@
-
+
1510219102698
@@ -1034,11 +964,15 @@
1523331535754
1523331535754
-
+
+ 1523436516632
+ 1523436516632
+
+
-
+
@@ -1061,7 +995,7 @@
-
+
@@ -1087,7 +1021,7 @@
-
+
@@ -1151,8 +1085,6 @@
-
-
@@ -1176,7 +1108,9 @@
-
+
+
+
@@ -1188,13 +1122,6 @@
-
-
-
-
-
-
-
@@ -1436,14 +1363,6 @@
-
-
-
-
-
-
-
-
@@ -1487,19 +1406,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1613,6 +1519,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index d0c9fa4..8ce1d20 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,15 +3,9 @@
-
-
-
-
-
-
@@ -98,12 +92,12 @@
-
-
+
+
@@ -164,7 +158,7 @@
-
+
@@ -351,7 +345,7 @@
-
+
@@ -385,71 +379,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -888,7 +818,7 @@
-
+
1510219102698
@@ -1034,11 +964,15 @@
1523331535754
1523331535754
-
+
+ 1523436516632
+ 1523436516632
+
+
-
+
@@ -1061,7 +995,7 @@
-
+
@@ -1087,7 +1021,7 @@
-
+
@@ -1151,8 +1085,6 @@
-
-
@@ -1176,7 +1108,9 @@
-
+
+
+
@@ -1188,13 +1122,6 @@
-
-
-
-
-
-
-
@@ -1436,14 +1363,6 @@
-
-
-
-
-
-
-
-
@@ -1487,19 +1406,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1613,6 +1519,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java b/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java
index ae9deae..d7099a2 100644
--- a/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java
+++ b/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java
@@ -184,14 +184,12 @@
List pgConstructionList=(List)this.getSession().createQuery(hql).list();
List pgConstructionDtoList=new ArrayList();
-
for(PgConstruction pgConstruction : pgConstructionList)
{
-
+ pgConstructionDtoList.add(new PgConstructionDto(pgConstruction));
}
return pgConstructionDtoList;
}
-
}
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index d0c9fa4..8ce1d20 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,15 +3,9 @@
-
-
-
-
-
-
@@ -98,12 +92,12 @@
-
-
+
+
@@ -164,7 +158,7 @@
-
+
@@ -351,7 +345,7 @@
-
+
@@ -385,71 +379,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -888,7 +818,7 @@
-
+
1510219102698
@@ -1034,11 +964,15 @@
1523331535754
1523331535754
-
+
+ 1523436516632
+ 1523436516632
+
+
-
+
@@ -1061,7 +995,7 @@
-
+
@@ -1087,7 +1021,7 @@
-
+
@@ -1151,8 +1085,6 @@
-
-
@@ -1176,7 +1108,9 @@
-
+
+
+
@@ -1188,13 +1122,6 @@
-
-
-
-
-
-
-
@@ -1436,14 +1363,6 @@
-
-
-
-
-
-
-
-
@@ -1487,19 +1406,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1613,6 +1519,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java b/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java
index ae9deae..d7099a2 100644
--- a/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java
+++ b/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java
@@ -184,14 +184,12 @@
List pgConstructionList=(List)this.getSession().createQuery(hql).list();
List pgConstructionDtoList=new ArrayList();
-
for(PgConstruction pgConstruction : pgConstructionList)
{
-
+ pgConstructionDtoList.add(new PgConstructionDto(pgConstruction));
}
return pgConstructionDtoList;
}
-
}
diff --git a/src/main/java/com/casic/PgInterface/rs/PgOverViewRs.java b/src/main/java/com/casic/PgInterface/rs/PgOverViewRs.java
index 0c68382..023ee55 100644
--- a/src/main/java/com/casic/PgInterface/rs/PgOverViewRs.java
+++ b/src/main/java/com/casic/PgInterface/rs/PgOverViewRs.java
@@ -308,27 +308,30 @@
return resultMap;
}
- /*
+ /*
当天在建工程
*/
@POST
@Path("getConstructionToday")
@Produces(MediaType.APPLICATION_JSON)
- public Map
-
+
@@ -351,7 +345,7 @@
-
+
@@ -385,71 +379,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -888,7 +818,7 @@
-
+
1510219102698
@@ -1034,11 +964,15 @@
1523331535754
1523331535754
-
+
+ 1523436516632
+ 1523436516632
+
+
-
+
@@ -1061,7 +995,7 @@
-
+
@@ -1087,7 +1021,7 @@
-
+
@@ -1151,8 +1085,6 @@
-
-
@@ -1176,7 +1108,9 @@
-
+
+
+
@@ -1188,13 +1122,6 @@
-
-
-
-
-
-
-
@@ -1436,14 +1363,6 @@
-
-
-
-
-
-
-
-
@@ -1487,19 +1406,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1613,6 +1519,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java b/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java
index ae9deae..d7099a2 100644
--- a/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java
+++ b/src/main/java/com/casic/PgInterface/construction/manager/PgConstructionManager.java
@@ -184,14 +184,12 @@
List pgConstructionList=(List)this.getSession().createQuery(hql).list();
List pgConstructionDtoList=new ArrayList();
-
for(PgConstruction pgConstruction : pgConstructionList)
{
-
+ pgConstructionDtoList.add(new PgConstructionDto(pgConstruction));
}
return pgConstructionDtoList;
}
-
}
diff --git a/src/main/java/com/casic/PgInterface/rs/PgOverViewRs.java b/src/main/java/com/casic/PgInterface/rs/PgOverViewRs.java
index 0c68382..023ee55 100644
--- a/src/main/java/com/casic/PgInterface/rs/PgOverViewRs.java
+++ b/src/main/java/com/casic/PgInterface/rs/PgOverViewRs.java
@@ -308,27 +308,30 @@
return resultMap;
}
- /*
+ /*
当天在建工程
*/
@POST
@Path("getConstructionToday")
@Produces(MediaType.APPLICATION_JSON)
- public Map getConstructionToday() throws Exception{
- Map resultMap = new HashMap();
+ public Map getConstructionToday() throws Exception{
+ Map resultMap = new HashMap();
String msg = "";
-
List pgConstructionDtoList=new ArrayList();
- try{
-
+ try {
+ pgConstructionDtoList = pgConstructionManager.getConstructionToday();
+ if (pgConstructionDtoList == null)
+ msg = "不存在施工信息";
+ else
+ msg = "施工信息获取成功";
}
catch(Exception e)
{
e.printStackTrace();
- msg="施工信息统计失败";
+ msg="施工信息获取失败";
}
resultMap.put("msg",msg);
- // resultMap.put("result",pgConstructionDtoList);
+ resultMap.put("result",pgConstructionDtoList);
return resultMap;
}
diff --git "a/\346\216\245\345\217\243\350\257\264\346\230\216\346\226\260\351\234\200\346\261\202.docx" "b/\346\216\245\345\217\243\350\257\264\346\230\216\346\226\260\351\234\200\346\261\202.docx"
index bcfda82..92792df 100644
--- "a/\346\216\245\345\217\243\350\257\264\346\230\216\346\226\260\351\234\200\346\261\202.docx"
+++ "b/\346\216\245\345\217\243\350\257\264\346\230\216\346\226\260\351\234\200\346\261\202.docx"
Binary files differ