|
@@ -2010,7 +2010,7 @@ public class TimerServiceImpl implements TimerService {
|
|
|
.build());
|
|
.build());
|
|
|
String names = "('";
|
|
String names = "('";
|
|
|
for (int i = 0; i < dataList.size(); i++) {
|
|
for (int i = 0; i < dataList.size(); i++) {
|
|
|
- names = names + dataList.get(i).get("textField_ltxrn8h1") + "','";
|
|
|
|
|
|
|
+ names = names + dataList.get(i).get("textField_lrr3rg6i") + "','";
|
|
|
}
|
|
}
|
|
|
names = names + "')";
|
|
names = names + "')";
|
|
|
|
|
|
|
@@ -2047,7 +2047,7 @@ public class TimerServiceImpl implements TimerService {
|
|
|
"\tWHERE 1=1 \n" +
|
|
"\tWHERE 1=1 \n" +
|
|
|
"\tAND CAST(`month` AS CHAR) < '"+lastTime+"'\n" +
|
|
"\tAND CAST(`month` AS CHAR) < '"+lastTime+"'\n" +
|
|
|
"\tAND CAST(`month` AS CHAR) >= '"+lastTimestamp.get(0)+"'\n" +
|
|
"\tAND CAST(`month` AS CHAR) >= '"+lastTimestamp.get(0)+"'\n" +
|
|
|
- "\tAND project_code in "+names+"";
|
|
|
|
|
|
|
+ "\tAND project_name in "+names+"";
|
|
|
|
|
|
|
|
List<ProjectAnalysis> analysisList = jdbcTemplate.query(sql, new ProjectAnalysisMapper());
|
|
List<ProjectAnalysis> analysisList = jdbcTemplate.query(sql, new ProjectAnalysisMapper());
|
|
|
|
|
|