|
|
@@ -61,8 +61,10 @@ public class Bankstatement extends Controller {
|
|
|
querySQL.setPage(pageSize, pageNumber);
|
|
|
querySQL.setOrderBy(pageSorting);
|
|
|
Rows rows = querySQL.query();
|
|
|
- Rows lastruntime = dbConnect.runSqlQuery("select max(lastruntime) lastruntime from sys_services where classname in ('AutoQueryBoclnfosForJH_" + siteid + "','AutoQueryBoclnfosForNH_" + siteid + "','AutoQueryBoclnfosForZH_" + siteid + "')");
|
|
|
- rows.get(0).put("lastruntime", lastruntime.isEmpty() ? "" : lastruntime.get(0).getString("lastruntime"));
|
|
|
+ Rows lastruntime = dbConnect.runSqlQuery("select max(lastruntime) lastruntime from sys_services where classname in ('AutoQueryBoclnfosForNH')");
|
|
|
+ if(rows.isNotEmpty()){
|
|
|
+ rows.get(0).put("lastruntime", lastruntime.isEmpty() ? "" : lastruntime.get(0).getString("lastruntime"));
|
|
|
+ }
|
|
|
return getSucReturnObject().setData(rows).toString();
|
|
|
}
|
|
|
|