diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index a8b1f90..e592855 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,11 +3,8 @@
-
-
-
-
-
+
+
@@ -32,75 +29,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -128,10 +57,8 @@
-
-
@@ -169,6 +96,8 @@
+
+
@@ -231,7 +160,7 @@
-
+
@@ -262,6 +191,7 @@
+
@@ -276,7 +206,6 @@
-
@@ -312,58 +241,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -421,130 +298,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -974,11 +727,7 @@
-
-
-
+
@@ -1083,7 +832,8 @@
-
+
+
1510219102698
@@ -1257,11 +1007,15 @@
1531193513894
1531193513894
-
+
+ 1531219605437
+ 1531219605437
+
+
-
+
@@ -1284,7 +1038,7 @@
-
+
@@ -1293,7 +1047,6 @@
-
@@ -1310,7 +1063,7 @@
-
+
@@ -1319,6 +1072,7 @@
+
@@ -1338,7 +1092,6 @@
-
@@ -1363,7 +1116,8 @@
-
+
+
@@ -1375,35 +1129,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1411,7 +1140,6 @@
-
@@ -1419,7 +1147,6 @@
-
@@ -1427,7 +1154,6 @@
-
@@ -1435,7 +1161,6 @@
-
@@ -1443,7 +1168,6 @@
-
@@ -1451,7 +1175,6 @@
-
@@ -1459,7 +1182,6 @@
-
@@ -1467,7 +1189,6 @@
-
@@ -1475,7 +1196,6 @@
-
@@ -1483,7 +1203,6 @@
-
@@ -1491,7 +1210,6 @@
-
@@ -1499,7 +1217,6 @@
-
@@ -1507,7 +1224,6 @@
-
@@ -1515,7 +1231,6 @@
-
@@ -1523,7 +1238,6 @@
-
@@ -1531,7 +1245,6 @@
-
@@ -1539,7 +1252,6 @@
-
@@ -1547,10 +1259,6 @@
-
-
-
-
@@ -1558,11 +1266,6 @@
-
-
-
-
-
@@ -1570,11 +1273,6 @@
-
-
-
-
-
@@ -1582,10 +1280,6 @@
-
-
-
-
@@ -1593,7 +1287,6 @@
-
@@ -1613,28 +1306,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1642,10 +1317,6 @@
-
-
-
-
@@ -1653,10 +1324,6 @@
-
-
-
-
@@ -1664,7 +1331,6 @@
-
@@ -1672,7 +1338,6 @@
-
@@ -1680,7 +1345,6 @@
-
@@ -1688,7 +1352,6 @@
-
@@ -1696,7 +1359,6 @@
-
@@ -1704,7 +1366,6 @@
-
@@ -1712,7 +1373,6 @@
-
@@ -1720,7 +1380,6 @@
-
@@ -1728,11 +1387,6 @@
-
-
-
-
-
@@ -1740,10 +1394,6 @@
-
-
-
-
@@ -1751,10 +1401,6 @@
-
-
-
-
@@ -1762,7 +1408,6 @@
-
@@ -1770,7 +1415,6 @@
-
@@ -1778,73 +1422,84 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index a8b1f90..e592855 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,11 +3,8 @@
-
-
-
-
-
+
+
@@ -32,75 +29,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -128,10 +57,8 @@
-
-
@@ -169,6 +96,8 @@
+
+
@@ -231,7 +160,7 @@
-
+
@@ -262,6 +191,7 @@
+
@@ -276,7 +206,6 @@
-
@@ -312,58 +241,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -421,130 +298,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -974,11 +727,7 @@
-
-
-
+
@@ -1083,7 +832,8 @@
-
+
+
1510219102698
@@ -1257,11 +1007,15 @@
1531193513894
1531193513894
-
+
+ 1531219605437
+ 1531219605437
+
+
-
+
@@ -1284,7 +1038,7 @@
-
+
@@ -1293,7 +1047,6 @@
-
@@ -1310,7 +1063,7 @@
-
+
@@ -1319,6 +1072,7 @@
+
@@ -1338,7 +1092,6 @@
-
@@ -1363,7 +1116,8 @@
-
+
+
@@ -1375,35 +1129,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1411,7 +1140,6 @@
-
@@ -1419,7 +1147,6 @@
-
@@ -1427,7 +1154,6 @@
-
@@ -1435,7 +1161,6 @@
-
@@ -1443,7 +1168,6 @@
-
@@ -1451,7 +1175,6 @@
-
@@ -1459,7 +1182,6 @@
-
@@ -1467,7 +1189,6 @@
-
@@ -1475,7 +1196,6 @@
-
@@ -1483,7 +1203,6 @@
-
@@ -1491,7 +1210,6 @@
-
@@ -1499,7 +1217,6 @@
-
@@ -1507,7 +1224,6 @@
-
@@ -1515,7 +1231,6 @@
-
@@ -1523,7 +1238,6 @@
-
@@ -1531,7 +1245,6 @@
-
@@ -1539,7 +1252,6 @@
-
@@ -1547,10 +1259,6 @@
-
-
-
-
@@ -1558,11 +1266,6 @@
-
-
-
-
-
@@ -1570,11 +1273,6 @@
-
-
-
-
-
@@ -1582,10 +1280,6 @@
-
-
-
-
@@ -1593,7 +1287,6 @@
-
@@ -1613,28 +1306,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1642,10 +1317,6 @@
-
-
-
-
@@ -1653,10 +1324,6 @@
-
-
-
-
@@ -1664,7 +1331,6 @@
-
@@ -1672,7 +1338,6 @@
-
@@ -1680,7 +1345,6 @@
-
@@ -1688,7 +1352,6 @@
-
@@ -1696,7 +1359,6 @@
-
@@ -1704,7 +1366,6 @@
-
@@ -1712,7 +1373,6 @@
-
@@ -1720,7 +1380,6 @@
-
@@ -1728,11 +1387,6 @@
-
-
-
-
-
@@ -1740,10 +1394,6 @@
-
-
-
-
@@ -1751,10 +1401,6 @@
-
-
-
-
@@ -1762,7 +1408,6 @@
-
@@ -1770,7 +1415,6 @@
-
@@ -1778,73 +1422,84 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java b/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java
index 1f2c0f2..941e633 100644
--- a/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java
+++ b/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java
@@ -8,7 +8,6 @@
import com.casic.PgInterface.patroler.dto.PgPatrolMaintainInfoDto;
import com.casic.PgInterface.patroler.manager.PgMaintainDocManager;
import com.casic.PgInterface.patroler.manager.PgMaintainManager;
-import com.casic.PgInterface.patroler.manager.PgPatrolDocManager;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
@@ -57,7 +56,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("maintain_doc") String fileBuffer)
+ @FormParam("maintain_doc") String maintain_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
@@ -76,10 +75,10 @@
pgMaintainManager.save(pgMaintain);
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(maintain_doc)||StringUtils.isBlank(file_name))
pgMaintainDoc.setFile_path("");
else {
- pgMaintainDoc.setFile_path(pgMaintainDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgMaintainDoc.setFile_path(pgMaintainDocManager.saveFiles(maintain_doc, file_name, list_name ));
}
pgMaintainDoc.setList_name(list_name);
@@ -114,7 +113,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("maintain_doc") String fileBuffer)
+ @FormParam("maintain_doc") String maintain_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Map resultMap = new HashMap();
@@ -133,10 +132,10 @@
List pgMaintainDocList = pgMaintainDocManager.getMaintainDocById(pgMaintain);
PgMaintainDoc pgMaintainDocument = new PgMaintainDoc();
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(maintain_doc)||StringUtils.isBlank(file_name))
pgMaintainDocument.setFile_path("");
else {
- pgMaintainDocument.setFile_path(pgMaintainDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgMaintainDocument.setFile_path(pgMaintainDocManager.saveFiles(maintain_doc, file_name, list_name ));
}
for (PgMaintainDoc pgMaintainDoc : pgMaintainDocList)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index a8b1f90..e592855 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,11 +3,8 @@
-
-
-
-
-
+
+
@@ -32,75 +29,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -128,10 +57,8 @@
-
-
@@ -169,6 +96,8 @@
+
+
@@ -231,7 +160,7 @@
-
+
@@ -262,6 +191,7 @@
+
@@ -276,7 +206,6 @@
-
@@ -312,58 +241,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -421,130 +298,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -974,11 +727,7 @@
-
-
-
+
@@ -1083,7 +832,8 @@
-
+
+
1510219102698
@@ -1257,11 +1007,15 @@
1531193513894
1531193513894
-
+
+ 1531219605437
+ 1531219605437
+
+
-
+
@@ -1284,7 +1038,7 @@
-
+
@@ -1293,7 +1047,6 @@
-
@@ -1310,7 +1063,7 @@
-
+
@@ -1319,6 +1072,7 @@
+
@@ -1338,7 +1092,6 @@
-
@@ -1363,7 +1116,8 @@
-
+
+
@@ -1375,35 +1129,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1411,7 +1140,6 @@
-
@@ -1419,7 +1147,6 @@
-
@@ -1427,7 +1154,6 @@
-
@@ -1435,7 +1161,6 @@
-
@@ -1443,7 +1168,6 @@
-
@@ -1451,7 +1175,6 @@
-
@@ -1459,7 +1182,6 @@
-
@@ -1467,7 +1189,6 @@
-
@@ -1475,7 +1196,6 @@
-
@@ -1483,7 +1203,6 @@
-
@@ -1491,7 +1210,6 @@
-
@@ -1499,7 +1217,6 @@
-
@@ -1507,7 +1224,6 @@
-
@@ -1515,7 +1231,6 @@
-
@@ -1523,7 +1238,6 @@
-
@@ -1531,7 +1245,6 @@
-
@@ -1539,7 +1252,6 @@
-
@@ -1547,10 +1259,6 @@
-
-
-
-
@@ -1558,11 +1266,6 @@
-
-
-
-
-
@@ -1570,11 +1273,6 @@
-
-
-
-
-
@@ -1582,10 +1280,6 @@
-
-
-
-
@@ -1593,7 +1287,6 @@
-
@@ -1613,28 +1306,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1642,10 +1317,6 @@
-
-
-
-
@@ -1653,10 +1324,6 @@
-
-
-
-
@@ -1664,7 +1331,6 @@
-
@@ -1672,7 +1338,6 @@
-
@@ -1680,7 +1345,6 @@
-
@@ -1688,7 +1352,6 @@
-
@@ -1696,7 +1359,6 @@
-
@@ -1704,7 +1366,6 @@
-
@@ -1712,7 +1373,6 @@
-
@@ -1720,7 +1380,6 @@
-
@@ -1728,11 +1387,6 @@
-
-
-
-
-
@@ -1740,10 +1394,6 @@
-
-
-
-
@@ -1751,10 +1401,6 @@
-
-
-
-
@@ -1762,7 +1408,6 @@
-
@@ -1770,7 +1415,6 @@
-
@@ -1778,73 +1422,84 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java b/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java
index 1f2c0f2..941e633 100644
--- a/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java
+++ b/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java
@@ -8,7 +8,6 @@
import com.casic.PgInterface.patroler.dto.PgPatrolMaintainInfoDto;
import com.casic.PgInterface.patroler.manager.PgMaintainDocManager;
import com.casic.PgInterface.patroler.manager.PgMaintainManager;
-import com.casic.PgInterface.patroler.manager.PgPatrolDocManager;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
@@ -57,7 +56,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("maintain_doc") String fileBuffer)
+ @FormParam("maintain_doc") String maintain_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
@@ -76,10 +75,10 @@
pgMaintainManager.save(pgMaintain);
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(maintain_doc)||StringUtils.isBlank(file_name))
pgMaintainDoc.setFile_path("");
else {
- pgMaintainDoc.setFile_path(pgMaintainDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgMaintainDoc.setFile_path(pgMaintainDocManager.saveFiles(maintain_doc, file_name, list_name ));
}
pgMaintainDoc.setList_name(list_name);
@@ -114,7 +113,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("maintain_doc") String fileBuffer)
+ @FormParam("maintain_doc") String maintain_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Map resultMap = new HashMap();
@@ -133,10 +132,10 @@
List pgMaintainDocList = pgMaintainDocManager.getMaintainDocById(pgMaintain);
PgMaintainDoc pgMaintainDocument = new PgMaintainDoc();
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(maintain_doc)||StringUtils.isBlank(file_name))
pgMaintainDocument.setFile_path("");
else {
- pgMaintainDocument.setFile_path(pgMaintainDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgMaintainDocument.setFile_path(pgMaintainDocManager.saveFiles(maintain_doc, file_name, list_name ));
}
for (PgMaintainDoc pgMaintainDoc : pgMaintainDocList)
diff --git a/src/main/java/com/casic/PgInterface/rs/PgPatrolRs.java b/src/main/java/com/casic/PgInterface/rs/PgPatrolRs.java
index 765e56d..a4cd71f 100644
--- a/src/main/java/com/casic/PgInterface/rs/PgPatrolRs.java
+++ b/src/main/java/com/casic/PgInterface/rs/PgPatrolRs.java
@@ -53,7 +53,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("patrol_doc") String fileBuffer)
+ @FormParam("patrol_doc") String patrol_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
@@ -73,10 +73,10 @@
pgPatrolManager.save(pgPatrol);
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(patrol_doc)||StringUtils.isBlank(file_name))
pgPatrolDoc.setFile_path("");
else {
- pgPatrolDoc.setFile_path(pgPatrolDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgPatrolDoc.setFile_path(pgPatrolDocManager.saveFiles(patrol_doc, file_name, list_name ));
}
pgPatrol = pgPatrolManager.getPgPatrolByPT(patroler, beginTime);
pgPatrolDoc.setList_name(list_name);
@@ -110,7 +110,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("patrol_doc") String fileBuffer)
+ @FormParam("patrol_doc") String patrol_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Map resultMap = new HashMap();
@@ -128,10 +128,10 @@
List pgPatrolDocList = pgPatrolDocManager.getPgPatrolDocById(pgPatrol);
PgPatrolDoc pgPatrolDocument = new PgPatrolDoc();
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(patrol_doc)||StringUtils.isBlank(file_name))
pgPatrolDocument.setFile_path("");
else {
- pgPatrolDocument.setFile_path(pgPatrolDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgPatrolDocument.setFile_path(pgPatrolDocManager.saveFiles(patrol_doc, file_name, list_name ));
}
for (PgPatrolDoc pgPatrolDoc : pgPatrolDocList) {
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index a8b1f90..e592855 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,11 +3,8 @@
-
-
-
-
-
+
+
@@ -32,75 +29,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -128,10 +57,8 @@
-
-
@@ -169,6 +96,8 @@
+
+
@@ -231,7 +160,7 @@
-
+
@@ -262,6 +191,7 @@
+
@@ -276,7 +206,6 @@
-
@@ -312,58 +241,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -421,130 +298,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -974,11 +727,7 @@
-
-
-
+
@@ -1083,7 +832,8 @@
-
+
+
1510219102698
@@ -1257,11 +1007,15 @@
1531193513894
1531193513894
-
+
+ 1531219605437
+ 1531219605437
+
+
-
+
@@ -1284,7 +1038,7 @@
-
+
@@ -1293,7 +1047,6 @@
-
@@ -1310,7 +1063,7 @@
-
+
@@ -1319,6 +1072,7 @@
+
@@ -1338,7 +1092,6 @@
-
@@ -1363,7 +1116,8 @@
-
+
+
@@ -1375,35 +1129,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1411,7 +1140,6 @@
-
@@ -1419,7 +1147,6 @@
-
@@ -1427,7 +1154,6 @@
-
@@ -1435,7 +1161,6 @@
-
@@ -1443,7 +1168,6 @@
-
@@ -1451,7 +1175,6 @@
-
@@ -1459,7 +1182,6 @@
-
@@ -1467,7 +1189,6 @@
-
@@ -1475,7 +1196,6 @@
-
@@ -1483,7 +1203,6 @@
-
@@ -1491,7 +1210,6 @@
-
@@ -1499,7 +1217,6 @@
-
@@ -1507,7 +1224,6 @@
-
@@ -1515,7 +1231,6 @@
-
@@ -1523,7 +1238,6 @@
-
@@ -1531,7 +1245,6 @@
-
@@ -1539,7 +1252,6 @@
-
@@ -1547,10 +1259,6 @@
-
-
-
-
@@ -1558,11 +1266,6 @@
-
-
-
-
-
@@ -1570,11 +1273,6 @@
-
-
-
-
-
@@ -1582,10 +1280,6 @@
-
-
-
-
@@ -1593,7 +1287,6 @@
-
@@ -1613,28 +1306,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1642,10 +1317,6 @@
-
-
-
-
@@ -1653,10 +1324,6 @@
-
-
-
-
@@ -1664,7 +1331,6 @@
-
@@ -1672,7 +1338,6 @@
-
@@ -1680,7 +1345,6 @@
-
@@ -1688,7 +1352,6 @@
-
@@ -1696,7 +1359,6 @@
-
@@ -1704,7 +1366,6 @@
-
@@ -1712,7 +1373,6 @@
-
@@ -1720,7 +1380,6 @@
-
@@ -1728,11 +1387,6 @@
-
-
-
-
-
@@ -1740,10 +1394,6 @@
-
-
-
-
@@ -1751,10 +1401,6 @@
-
-
-
-
@@ -1762,7 +1408,6 @@
-
@@ -1770,7 +1415,6 @@
-
@@ -1778,73 +1422,84 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java b/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java
index 1f2c0f2..941e633 100644
--- a/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java
+++ b/src/main/java/com/casic/PgInterface/rs/PgMaintainRs.java
@@ -8,7 +8,6 @@
import com.casic.PgInterface.patroler.dto.PgPatrolMaintainInfoDto;
import com.casic.PgInterface.patroler.manager.PgMaintainDocManager;
import com.casic.PgInterface.patroler.manager.PgMaintainManager;
-import com.casic.PgInterface.patroler.manager.PgPatrolDocManager;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
@@ -57,7 +56,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("maintain_doc") String fileBuffer)
+ @FormParam("maintain_doc") String maintain_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
@@ -76,10 +75,10 @@
pgMaintainManager.save(pgMaintain);
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(maintain_doc)||StringUtils.isBlank(file_name))
pgMaintainDoc.setFile_path("");
else {
- pgMaintainDoc.setFile_path(pgMaintainDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgMaintainDoc.setFile_path(pgMaintainDocManager.saveFiles(maintain_doc, file_name, list_name ));
}
pgMaintainDoc.setList_name(list_name);
@@ -114,7 +113,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("maintain_doc") String fileBuffer)
+ @FormParam("maintain_doc") String maintain_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Map resultMap = new HashMap();
@@ -133,10 +132,10 @@
List pgMaintainDocList = pgMaintainDocManager.getMaintainDocById(pgMaintain);
PgMaintainDoc pgMaintainDocument = new PgMaintainDoc();
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(maintain_doc)||StringUtils.isBlank(file_name))
pgMaintainDocument.setFile_path("");
else {
- pgMaintainDocument.setFile_path(pgMaintainDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgMaintainDocument.setFile_path(pgMaintainDocManager.saveFiles(maintain_doc, file_name, list_name ));
}
for (PgMaintainDoc pgMaintainDoc : pgMaintainDocList)
diff --git a/src/main/java/com/casic/PgInterface/rs/PgPatrolRs.java b/src/main/java/com/casic/PgInterface/rs/PgPatrolRs.java
index 765e56d..a4cd71f 100644
--- a/src/main/java/com/casic/PgInterface/rs/PgPatrolRs.java
+++ b/src/main/java/com/casic/PgInterface/rs/PgPatrolRs.java
@@ -53,7 +53,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("patrol_doc") String fileBuffer)
+ @FormParam("patrol_doc") String patrol_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
@@ -73,10 +73,10 @@
pgPatrolManager.save(pgPatrol);
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(patrol_doc)||StringUtils.isBlank(file_name))
pgPatrolDoc.setFile_path("");
else {
- pgPatrolDoc.setFile_path(pgPatrolDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgPatrolDoc.setFile_path(pgPatrolDocManager.saveFiles(patrol_doc, file_name, list_name ));
}
pgPatrol = pgPatrolManager.getPgPatrolByPT(patroler, beginTime);
pgPatrolDoc.setList_name(list_name);
@@ -110,7 +110,7 @@
@FormParam("describe") String describe,
@FormParam("list_name") String list_name,
@FormParam("file_name") String file_name,
- @FormParam("patrol_doc") String fileBuffer)
+ @FormParam("patrol_doc") String patrol_doc)
throws Exception {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Map resultMap = new HashMap();
@@ -128,10 +128,10 @@
List pgPatrolDocList = pgPatrolDocManager.getPgPatrolDocById(pgPatrol);
PgPatrolDoc pgPatrolDocument = new PgPatrolDoc();
- if (StringUtils.isBlank(fileBuffer)||StringUtils.isBlank(file_name))
+ if (StringUtils.isBlank(patrol_doc)||StringUtils.isBlank(file_name))
pgPatrolDocument.setFile_path("");
else {
- pgPatrolDocument.setFile_path(pgPatrolDocManager.saveFiles(fileBuffer, file_name, list_name ));
+ pgPatrolDocument.setFile_path(pgPatrolDocManager.saveFiles(patrol_doc, file_name, list_name ));
}
for (PgPatrolDoc pgPatrolDoc : pgPatrolDocList) {
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 b66385b..431e65c 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