|
@ -443,10 +443,12 @@ public class ElasticsearchUtil {
|
|
|
|
|
|
//时间格式转换 yyyy-MM-dd转成 2017-07-17T00:00:00+0800
|
|
|
areaLevel="6";
|
|
|
String sqlArea = " select area_level from wlyy_job_config_new where id='"+index+"' ";
|
|
|
List<String> areaLevels = jdbcTemplate.queryForList(sqlArea,String.class);
|
|
|
if (areaLevels.size()>0){
|
|
|
areaLevel = areaLevels.get(0);
|
|
|
if (!index.contains(",")){
|
|
|
String sqlArea = " select area_level from wlyy_job_config_new where id="+index;
|
|
|
List<String> areaLevels = jdbcTemplate.queryForList(sqlArea,String.class);
|
|
|
if (areaLevels.size()>0){
|
|
|
areaLevel = areaLevels.get(0);
|
|
|
}
|
|
|
}
|
|
|
if (StringUtils.isNotEmpty(startDate)) {
|
|
|
if (startDate.length() > 10) {
|