no message
This commit is contained in:
parent
2da5ba5137
commit
552afab108
@ -166,6 +166,11 @@ public class DateUploadController {
|
||||
return AjaxResult.success("成功");
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加方法
|
||||
* @param dateUpload
|
||||
* @return
|
||||
*/
|
||||
private List<DateUpload> infr(List<DateUpload> dateUpload) {
|
||||
for (int i = 0; i < dateUpload.size(); i++) {
|
||||
|
||||
@ -214,16 +219,10 @@ public class DateUploadController {
|
||||
|
||||
DateUpload uploadValue = service.selectShp(name1, type, "");
|
||||
|
||||
// callExe1(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id());
|
||||
// callExe(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id(),
|
||||
// ShpPaths + uploadValue.getData_id());
|
||||
//
|
||||
// MyThread1 demo = new MyThread1(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id(),
|
||||
// ShpPaths + uploadValue.getData_id());
|
||||
// demo.run();
|
||||
MyThread1 demo = new MyThread1(name.replace(".tif", ""),
|
||||
FilePaths + dateUpload.get(i).getData_id(),
|
||||
ShpPaths + uploadValue.getData_id());
|
||||
demo.run();
|
||||
|
||||
} else if (type1.equals("BOUNDARIES") || type1.equals("RSIMAGES"))//Boundaries
|
||||
{
|
||||
@ -278,17 +277,12 @@ public class DateUploadController {
|
||||
|
||||
dateUpload.get(i).setExtent1(dateUpload.get(i).getExtent().toString());
|
||||
|
||||
// DateUpload uploadValue = service.selectShp(name1, type, "");
|
||||
DateUpload uploadValue = service.selectShp(name1, type, "");
|
||||
|
||||
// callExe1(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id());
|
||||
// callExe(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id(),
|
||||
// ShpPaths + uploadValue.getData_id());
|
||||
// MyThread1 demo = new MyThread1(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id(),
|
||||
// ShpPaths + uploadValue.getData_id());
|
||||
// demo.run();
|
||||
MyThread1 demo = new MyThread1(name.replace(".tif", ""),
|
||||
FilePaths + dateUpload.get(i).getData_id(),
|
||||
ShpPaths + uploadValue.getData_id());
|
||||
demo.run();
|
||||
|
||||
} else if (type1.equals("SUITABILITY")) {
|
||||
String[] strs = dateUpload.get(i).getFileName().split("\\.");
|
||||
@ -323,15 +317,10 @@ public class DateUploadController {
|
||||
|
||||
DateUpload uploadValue = service.selectShp(name1, type, "");
|
||||
|
||||
// callExe1(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id());
|
||||
// callExe(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id(),
|
||||
// ShpPaths + uploadValue.getData_id());
|
||||
// MyThread1 demo = new MyThread1(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id(),
|
||||
// ShpPaths + uploadValue.getData_id());
|
||||
// demo.run();
|
||||
MyThread1 demo = new MyThread1(name.replace(".tif", ""),
|
||||
FilePaths + dateUpload.get(i).getData_id(),
|
||||
ShpPaths + uploadValue.getData_id());
|
||||
demo.run();
|
||||
} else {
|
||||
String[] strs = dateUpload.get(i).getFileName().split("\\.");
|
||||
|
||||
@ -361,17 +350,12 @@ public class DateUploadController {
|
||||
|
||||
dateUpload.get(i).setExtent1(dateUpload.get(i).getExtent().toString());
|
||||
|
||||
|
||||
DateUpload uploadValue = service.selectShp(name1, type, "");
|
||||
// callExe1(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id());
|
||||
// callExe(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id(),
|
||||
// ShpPaths + uploadValue.getData_id());
|
||||
// MyThread1 demo = new MyThread1(name.replace(".tif", ""),
|
||||
// FilePaths + dateUpload.get(i).getData_id(),
|
||||
// ShpPaths + uploadValue.getData_id());
|
||||
// demo.run();
|
||||
|
||||
MyThread1 demo = new MyThread1(name.replace(".tif", ""),
|
||||
FilePaths + dateUpload.get(i).getData_id(),
|
||||
ShpPaths + uploadValue.getData_id());
|
||||
demo.run();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -6,14 +6,14 @@ spring:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
druid:
|
||||
master:
|
||||
# url: jdbc:postgresql://rs-middleware-postgres:5432/itba?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
|
||||
# username: gis
|
||||
# password: AQBSdU5bT27AKxAAvKoWQdGpSuNRCHjC4B8DVA
|
||||
url: jdbc:postgresql://rs-middleware-postgres:5432/itba?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
|
||||
username: gis
|
||||
password: AQBSdU5bT27AKxAAvKoWQdGpSuNRCHjC4B8DVA
|
||||
|
||||
#url: jdbc:postgresql://192.168.2.9:5432/saudiArabia?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:postgresql://121.36.229.60:5432/saudiArabia?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
|
||||
username: sjs
|
||||
password: song5325
|
||||
# url: jdbc:postgresql://121.36.229.60:5432/saudiArabia?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
|
||||
# username: sjs
|
||||
# password: song5325
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
|
@ -60,16 +60,16 @@ spring:
|
||||
# redis 配置
|
||||
redis:
|
||||
# 地址
|
||||
#host: rs-middleware-redis
|
||||
host: localhost
|
||||
host: rs-middleware-redis
|
||||
#host: localhost
|
||||
# 端口,默认为6379
|
||||
#port: 14096
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
database: 0
|
||||
# 密码
|
||||
#password: SenseTime@2019
|
||||
password: sdust2020
|
||||
password: SenseTime@2019
|
||||
#password: sdust2020
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
lettuce:
|
||||
|
Loading…
x
Reference in New Issue
Block a user