|
|
|
@ -336,15 +336,15 @@ public class PortalPerformanceInfoCmd {
|
|
|
|
|
" where kpi_details in( " +
|
|
|
|
|
" select id\n" +
|
|
|
|
|
" from hr_kpi_details " +
|
|
|
|
|
" where KPI_SCHEME=?\n" +
|
|
|
|
|
" where kpi_scheme =?\n" +
|
|
|
|
|
" and MODULE='kpiSchemeSetting'\n" +
|
|
|
|
|
" and TENANT_KEY=?\n" +
|
|
|
|
|
" and DELETE_TYPE = 0" +
|
|
|
|
|
" and tenant_key =?\n" +
|
|
|
|
|
" and delete_type = '0' " +
|
|
|
|
|
" )\n" +
|
|
|
|
|
" and PROPERTY = 'weight'\n" +
|
|
|
|
|
" and MODULE = 'kpiSchemeSetting'\n" +
|
|
|
|
|
" and TENANT_KEY = ?\n" +
|
|
|
|
|
" and DELETE_TYPE = '0'\n" +
|
|
|
|
|
" and property = 'weight'\n" +
|
|
|
|
|
" and module = 'kpiSchemeSetting'\n" +
|
|
|
|
|
" and tenant_key = ?\n" +
|
|
|
|
|
" and delete_type = '0'\n" +
|
|
|
|
|
" order by name desc\n" +
|
|
|
|
|
") w limit 2";
|
|
|
|
|
|
|
|
|
@ -355,11 +355,12 @@ public class PortalPerformanceInfoCmd {
|
|
|
|
|
strlist3.add(tenant_key);
|
|
|
|
|
strlist3.add(tenant_key);
|
|
|
|
|
|
|
|
|
|
List<SqlParamEntity> sqlparam3 = databaseUtils.getSqlParamEntity(strlist);
|
|
|
|
|
List<SqlParamEntity> sqlparam3 = databaseUtils.getSqlParamEntity(strlist3);
|
|
|
|
|
Map<String, Object> result3 = databaseUtils.executeForQuery(sourceType, groupId, sql, sqlparam3);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<Map<String, Object>> recordList3 = databaseUtils.getDataSourceList(result3);
|
|
|
|
|
log.error("recordList3:" + recordList3.size());
|
|
|
|
|
|
|
|
|
|
for (int k = 0; k < recordList3.size(); k++) {
|
|
|
|
|
Map<String, Object> recordMap3 = recordList3.get(k);
|
|
|
|
|
|
|
|
|
|