Commit f5de7db8 by 宋珺琪

数据分析redis添加、查看结果时空回溯结构化(湖南)

parent 842eb165
......@@ -203,6 +203,10 @@ public class SkRegionalsResultController extends ApiController implements ExcelC
// 时空伴随
listResult = skRegionalsResultService.skbsResult(params,taskType);
break;
case "skhs_jgh":
// 时空回溯结构化
jsonArray = JsonUtils.readJsonFromClassPath("data/getRxhs.json", JSONArray.class);
break;
}
if(jsonArray.size()>0) {
......
......@@ -25,6 +25,7 @@ import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
......@@ -63,12 +64,13 @@ public class HnTbStRygxController {
public static final String TEAM_KEY = "teamNum:"; //创建人+任务id+团伙数量
public static final String IMG_TASK_KEY = "imgKey";
//上传的路径
public static final String HNKSH_FILE_PATH = "/data/excel/kshExcel/";
//下载的路径
public static final String HNKSH_DOWNLOAD_FILE_PATH = "http://47.92.48.137:1009/excel/kshExcel/";
//下载模板的路径
public static final String HNKSH_DOWNLOAD_EXCEL_TEMPLATE_PATH = "http://47.92.48.137:1009/excel/kshExcel/ExcelTemplate.xls";
@Value("${hnkshFilePath}")
private String HNKSH_FILE_PATH;
@Value("${hnkshDownloadFilePath}")
private String HNKSH_DOWNLOAD_FILE_PATH;
@Value("${hnkshDownloadExcelTemplatePath}")
private String HNKSH_DOWNLOAD_EXCEL_TEMPLATE_PATH;
/**
......
......@@ -21,6 +21,19 @@ spring.datasource.qgdb.url=ENC(Y1dXm7lJCGbPffW6Pbg/Uid1UK2Z1Tu2TNdp9AgqT/iXb4hNR
spring.datasource.qgdb.username=ENC(e7qsvm7EnrdHG04YnaTMsw==)
spring.datasource.qgdb.password=ENC(XPnOn0zoWMgOG8gIws+Bh7JITC3mMqSn)
spring.datasource.qgdb.type=com.alibaba.druid.pool.DruidDataSource
#redis
spring.redis.host=47.92.225.109
spring.redis.port=3001
spring.redis.password=CcXzxt
#\u6570\u636E\u5206\u6790\u4E0A\u4F20\u7684\u8DEF\u5F84
hnkshFilePath=/data/excel/kshExcel/
#\u6570\u636E\u5206\u6790\u4E0B\u8F7D\u7684\u8DEF\u5F84
hnkshDownloadFilePath = http://47.92.48.137:1009/excel/kshExcel/
#\u6570\u636E\u5206\u6790\u4E0B\u8F7D\u6A21\u677F\u7684\u8DEF\u5F84
hnkshDownloadExcelTemplatePath = http://47.92.48.137:1009/excel/kshExcel/ExcelTemplate.xls
#xml???
mybatis-plus.mapper-locations=classpath*:com/founder/publicapi/mapper/*/xml/*.xml
#es?????????
......
......@@ -19,6 +19,19 @@ spring.datasource.qgdb.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.qgdb.url=ENC(5lDm8jrRL3ZRPNelHHKmy87uO2r12LnIVIQxybw8bmMQrBfXCEkE9WR6y7o6OS+S7yeRnaVQoaAB7d1Z9r9teV3K+DTvLwj01DWCS2p7ggTqycYWHh2eqcpW129HoUoiyPlzRO0Dl+Mnpj/utHB9/lOfAEBhRHLS)
spring.datasource.qgdb.username=ENC(b7OXS5qvb3tVsaDbfqkFpg==)
spring.datasource.qgdb.password=ENC(PhkJovHr5GezJgLS+gfSFaID3dNlmUi5)
#redis
spring.redis.host=47.92.225.109
spring.redis.port=3001
spring.redis.password=CcXzxt
#\u6570\u636E\u5206\u6790\u4E0A\u4F20\u7684\u8DEF\u5F84
hnkshFilePath=/data/excel/kshExcel/
#\u6570\u636E\u5206\u6790\u4E0B\u8F7D\u7684\u8DEF\u5F84
hnkshDownloadFilePath = http://47.92.48.137:1009/excel/kshExcel/
#\u6570\u636E\u5206\u6790\u4E0B\u8F7D\u6A21\u677F\u7684\u8DEF\u5F84
hnkshDownloadExcelTemplatePath = http://47.92.48.137:1009/excel/kshExcel/ExcelTemplate.xls
#xml\u0268\uFFFD\uFFFD
mybatis-plus.mapper-locations=classpath*:com/founder/publicapi/mapper/*/xml/*.xml
#es\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0631\uFFFD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment