[00:07:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [00:07:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [00:07:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [00:07:17] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [00:07:18] [DEBUG] controller.JsonController - ------------------------------------- [00:07:18] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [00:07:18] [DEBUG] controller.JsonController - ------------------------------------- [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:07:18] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [00:07:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [00:09:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 16 [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:09:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [00:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:17:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [00:17:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [00:17:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [00:17:18] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 0 [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [00:17:19] [DEBUG] controller.JsonController - ------------------------------------- [00:17:19] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [00:17:19] [DEBUG] controller.JsonController - ------------------------------------- [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:17:19] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [00:17:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [00:19:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 16 [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:19:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [00:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:19:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:27:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [00:27:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [00:27:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [00:27:19] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 0 [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [00:27:20] [DEBUG] controller.JsonController - ------------------------------------- [00:27:20] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [00:27:20] [DEBUG] controller.JsonController - ------------------------------------- [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:27:20] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [00:27:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [00:29:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 16 [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:29:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [00:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:37:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [00:37:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [00:37:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [00:37:19] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [00:37:20] [DEBUG] controller.JsonController - ------------------------------------- [00:37:20] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [00:37:20] [DEBUG] controller.JsonController - ------------------------------------- [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:37:20] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [00:37:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [00:39:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 31 [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:39:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [00:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:47:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [00:47:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [00:47:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [00:47:19] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [00:47:20] [DEBUG] controller.JsonController - ------------------------------------- [00:47:20] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [00:47:20] [DEBUG] controller.JsonController - ------------------------------------- [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:47:20] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [00:47:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [00:49:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 16 [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:49:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [00:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:56:42] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78266(Integer), 2022-10-19(String), 00(String), 56(String), 4683953(Long), 4577625(Long), 7(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 6(Integer), 0(Integer), 7(Integer), 3813(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6814(Integer), 0(Integer), 324(Integer), 276(Integer), 3469(Integer), 3433(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 277(Integer), 261(Integer), 262(Integer), 263(Integer), 258(Integer), 295(Integer), 455(Integer), 437(Integer), 450(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_cs ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHms, csType, procType, procStatus, procMemo, pcsFaultStr, batteryFaultStr, updateId, updateDatetime, createId, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now(), ?, now() ) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78266(Integer), 2022-10-19(String), 00:56:01(String), 20(String), 10(String), 10(String), PMS FAULT PUSH(String), 1,0,0,0(String), 1,0,0,0(String), PUSH(String), PUSH(String) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78266(Integer), 2022-10-19(String), 00(String), 56(String), 4683953(Long), 4577625(Long), 7(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 6(Integer), 0(Integer), 7(Integer), 3813(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6814(Integer), 0(Integer), 324(Integer), 276(Integer), 3469(Integer), 3433(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 277(Integer), 261(Integer), 262(Integer), 263(Integer), 258(Integer), 295(Integer), 455(Integer), 437(Integer), 450(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78266(Integer), 2022-10-19(String), 00(String), 56(String), 4589411(Long), 4482219(Long), 6(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 6(Integer), 0(Integer), 6(Integer), 3749(Integer), 30(Integer), 19(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 128(Integer), 4(Integer), 0(Integer), 8(Integer), 0(Integer), 89(Integer), 4(Integer), 277(Integer), 261(Integer), 262(Integer), 263(Integer), 258(Integer), 295(Integer), 455(Integer), 437(Integer), 450(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 20(String), 60(Integer) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_cs ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHms, csType, procType, procStatus, procMemo, pcsFaultStr, batteryFaultStr, updateId, updateDatetime, createId, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now(), ?, now() ) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78266(Integer), 2022-10-19(String), 00:56:01(String), 20(String), 20(String), 10(String), PMS FAULT PUSH(String), 4,0,0,0(String), 0,0,0,0(String), PUSH(String), PUSH(String) [00:56:42] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [00:56:42] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [00:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [00:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [00:57:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [00:57:19] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [00:57:20] [DEBUG] controller.JsonController - ------------------------------------- [00:57:20] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [00:57:20] [DEBUG] controller.JsonController - ------------------------------------- [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:57:20] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [00:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [00:59:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 31 [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [00:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [00:59:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [00:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [00:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [00:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [00:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:07:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [01:07:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [01:07:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [01:07:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [01:07:21] [DEBUG] controller.JsonController - ------------------------------------- [01:07:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [01:07:21] [DEBUG] controller.JsonController - ------------------------------------- [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:07:21] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [01:07:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [01:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [01:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [01:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [01:09:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 31 [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:09:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [01:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [01:17:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:17:20] [DEBUG] controller.JsonController - ------------------------------------- [01:17:20] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [01:17:20] [DEBUG] controller.JsonController - ------------------------------------- [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:17:20] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [01:17:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [01:19:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 47 [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:19:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [01:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [01:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [01:27:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [01:27:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 0 [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [01:27:21] [DEBUG] controller.JsonController - ------------------------------------- [01:27:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [01:27:21] [DEBUG] controller.JsonController - ------------------------------------- [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:27:21] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [01:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [01:29:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 47 [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:29:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [01:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:32:27] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [01:32:31] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [01:32:31] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [01:32:31] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:32:31] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [01:32:31] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [01:32:31] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [01:32:31] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [01:32:31] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [01:32:31] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [01:32:31] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [01:32:31] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:32:31] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : GSNGsolar, mappingList.size : 2 [01:32:31] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [01:32:31] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 1A426B8C0840CCD989C5655DD3E9E9E4(String), PHONE(String) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [01:32:31] [DEBUG] controller.EssController - ----------------------------------------------- [01:32:31] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [01:32:31] [DEBUG] controller.EssController - ----------------------------------------------- [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-18(String), 85(Integer), 0(Integer), 2022-10-17(String), 85(Integer), 0(Integer), 2022-10-19(String), 78268(Integer) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 85(Integer) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:32:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:32:31] [DEBUG] controller.EssController - ----------------------------------------------- [01:32:31] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [01:32:31] [DEBUG] controller.EssController - ----------------------------------------------- [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-05(String) [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-19(String), 85(Integer), 0(Integer), 2022-10-19(String) [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [01:32:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [01:32:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [01:32:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [01:32:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [01:33:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [01:33:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [01:33:13] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [01:33:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [01:33:13] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [01:33:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [01:33:13] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co;jsessionid=B075898648DDD5C3C37C6E52300A6F2B [01:33:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [01:33:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [01:33:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [01:33:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:33:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : GSNGsolar, mappingList.size : 2 [01:33:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [01:33:13] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 7A8AB0209782DAB182064ABDBEF495FC(String), PHONE(String) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [01:33:13] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [01:33:13] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [01:33:13] [DEBUG] controller.SignController - /ess/view.co [01:33:13] [DEBUG] controller.SignController - ....................................... [01:33:13] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:13] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [01:33:13] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-18(String), 85(Integer), 0(Integer), 2022-10-17(String), 85(Integer), 0(Integer), 2022-10-19(String), 78268(Integer) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 85(Integer) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:33:13] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:13] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [01:33:13] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-05(String) [01:33:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-19(String), 85(Integer), 0(Integer), 2022-10-19(String) [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [01:33:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:17] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:17] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86, refer : http://emsa.eltenergy.com/ess/view.co [01:33:17] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-10-19(String), 2022-10-19(String) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:17] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:17] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [01:33:17] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-10-19(String), 86(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-10-18(String), 86(Integer), 0(Integer), 2022-10-17(String), 86(Integer), 0(Integer), 2022-10-19(String), 78268(Integer) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-10-19(String), 86(Integer), 2022-10-19(String), 86(Integer) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:33:17] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:17] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [01:33:17] [DEBUG] controller.EssController - ----------------------------------------------- [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-10-05(String) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [01:33:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:33:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [01:33:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-10-19(String), 86(Integer), 0(Integer), 2022-10-19(String) [01:33:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:33:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [01:33:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [01:33:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [01:33:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [01:33:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-10-19(String), 86(Integer), 1(Integer), 2022-10-19(String) [01:33:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [01:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [01:37:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [01:37:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 0 [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [01:37:21] [DEBUG] controller.JsonController - ------------------------------------- [01:37:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [01:37:21] [DEBUG] controller.JsonController - ------------------------------------- [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:37:21] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [01:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [01:39:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 31 [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:39:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [01:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [01:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [01:47:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [01:47:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [01:47:21] [DEBUG] controller.JsonController - ------------------------------------- [01:47:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [01:47:21] [DEBUG] controller.JsonController - ------------------------------------- [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:47:21] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [01:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [01:49:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 47 [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:49:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [01:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [01:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [01:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [01:57:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 0 [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:57:21] [DEBUG] controller.JsonController - ------------------------------------- [01:57:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [01:57:21] [DEBUG] controller.JsonController - ------------------------------------- [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:57:21] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [01:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [01:59:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 31 [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [01:59:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [01:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [01:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [01:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [01:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:07:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [02:07:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [02:07:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [02:07:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [02:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [02:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:07:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [02:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [02:07:22] [DEBUG] controller.JsonController - ------------------------------------- [02:07:22] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [02:07:22] [DEBUG] controller.JsonController - ------------------------------------- [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:07:22] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [02:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [02:09:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 47 [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:09:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [02:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:14:23] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78269(Integer), 2022-10-19(String), 02(String), 14(String), 4683953(Long), 4577625(Long), 7(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 15(Integer), 0(Integer), 7(Integer), 3854(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6815(Integer), 0(Integer), 320(Integer), 270(Integer), 3468(Integer), 3433(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 263(Integer), 257(Integer), 260(Integer), 261(Integer), 255(Integer), 305(Integer), 452(Integer), 435(Integer), 447(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:14:23] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78269(Integer), 2022-10-19(String), 02(String), 14(String), 4683953(Long), 4577625(Long), 7(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 15(Integer), 0(Integer), 7(Integer), 3854(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6815(Integer), 0(Integer), 320(Integer), 270(Integer), 3468(Integer), 3433(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 263(Integer), 257(Integer), 260(Integer), 261(Integer), 255(Integer), 305(Integer), 452(Integer), 435(Integer), 447(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78269(Integer), 2022-10-19(String), 02(String), 14(String), 4589411(Long), 4482219(Long), 7(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 15(Integer), 0(Integer), 7(Integer), 3803(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6806(Integer), 0(Integer), 325(Integer), 6536(Integer), 3460(Integer), 3433(Integer), 3(Integer), 32(Integer), 0(Integer), 7302(Integer), 0(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 263(Integer), 257(Integer), 260(Integer), 261(Integer), 255(Integer), 305(Integer), 452(Integer), 435(Integer), 447(Integer), 455(Integer), 32(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [02:14:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:14:23] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 0,0,0,0, bms : 32,0,0,0 [02:14:23] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [02:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [02:17:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [02:17:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [02:17:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 15 [02:17:21] [DEBUG] controller.JsonController - ------------------------------------- [02:17:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_60_2","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [02:17:21] [DEBUG] controller.JsonController - ------------------------------------- [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:17:21] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [02:17:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:19:15] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [02:19:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [02:19:18] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [02:19:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:19:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [02:19:18] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [02:19:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [02:19:18] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [02:19:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [02:19:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [02:19:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [02:19:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:19:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : GSNGsolar, mappingList.size : 2 [02:19:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [02:19:18] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), A4ABA9122A38A1AAC60C5951D5FFCD92(String), PHONE(String) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [02:19:18] [DEBUG] controller.EssController - ----------------------------------------------- [02:19:18] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [02:19:18] [DEBUG] controller.EssController - ----------------------------------------------- [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-18(String), 85(Integer), 0(Integer), 2022-10-17(String), 85(Integer), 0(Integer), 2022-10-19(String), 78269(Integer) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 85(Integer) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:19:18] [DEBUG] controller.EssController - ----------------------------------------------- [02:19:18] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [02:19:18] [DEBUG] controller.EssController - ----------------------------------------------- [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-05(String) [02:19:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-19(String), 85(Integer), 0(Integer), 2022-10-19(String) [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [02:19:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [02:19:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 46 [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:19:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [02:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:20:15] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [02:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [02:27:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [02:27:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [02:27:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 15 [02:27:21] [DEBUG] controller.JsonController - ------------------------------------- [02:27:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_60_2","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [02:27:21] [DEBUG] controller.JsonController - ------------------------------------- [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:27:21] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [02:27:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [02:29:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 47 [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:29:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [02:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [02:37:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [02:37:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [02:37:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:37:21] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [02:37:21] [DEBUG] controller.JsonController - ------------------------------------- [02:37:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [02:37:21] [DEBUG] controller.JsonController - ------------------------------------- [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [02:37:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [02:39:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 62 [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:39:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [02:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [02:47:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [02:47:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [02:47:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 0 [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [02:47:21] [DEBUG] controller.JsonController - ------------------------------------- [02:47:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [02:47:21] [DEBUG] controller.JsonController - ------------------------------------- [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:47:21] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [02:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [02:49:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 63 [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:49:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [02:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [02:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [02:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [02:57:20] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:57:22] [DEBUG] controller.JsonController - ------------------------------------- [02:57:22] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [02:57:22] [DEBUG] controller.JsonController - ------------------------------------- [02:57:22] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [02:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [02:59:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 63 [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [02:59:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [02:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [02:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [02:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [03:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [03:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [03:07:22] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:07:23] [DEBUG] controller.JsonController - ------------------------------------- [03:07:23] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [03:07:23] [DEBUG] controller.JsonController - ------------------------------------- [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:07:23] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [03:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:09:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 62 [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:09:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [03:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [03:17:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [03:17:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [03:17:21] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:17:22] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:17:22] [DEBUG] controller.JsonController - ------------------------------------- [03:17:22] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [03:17:22] [DEBUG] controller.JsonController - ------------------------------------- [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [03:17:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:19:44] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 78 [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:19:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [03:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:27:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [03:27:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [03:27:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [03:27:22] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:27:23] [DEBUG] controller.JsonController - ------------------------------------- [03:27:23] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [03:27:23] [DEBUG] controller.JsonController - ------------------------------------- [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:27:23] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [03:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:29:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 78 [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:29:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [03:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:37:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [03:37:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [03:37:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [03:37:22] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:37:23] [DEBUG] controller.JsonController - ------------------------------------- [03:37:23] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [03:37:23] [DEBUG] controller.JsonController - ------------------------------------- [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:37:23] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [03:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:39:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 78 [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:39:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [03:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [03:47:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [03:47:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [03:47:21] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:47:22] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:47:22] [DEBUG] controller.JsonController - ------------------------------------- [03:47:22] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [03:47:22] [DEBUG] controller.JsonController - ------------------------------------- [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:47:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:47:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [03:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [03:47:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:49:44] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 78 [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:49:44] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [03:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [03:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [03:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [03:57:22] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:57:23] [DEBUG] controller.JsonController - ------------------------------------- [03:57:23] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [03:57:23] [DEBUG] controller.JsonController - ------------------------------------- [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:57:23] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [03:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [03:59:44] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 78 [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [03:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [03:59:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [03:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [03:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [03:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [03:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [04:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [04:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [04:07:23] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:07:24] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:07:24] [DEBUG] controller.JsonController - ------------------------------------- [04:07:24] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [04:07:24] [DEBUG] controller.JsonController - ------------------------------------- [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [04:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:09:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 94 [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:09:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [04:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [04:17:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [04:17:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [04:17:22] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:17:23] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:17:23] [DEBUG] controller.JsonController - ------------------------------------- [04:17:23] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [04:17:23] [DEBUG] controller.JsonController - ------------------------------------- [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [04:17:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:19:44] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 78 [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:19:44] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [04:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:27:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [04:27:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [04:27:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [04:27:22] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:27:23] [DEBUG] controller.JsonController - ------------------------------------- [04:27:23] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [04:27:23] [DEBUG] controller.JsonController - ------------------------------------- [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:27:23] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [04:27:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:29:44] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 78 [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:29:44] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [04:29:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [04:37:23] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:37:23] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:37:23] [DEBUG] controller.JsonController - ------------------------------------- [04:37:23] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [04:37:23] [DEBUG] controller.JsonController - ------------------------------------- [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [04:37:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:39:44] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 94 [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:39:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:39:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [04:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [04:47:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [04:47:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [04:47:22] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:47:23] [DEBUG] controller.JsonController - ------------------------------------- [04:47:23] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [04:47:23] [DEBUG] controller.JsonController - ------------------------------------- [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:47:23] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [04:47:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:49:44] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 94 [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:49:44] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [04:49:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [04:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [04:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [04:57:23] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [04:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [04:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [04:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:57:24] [DEBUG] controller.JsonController - ------------------------------------- [04:57:24] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [04:57:24] [DEBUG] controller.JsonController - ------------------------------------- [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:57:24] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [04:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:59:44] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 93 [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [04:59:44] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [04:59:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [04:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [04:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [05:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [05:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [05:07:23] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:07:24] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:07:24] [DEBUG] controller.JsonController - ------------------------------------- [05:07:24] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [05:07:24] [DEBUG] controller.JsonController - ------------------------------------- [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:07:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:07:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:07:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [05:07:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [05:07:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:09:44] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 109 [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:09:44] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [05:09:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:09:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:09:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:17:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [05:17:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [05:17:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [05:17:24] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:17:25] [DEBUG] controller.JsonController - ------------------------------------- [05:17:25] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [05:17:25] [DEBUG] controller.JsonController - ------------------------------------- [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:17:25] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [05:17:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [05:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [05:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [05:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:19:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 94 [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:19:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [05:19:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:26:40] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78275(Integer), 2022-10-19(String), 05(String), 26(String), 4589411(Long), 4482219(Long), 6(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 36(Integer), 0(Integer), 6(Integer), 3744(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6809(Integer), 0(Integer), 313(Integer), 262(Integer), 3460(Integer), 3434(Integer), 16(Integer), 32(Integer), 0(Integer), 1160(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 231(Integer), 247(Integer), 250(Integer), 251(Integer), 246(Integer), 325(Integer), 447(Integer), 430(Integer), 442(Integer), 449(Integer), 32(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:26:40] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 0,0,0,0, bms : 32,0,0,0 [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78275(Integer), 2022-10-19(String), 05(String), 26(String), 4589411(Long), 4482219(Long), 6(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 36(Integer), 0(Integer), 6(Integer), 3744(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6809(Integer), 0(Integer), 313(Integer), 262(Integer), 3460(Integer), 3434(Integer), 16(Integer), 32(Integer), 0(Integer), 1160(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 231(Integer), 247(Integer), 250(Integer), 251(Integer), 246(Integer), 325(Integer), 447(Integer), 430(Integer), 442(Integer), 449(Integer), 32(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78275(Integer), 2022-10-19(String), 05(String), 26(String), 4683953(Long), 4577625(Long), 6(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 36(Integer), 0(Integer), 6(Integer), 3817(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6815(Integer), 0(Integer), 309(Integer), 259(Integer), 3469(Integer), 3433(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 231(Integer), 247(Integer), 250(Integer), 251(Integer), 246(Integer), 325(Integer), 447(Integer), 430(Integer), 442(Integer), 449(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [05:26:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:26:40] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [05:26:40] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [05:27:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [05:27:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [05:27:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [05:27:24] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [05:27:26] [DEBUG] controller.JsonController - ------------------------------------- [05:27:26] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_60_2","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [05:27:26] [DEBUG] controller.JsonController - ------------------------------------- [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:27:26] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [05:27:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:29:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 94 [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:29:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [05:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:37:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [05:37:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [05:37:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [05:37:25] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:37:26] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:37:26] [DEBUG] controller.JsonController - ------------------------------------- [05:37:26] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [05:37:26] [DEBUG] controller.JsonController - ------------------------------------- [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [05:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:39:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 110 [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:39:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [05:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:47:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [05:47:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [05:47:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [05:47:26] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:47:27] [DEBUG] controller.JsonController - ------------------------------------- [05:47:27] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [05:47:27] [DEBUG] controller.JsonController - ------------------------------------- [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:47:27] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [05:47:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:49:45] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 109 [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:49:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:49:45] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [05:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [05:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [05:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:49:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:49:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:57:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [05:57:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [05:57:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [05:57:26] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:57:27] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:57:27] [DEBUG] controller.JsonController - ------------------------------------- [05:57:27] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [05:57:27] [DEBUG] controller.JsonController - ------------------------------------- [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [05:57:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [05:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [05:59:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [05:59:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [05:59:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 109 [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [05:59:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [05:59:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [05:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [05:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:07:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:07:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [06:07:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [06:07:27] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 32 [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:07:28] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:07:28] [DEBUG] controller.JsonController - ------------------------------------- [06:07:28] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [06:07:28] [DEBUG] controller.JsonController - ------------------------------------- [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [06:07:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:09:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 109 [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:09:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [06:09:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:17:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:17:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [06:17:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [06:17:27] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:17:28] [DEBUG] controller.JsonController - ------------------------------------- [06:17:28] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [06:17:28] [DEBUG] controller.JsonController - ------------------------------------- [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:17:28] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [06:17:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:19:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 109 [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:19:46] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [06:19:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:27:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:27:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [06:27:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [06:27:29] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:27:30] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:27:30] [DEBUG] controller.JsonController - ------------------------------------- [06:27:30] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [06:27:30] [DEBUG] controller.JsonController - ------------------------------------- [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [06:27:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 2022-10-19(String) [06:29:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [06:29:07] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 15 [06:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-10-19(String), 2022-10-19(String) [06:29:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:29:46] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 109 [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:29:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:29:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [06:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:37:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:37:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [06:37:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [06:37:29] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [06:37:30] [DEBUG] controller.JsonController - ------------------------------------- [06:37:30] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [06:37:30] [DEBUG] controller.JsonController - ------------------------------------- [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:37:30] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [06:37:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [06:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [06:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:39:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 125 [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:39:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [06:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:45:26] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [06:45:29] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [06:45:29] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [06:45:29] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:29] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [06:45:29] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [06:45:29] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [06:45:29] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [06:45:29] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [06:45:29] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [06:45:29] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [06:45:29] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:45:29] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : GSNGsolar, mappingList.size : 2 [06:45:29] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [06:45:29] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 3F0651A5C4018CF57E734D354DAB740E(String), PHONE(String) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:29] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [06:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-18(String), 85(Integer), 0(Integer), 2022-10-17(String), 85(Integer), 0(Integer), 2022-10-19(String), 78279(Integer) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 85(Integer) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:45:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:29] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [06:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [06:45:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-05(String) [06:45:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [06:45:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [06:45:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:45:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [06:45:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-19(String), 85(Integer), 0(Integer), 2022-10-19(String) [06:45:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [06:45:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [06:45:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [06:45:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [06:45:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [06:45:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [06:45:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [06:45:45] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:45] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86, refer : http://emsa.eltenergy.com/ess/view.co [06:45:45] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-10-19(String), 2022-10-19(String) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:45] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:45] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [06:45:45] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-10-19(String), 86(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-10-18(String), 86(Integer), 0(Integer), 2022-10-17(String), 86(Integer), 0(Integer), 2022-10-19(String), 78279(Integer) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-10-19(String), 86(Integer), 2022-10-19(String), 86(Integer) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:45:45] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:45] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [06:45:45] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-10-05(String) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [06:45:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:45:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [06:45:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-10-19(String), 86(Integer), 0(Integer), 2022-10-19(String) [06:45:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [06:45:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [06:45:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [06:45:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [06:45:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [06:45:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-10-19(String), 86(Integer), 1(Integer), 2022-10-19(String) [06:45:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [06:47:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:47:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [06:47:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [06:47:30] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:47:32] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:47:32] [DEBUG] controller.JsonController - ------------------------------------- [06:47:32] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [06:47:32] [DEBUG] controller.JsonController - ------------------------------------- [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [06:47:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:49:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 125 [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:49:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [06:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:49:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:49:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:49:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:57:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [06:57:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [06:57:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [06:57:32] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:57:33] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:57:33] [DEBUG] controller.JsonController - ------------------------------------- [06:57:33] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [06:57:33] [DEBUG] controller.JsonController - ------------------------------------- [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [06:57:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [06:59:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 141 [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [06:59:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [06:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [06:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [06:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [06:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [06:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [06:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:07:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:07:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [07:07:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [07:07:32] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:07:33] [DEBUG] controller.JsonController - ------------------------------------- [07:07:33] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [07:07:33] [DEBUG] controller.JsonController - ------------------------------------- [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:07:33] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [07:07:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [07:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [07:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [07:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:09:48] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 141 [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:09:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [07:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:09:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:17:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:17:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [07:17:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [07:17:32] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:17:33] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:17:33] [DEBUG] controller.JsonController - ------------------------------------- [07:17:33] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [07:17:33] [DEBUG] controller.JsonController - ------------------------------------- [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [07:17:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:19:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 156 [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:19:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [07:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:19:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:27:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:27:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [07:27:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [07:27:32] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:27:33] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:27:33] [DEBUG] controller.JsonController - ------------------------------------- [07:27:33] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [07:27:33] [DEBUG] controller.JsonController - ------------------------------------- [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [07:27:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:29:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 172 [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:29:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [07:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:31:19] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:31:19] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:31:19] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:31:43] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:31:45] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:31:45] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :wando, login_channel : null [07:31:45] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:45] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:31:45] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [07:31:45] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:31:45] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [07:31:45] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:31:45] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : wando [07:31:45] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [07:31:45] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [07:31:45] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : wando, mappingList.size : 3 [07:31:45] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:31:45] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[wando] roles roles [0]ROLE_01 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String), 01(String), 4FB11A90CDD49F7161F00C77629820A6(String), PHONE(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [07:31:45] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:45] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 14, param.plantSeq : 0 [07:31:45] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-10-19(String), 14(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 0(Integer), 2022-10-18(String), 14(Integer), 0(Integer), 2022-10-17(String), 14(Integer), 0(Integer), 2022-10-19(String), 78284(Integer) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-10-19(String), 14(Integer), 2022-10-19(String), 14(Integer) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:31:45] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:45] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:31:45] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 01(String), 2022-10-05(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [07:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [07:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 0(Integer), 2022-10-19(String), 14(Integer), 0(Integer), 2022-10-19(String) [07:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 14(Integer), 0(Integer), 14(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [07:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [07:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 1(Integer), 2022-10-19(String), 14(Integer), 1(Integer), 2022-10-19(String) [07:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:31:49] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:49] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 16, refer : http://emsa.eltenergy.com/ess/view.co [07:31:49] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-10-19(String), 2022-10-19(String) [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:49] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:49] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 16, param.plantSeq : 16 [07:31:49] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-10-19(String), 16(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 0(Integer), 2022-10-18(String), 16(Integer), 0(Integer), 2022-10-17(String), 16(Integer), 0(Integer), 2022-10-19(String), 78284(Integer) [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-10-19(String), 16(Integer), 2022-10-19(String), 16(Integer) [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:31:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:31:50] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:50] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:31:50] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 01(String), 2022-10-05(String) [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 0(Integer), 2022-10-19(String), 16(Integer), 0(Integer), 2022-10-19(String) [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 16(Integer), 0(Integer), 16(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 1(Integer), 2022-10-19(String), 16(Integer), 1(Integer), 2022-10-19(String) [07:31:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:31:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:55] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 15, refer : http://emsa.eltenergy.com/ess/view.co?plantSeq=16 [07:31:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-10-19(String), 2022-10-19(String) [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:55] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 15, param.plantSeq : 15 [07:31:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-10-19(String), 15(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 0(Integer), 2022-10-18(String), 15(Integer), 0(Integer), 2022-10-17(String), 15(Integer), 0(Integer), 2022-10-19(String), 78284(Integer) [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-10-19(String), 15(Integer), 2022-10-19(String), 15(Integer) [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:31:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:31:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:55] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:31:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 01(String), 2022-10-05(String) [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 0(Integer), 2022-10-19(String), 15(Integer), 0(Integer), 2022-10-19(String) [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 15(Integer), 0(Integer), 15(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 1(Integer), 2022-10-19(String), 15(Integer), 1(Integer), 2022-10-19(String) [07:31:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:35:06] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:35:11] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:35:11] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [07:35:11] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:35:11] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:35:11] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [07:35:11] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:35:11] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [07:35:11] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:35:11] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [07:35:11] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [07:35:11] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:35:11] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : GSNGsolar, mappingList.size : 2 [07:35:11] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:35:11] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 4880DE13AD070D35B26179A0F5230C9D(String), PHONE(String) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [07:35:11] [DEBUG] controller.EssController - ----------------------------------------------- [07:35:11] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [07:35:11] [DEBUG] controller.EssController - ----------------------------------------------- [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-18(String), 85(Integer), 0(Integer), 2022-10-17(String), 85(Integer), 0(Integer), 2022-10-19(String), 78284(Integer) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 85(Integer) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:35:11] [DEBUG] controller.EssController - ----------------------------------------------- [07:35:11] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:35:11] [DEBUG] controller.EssController - ----------------------------------------------- [07:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-05(String) [07:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [07:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [07:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [07:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-19(String), 85(Integer), 0(Integer), 2022-10-19(String) [07:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [07:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [07:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [07:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:35:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [07:35:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [07:35:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:36:25] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:36:28] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [07:36:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:36:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:36:28] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [07:36:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:36:28] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [07:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [07:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [07:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : GSNGsolar, mappingList.size : 2 [07:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 307486F40C5F0D8B0174DB226547F77B(String), PHONE(String) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [07:36:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:36:28] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [07:36:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-18(String), 85(Integer), 0(Integer), 2022-10-17(String), 85(Integer), 0(Integer), 2022-10-19(String), 78284(Integer) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 85(Integer) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:36:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:36:28] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:36:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-05(String) [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-19(String), 85(Integer), 0(Integer), 2022-10-19(String) [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [07:36:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [07:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [07:36:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:36:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:36:38] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :, login_channel : null [07:36:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:36:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:36:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: (String) [07:36:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:36:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:36:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: (String) [07:36:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:36:38] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![error : ] [07:36:38] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![userId : null] [07:36:38] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:38] [DEBUG] controller.SignController - /ess/view.co [07:36:38] [DEBUG] controller.SignController - ....................................... [07:36:38] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:38] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:38] [DEBUG] controller.SignController - /ess/view.co [07:36:38] [DEBUG] controller.SignController - ....................................... [07:36:38] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:38] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:38] [DEBUG] controller.SignController - /ess/view.co [07:36:38] [DEBUG] controller.SignController - ....................................... [07:36:38] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:38] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:38] [DEBUG] controller.SignController - /ess/view.co [07:36:38] [DEBUG] controller.SignController - ....................................... [07:36:38] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:38] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:38] [DEBUG] controller.SignController - /ess/view.co [07:36:38] [DEBUG] controller.SignController - ....................................... [07:36:39] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:39] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:39] [DEBUG] controller.SignController - /ess/view.co [07:36:39] [DEBUG] controller.SignController - ....................................... [07:36:39] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:39] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:39] [DEBUG] controller.SignController - /ess/view.co [07:36:39] [DEBUG] controller.SignController - ....................................... [07:36:39] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:39] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:39] [DEBUG] controller.SignController - /ess/view.co [07:36:39] [DEBUG] controller.SignController - ....................................... [07:36:39] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:39] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:39] [DEBUG] controller.SignController - /ess/view.co [07:36:39] [DEBUG] controller.SignController - ....................................... [07:36:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:36:39] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :, login_channel : null [07:36:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:36:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:36:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: (String) [07:36:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:36:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:36:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: (String) [07:36:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:36:39] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![error : ] [07:36:39] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![userId : null] [07:36:39] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:39] [DEBUG] controller.SignController - /ess/view.co [07:36:39] [DEBUG] controller.SignController - ....................................... [07:36:39] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:39] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:39] [DEBUG] controller.SignController - /ess/view.co [07:36:39] [DEBUG] controller.SignController - ....................................... [07:36:39] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:39] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:39] [DEBUG] controller.SignController - /ess/view.co [07:36:39] [DEBUG] controller.SignController - ....................................... [07:36:40] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:40] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:40] [DEBUG] controller.SignController - /ess/view.co [07:36:40] [DEBUG] controller.SignController - ....................................... [07:36:40] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:40] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:40] [DEBUG] controller.SignController - /ess/view.co [07:36:40] [DEBUG] controller.SignController - ....................................... [07:36:40] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:40] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:40] [DEBUG] controller.SignController - /ess/view.co [07:36:40] [DEBUG] controller.SignController - ....................................... [07:36:40] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:40] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:40] [DEBUG] controller.SignController - /ess/view.co [07:36:40] [DEBUG] controller.SignController - ....................................... [07:36:40] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:40] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:40] [DEBUG] controller.SignController - /ess/view.co [07:36:40] [DEBUG] controller.SignController - ....................................... [07:36:40] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:40] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:40] [DEBUG] controller.SignController - /ess/view.co [07:36:40] [DEBUG] controller.SignController - ....................................... [07:36:40] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:40] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:40] [DEBUG] controller.SignController - /ess/view.co [07:36:40] [DEBUG] controller.SignController - ....................................... [07:36:41] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:41] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:41] [DEBUG] controller.SignController - /ess/view.co [07:36:41] [DEBUG] controller.SignController - ....................................... [07:36:42] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:42] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:42] [DEBUG] controller.SignController - /ess/view.co [07:36:42] [DEBUG] controller.SignController - ....................................... [07:36:42] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:42] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:42] [DEBUG] controller.SignController - /ess/view.co [07:36:42] [DEBUG] controller.SignController - ....................................... [07:36:42] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:42] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:42] [DEBUG] controller.SignController - /ess/view.co [07:36:42] [DEBUG] controller.SignController - ....................................... [07:36:42] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:42] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:42] [DEBUG] controller.SignController - /ess/view.co [07:36:42] [DEBUG] controller.SignController - ....................................... [07:36:42] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:42] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:42] [DEBUG] controller.SignController - /ess/view.co [07:36:42] [DEBUG] controller.SignController - ....................................... [07:36:42] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:42] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:42] [DEBUG] controller.SignController - /ess/view.co [07:36:42] [DEBUG] controller.SignController - ....................................... [07:36:42] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:42] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:42] [DEBUG] controller.SignController - /ess/view.co [07:36:42] [DEBUG] controller.SignController - ....................................... [07:36:42] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:42] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:42] [DEBUG] controller.SignController - /ess/view.co [07:36:42] [DEBUG] controller.SignController - ....................................... [07:36:43] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:36:43] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [07:36:43] [DEBUG] controller.SignController - /ess/view.co [07:36:43] [DEBUG] controller.SignController - ....................................... [07:37:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:37:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [07:37:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [07:37:33] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:37:34] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:37:34] [DEBUG] controller.JsonController - ------------------------------------- [07:37:34] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [07:37:34] [DEBUG] controller.JsonController - ------------------------------------- [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [07:37:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [07:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [07:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [07:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:39:48] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 172 [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:39:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [07:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:39:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 56 [07:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:47:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [07:47:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [07:47:32] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:47:34] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:47:34] [DEBUG] controller.JsonController - ------------------------------------- [07:47:34] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [07:47:34] [DEBUG] controller.JsonController - ------------------------------------- [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [07:47:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:49:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 172 [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:49:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [07:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:49:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:49:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:49:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 56 [07:57:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:57:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [07:57:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [07:57:34] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:57:35] [DEBUG] controller.JsonController - ------------------------------------- [07:57:35] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [07:57:35] [DEBUG] controller.JsonController - ------------------------------------- [07:57:35] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [07:57:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [07:59:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 188 [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [07:59:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [07:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [07:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [07:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [07:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [07:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [07:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 56 [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer), 2022-10-19(String), 08(String), 04(String), 255.2(Float), 154.8(Float), 0.2(Float), 830673.0(Float), 01(String) [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172218(Integer), 106(Integer), 1(Integer), 194372.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 187.3(Double), 1007.9(Double), 188779.7(Double), 22.4(Double), 83.4(Double), 116582.0(Double), 427704.0(Double), 01(String) [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172218(Integer), 106(Integer), 2(Integer), 61673.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 59.6(Double), 1023.7(Double), 61012.5(Double), 46.7(Double), 95.8(Double), 38571.0(Double), 402969.0(Double), 01(String) [08:04:47] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer), 2022-10-19(String), 08(String), 04(String), 240.4(Float), 154.4(Float), 0.2(Float), 907077.0(Float), 01(String) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer), 2022-10-19(String), 08(String), 04(String), 181.3(Float), 96.6(Float), 0.1(Float), 943232.0(Float), 01(String) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172219(Integer), 126(Integer), 1(Integer), 173699.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 171.9(Double), 1011.1(Double), 173808.1(Double), 31.0(Double), 100.0(Double), 121458.0(Double), 466047.0(Double), 01(String) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172220(Integer), 113(Integer), 1(Integer), 147330.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 140.0(Double), 1046.7(Double), 146538.0(Double), 33.7(Double), 83.2(Double), 80708.0(Double), 483695.0(Double), 01(String) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172219(Integer), 126(Integer), 2(Integer), 66728.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 68.2(Double), 1007.7(Double), 68725.1(Double), 43.6(Double), 100.0(Double), 32909.0(Double), 441030.0(Double), 01(String) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172220(Integer), 113(Integer), 2(Integer), 34340.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 34.4(Double), 1020.5(Double), 35105.2(Double), 36.6(Double), 87.7(Double), 16137.0(Double), 459537.0(Double), 01(String) [08:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer), 2022-10-19(String), 08(String), 04(String), 192.0(Float), 135.8(Float), 0.1(Float), 944907.0(Float), 01(String) [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172221(Integer), 111(Integer), 1(Integer), 142166.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 165.8(Double), 985.0(Double), 163313.0(Double), 21.3(Double), 84.6(Double), 103452.0(Double), 668372.0(Double), 01(String) [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172221(Integer), 111(Integer), 2(Integer), 49825.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 50.8(Double), 1015.5(Double), 51587.4(Double), 43.4(Double), 95.1(Double), 32330.0(Double), 276535.0(Double), 01(String) [08:04:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer), 2022-10-19(String), 08(String), 04(String), 170.3(Float), 101.0(Float), 0.1(Float), 954214.0(Float), 01(String) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172222(Integer), 105(Integer), 1(Integer), 109619.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 100.8(Double), 1016.0(Double), 102412.8(Double), 44.8(Double), 99.9(Double), 66940.0(Double), 489392.0(Double), 01(String) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172222(Integer), 105(Integer), 2(Integer), 60661.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 46.5(Double), 1024.8(Double), 47653.2(Double), 20.9(Double), 99.7(Double), 34081.0(Double), 464822.0(Double), 01(String) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer), 2022-10-19(String), 08(String), 04(String), 164.6(Float), 104.6(Float), 0.1(Float), 925681.0(Float), 01(String) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172223(Integer), 104(Integer), 1(Integer), 142963.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 138.3(Double), 1046.0(Double), 144661.8(Double), 23.3(Double), 99.7(Double), 90593.0(Double), 474544.0(Double), 01(String) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172223(Integer), 104(Integer), 2(Integer), 21625.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 18.6(Double), 1047.9(Double), 19490.9(Double), 34.5(Double), 96.3(Double), 13969.0(Double), 451137.0(Double), 01(String) [08:04:56] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer), 2022-10-19(String), 08(String), 05(String), 29.8(Float), 18.4(Float), 0.1(Float), 89193.3(Float), 01(String) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172224(Integer), 132(Integer), 1(Integer), 15426.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 79.0(Double), 599.0(Double), 47321.0(Double), 38.0(Double), 0.0(Double), 9900.0(Double), 30602.7(Double), 01(String) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172224(Integer), 132(Integer), 2(Integer), 4914.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 16.0(Double), 594.0(Double), 9504.0(Double), 31.0(Double), 0.0(Double), 3200.0(Double), 29757.0(Double), 01(String) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172224(Integer), 132(Integer), 3(Integer), 9434.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 47.0(Double), 600.0(Double), 28200.0(Double), 33.0(Double), 0.0(Double), 5300.0(Double), 28833.6(Double), 01(String) [08:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer), 2022-10-19(String), 08(String), 05(String), 107.3(Float), 82.0(Float), 0.1(Float), 939726.0(Float), 01(String) [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172225(Integer), 109(Integer), 1(Integer), 48925.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 45.3(Double), 1042.8(Double), 47238.8(Double), 33.3(Double), 73.2(Double), 39293.0(Double), 482972.0(Double), 01(String) [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172225(Integer), 109(Integer), 2(Integer), 58424.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 57.2(Double), 1046.0(Double), 59831.2(Double), 17.1(Double), 95.8(Double), 42673.0(Double), 456754.0(Double), 01(String) [08:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer), 2022-10-19(String), 08(String), 05(String), 252.4(Float), 133.9(Float), 0.1(Float), 935958.0(Float), 01(String) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172226(Integer), 120(Integer), 1(Integer), 179797.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 178.6(Double), 987.9(Double), 176439.0(Double), 48.9(Double), 100.0(Double), 85663.0(Double), 480854.0(Double), 01(String) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172226(Integer), 120(Integer), 2(Integer), 72575.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 71.5(Double), 1017.6(Double), 72758.4(Double), 18.7(Double), 99.6(Double), 48224.0(Double), 455104.0(Double), 01(String) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer), 2022-10-19(String), 08(String), 05(String), 200.8(Float), 123.5(Float), 0.1(Float), 970007.0(Float), 01(String) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172227(Integer), 103(Integer), 1(Integer), 171818.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 168.1(Double), 1018.2(Double), 171159.4(Double), 19.3(Double), 85.6(Double), 112209.0(Double), 499036.0(Double), 01(String) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172227(Integer), 103(Integer), 2(Integer), 29000.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 13.5(Double), 1013.6(Double), 13683.6(Double), 29.3(Double), 98.3(Double), 11309.0(Double), 470971.0(Double), 01(String) [08:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer), 2022-10-19(String), 08(String), 05(String), 206.8(Float), 85.1(Float), 0.1(Float), 897061.0(Float), 01(String) [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172228(Integer), 108(Integer), 1(Integer), 178268.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 171.7(Double), 1036.5(Double), 177967.0(Double), 31.5(Double), 86.1(Double), 78118.0(Double), 461679.0(Double), 01(String) [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172228(Integer), 108(Integer), 2(Integer), 28533.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 16.8(Double), 978.5(Double), 16438.8(Double), 36.0(Double), 93.9(Double), 6978.0(Double), 435382.0(Double), 01(String) [08:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-10-19(String), 08(String), 05(String), 70.7(Float), 41.7(Float), 0.2(Float), 186138.0(Float), 01(String) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172229(Integer), 99(Integer), 1(Integer), 20300.0(Double), 0.0(Double), 20.3(Double), 1.0(Double), 34.2(Double), 590.0(Double), 20178.0(Double), 23.2(Double), 100.0(Double), 12300.0(Double), 43825.0(Double), 01(String) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172229(Integer), 99(Integer), 2(Integer), 20700.0(Double), 0.0(Double), 20.7(Double), 1.9(Double), 35.2(Double), 585.3(Double), 20603.7(Double), 20.1(Double), 100.0(Double), 12500.0(Double), 44449.0(Double), 01(String) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172229(Integer), 99(Integer), 3(Integer), 12800.0(Double), 0.0(Double), 12.8(Double), 1.1(Double), 21.1(Double), 597.8(Double), 12612.9(Double), 45.7(Double), 100.0(Double), 6900.0(Double), 48493.0(Double), 01(String) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172229(Integer), 99(Integer), 4(Integer), 16900.0(Double), 0.0(Double), 16.9(Double), 1.3(Double), 27.5(Double), 595.9(Double), 16387.2(Double), 50.4(Double), 100.0(Double), 10000.0(Double), 49371.0(Double), 01(String) [08:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 2022-10-19(String), 08(String), 05(String), 100.1(Float), 57.4(Float), 0.1(Float), 357929.7(Float), 01(String) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172230(Integer), 128(Integer), 1(Integer), 20981.0(Double), 599.8(Double), 0.0(Double), -0.0(Double), 686.3(Double), 688.2(Double), 472315.1(Double), 20.2(Double), 645.4(Double), 11920.0(Double), 79682.7(Double), 01(String) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172230(Integer), 128(Integer), 2(Integer), 22466.0(Double), 599.9(Double), 0.0(Double), 0.0(Double), 33.3(Double), 684.8(Double), 22790.6(Double), 20.0(Double), 10.0(Double), 12920.0(Double), 79280.5(Double), 01(String) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172230(Integer), 128(Integer), 3(Integer), 22560.0(Double), 599.8(Double), 0.0(Double), 0.0(Double), 33.5(Double), 682.8(Double), 22880.6(Double), 19.6(Double), 10.0(Double), 13010.0(Double), 79412.9(Double), 01(String) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172230(Integer), 128(Integer), 4(Integer), 22485.0(Double), 599.8(Double), 0.0(Double), 0.0(Double), 688.4(Double), 688.9(Double), 474218.2(Double), 18.9(Double), 10.0(Double), 12930.0(Double), 78790.0(Double), 01(String) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172230(Integer), 128(Integer), 5(Integer), 11586.0(Double), 599.8(Double), 0.0(Double), 0.0(Double), 17.6(Double), 671.9(Double), 11805.0(Double), 29.7(Double), 10.0(Double), 6600.0(Double), 40763.6(Double), 01(String) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer), 2022-10-19(String), 08(String), 05(String), 14.3(Float), 6.9(Float), 0.1(Float), 110587.4(Float), 01(String) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172231(Integer), 129(Integer), 1(Integer), 7189.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 5.0(Double), 666.0(Double), 3330.0(Double), 33.0(Double), 0.0(Double), 3600.0(Double), 58376.4(Double), 01(String) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172231(Integer), 129(Integer), 2(Integer), 7159.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 3.0(Double), 661.0(Double), 1983.0(Double), 30.0(Double), 0.0(Double), 3300.0(Double), 52211.0(Double), 01(String) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer), 2022-10-19(String), 08(String), 05(String), 45.6(Float), 28.3(Float), 0.2(Float), 176275.5(Float), 01(String) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172232(Integer), 127(Integer), 1(Integer), 15257.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 100.0(Double), 570.0(Double), 57000.0(Double), 37.0(Double), 0.0(Double), 9600.0(Double), 59139.5(Double), 01(String) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172232(Integer), 127(Integer), 2(Integer), 13874.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 63.0(Double), 630.0(Double), 39690.0(Double), 37.0(Double), 0.0(Double), 8500.0(Double), 54638.8(Double), 01(String) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172232(Integer), 127(Integer), 3(Integer), 16452.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 99.0(Double), 632.0(Double), 62568.0(Double), 31.0(Double), 0.0(Double), 10200.0(Double), 62497.2(Double), 01(String) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer), 2022-10-19(String), 08(String), 05(String), 197.8(Float), 125.8(Float), 0.1(Float), 857938.0(Float), 01(String) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172233(Integer), 102(Integer), 1(Integer), 148012.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 141.2(Double), 1017.9(Double), 143727.5(Double), 25.3(Double), 84.2(Double), 96490.0(Double), 442394.0(Double), 01(String) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172233(Integer), 102(Integer), 2(Integer), 49766.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 35.7(Double), 1012.1(Double), 36132.0(Double), 45.7(Double), 90.2(Double), 29294.0(Double), 415544.0(Double), 01(String) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer), 2022-10-19(String), 08(String), 05(String), 231.8(Float), 145.6(Float), 0.1(Float), 897735.0(Float), 01(String) [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172234(Integer), 101(Integer), 1(Integer), 196615.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 196.7(Double), 977.2(Double), 192215.2(Double), 19.6(Double), 85.6(Double), 128904.0(Double), 462652.0(Double), 01(String) [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172234(Integer), 101(Integer), 2(Integer), 35188.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 20.7(Double), 1016.1(Double), 21033.3(Double), 26.0(Double), 94.4(Double), 16696.0(Double), 435083.0(Double), 01(String) [08:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer), 2022-10-19(String), 08(String), 05(String), 51.5(Float), 21.4(Float), 0.1(Float), 92405.7(Float), 01(String) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172235(Integer), 131(Integer), 1(Integer), 18786.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 117.0(Double), 615.0(Double), 71955.0(Double), 30.0(Double), 0.0(Double), 8200.0(Double), 32545.9(Double), 01(String) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172235(Integer), 131(Integer), 2(Integer), 15705.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 72.0(Double), 615.0(Double), 44280.0(Double), 32.0(Double), 0.0(Double), 6600.0(Double), 28882.5(Double), 01(String) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172235(Integer), 131(Integer), 3(Integer), 17048.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 108.0(Double), 564.0(Double), 60912.0(Double), 32.0(Double), 0.0(Double), 6700.0(Double), 30977.4(Double), 01(String) [08:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer), 2022-10-19(String), 08(String), 05(String), 299.3(Float), 209.3(Float), 0.2(Float), 974214.0(Float), 01(String) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172236(Integer), 121(Integer), 1(Integer), 246633.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 230.1(Double), 1039.4(Double), 239166.0(Double), 19.9(Double), 99.9(Double), 174995.0(Double), 500938.0(Double), 01(String) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172236(Integer), 121(Integer), 2(Integer), 52686.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 48.1(Double), 1002.2(Double), 48205.8(Double), 34.6(Double), 100.0(Double), 34316.0(Double), 473276.0(Double), 01(String) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer), 2022-10-19(String), 08(String), 05(String), 204.0(Float), 120.7(Float), 0.1(Float), 961378.0(Float), 01(String) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172237(Integer), 112(Integer), 1(Integer), 148701.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 141.6(Double), 1035.9(Double), 146683.5(Double), 48.7(Double), 86.2(Double), 84548.0(Double), 493903.0(Double), 01(String) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172237(Integer), 112(Integer), 2(Integer), 55251.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 51.2(Double), 1050.0(Double), 53760.0(Double), 21.5(Double), 90.1(Double), 36183.0(Double), 467475.0(Double), 01(String) [08:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 08(String), 05(String), 197.5(Float), 94.0(Float), 0.1(Float), 1614038.0(Float), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 1(Integer), 10348.0(Double), 0.0(Double), 10.3(Double), 0.0(Double), 8.6(Double), 648.2(Double), 5574.2(Double), 9.6(Double), 0.0(Double), 5300.0(Double), 103328.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 2(Integer), 19007.0(Double), 0.0(Double), 19.0(Double), 0.0(Double), 21.9(Double), 650.6(Double), 14247.4(Double), 10.9(Double), 0.0(Double), 11500.0(Double), 117477.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 3(Integer), 16144.0(Double), 0.0(Double), 16.1(Double), 0.0(Double), 18.2(Double), 638.0(Double), 11612.2(Double), 9.5(Double), 0.0(Double), 7100.0(Double), 105062.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 4(Integer), 19397.0(Double), 0.0(Double), 19.4(Double), 0.0(Double), 22.4(Double), 643.8(Double), 14421.1(Double), 11.4(Double), 0.0(Double), 10400.0(Double), 108756.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 5(Integer), 19629.0(Double), 0.0(Double), 19.6(Double), 0.0(Double), 22.9(Double), 645.7(Double), 14787.3(Double), 12.1(Double), 0.0(Double), 11700.0(Double), 119674.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 6(Integer), 20354.0(Double), 0.0(Double), 20.4(Double), 0.0(Double), 23.5(Double), 650.1(Double), 15278.1(Double), 10.4(Double), 0.0(Double), 12800.0(Double), 119673.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 7(Integer), 18488.0(Double), 0.0(Double), 18.5(Double), 0.0(Double), 21.6(Double), 655.9(Double), 14168.2(Double), 10.4(Double), 0.0(Double), 9900.0(Double), 100813.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 8(Integer), 9094.0(Double), 0.0(Double), 9.1(Double), 0.0(Double), 7.2(Double), 657.6(Double), 4734.5(Double), 8.7(Double), 0.0(Double), 3900.0(Double), 112167.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 9(Integer), 797.0(Double), 0.0(Double), 0.8(Double), 0.0(Double), 1.0(Double), 608.9(Double), 608.9(Double), 6.4(Double), 0.0(Double), 300.0(Double), 94773.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 10(Integer), 7241.0(Double), 0.0(Double), 7.2(Double), 0.0(Double), 9.0(Double), 613.5(Double), 5521.8(Double), 7.4(Double), 0.0(Double), 1400.0(Double), 113945.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 11(Integer), 10597.0(Double), 0.0(Double), 10.6(Double), 0.0(Double), 15.6(Double), 655.9(Double), 10232.0(Double), 7.5(Double), 0.0(Double), 2600.0(Double), 114390.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 12(Integer), 10754.0(Double), 0.0(Double), 10.8(Double), 0.0(Double), 16.2(Double), 654.9(Double), 10608.8(Double), 8.3(Double), 0.0(Double), 2900.0(Double), 116120.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 13(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 14(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 15(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 16(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 17(Integer), 17495.0(Double), 0.0(Double), 17.5(Double), 0.0(Double), 19.2(Double), 641.0(Double), 12307.2(Double), 8.8(Double), 0.0(Double), 5600.0(Double), 105014.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 18(Integer), 3353.0(Double), 0.0(Double), -65.5(Double), 0.0(Double), 19660.5(Double), 6553.5(Double), 1.28845088E8(Double), 0.0(Double), 0.0(Double), 0.0(Double), 70742.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172238(Integer), 92(Integer), 19(Integer), 14785.0(Double), 0.0(Double), 14.8(Double), 0.0(Double), 15.9(Double), 664.9(Double), 10571.4(Double), 10.9(Double), 0.0(Double), 8600.0(Double), 112104.0(Double), 01(String) [08:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 08(String), 05(String), 322.1(Float), 200.9(Float), 0.2(Float), 2199759.0(Float), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 1(Integer), 19727.0(Double), 0.0(Double), 19.7(Double), 0.0(Double), 23.0(Double), 648.8(Double), 14922.4(Double), 11.3(Double), 0.0(Double), 12400.0(Double), 108741.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 2(Integer), 19179.0(Double), 0.0(Double), 19.2(Double), 0.0(Double), 22.3(Double), 649.1(Double), 14475.7(Double), 11.3(Double), 0.0(Double), 11900.0(Double), 119108.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 3(Integer), 18142.0(Double), 0.0(Double), 18.1(Double), 0.0(Double), 21.1(Double), 650.6(Double), 13727.0(Double), 10.7(Double), 0.0(Double), 11500.0(Double), 105042.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 4(Integer), 18796.0(Double), 0.0(Double), 18.8(Double), 0.0(Double), 21.8(Double), 642.9(Double), 14014.5(Double), 11.6(Double), 0.0(Double), 12000.0(Double), 117872.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 5(Integer), 18270.0(Double), 0.0(Double), 18.3(Double), 0.0(Double), 21.1(Double), 649.7(Double), 13708.7(Double), 11.1(Double), 0.0(Double), 11700.0(Double), 105495.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 6(Integer), 18568.0(Double), 0.0(Double), 18.6(Double), 0.0(Double), 20.9(Double), 649.6(Double), 13577.3(Double), 12.5(Double), 0.0(Double), 11900.0(Double), 120911.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 7(Integer), 18815.0(Double), 0.0(Double), 18.8(Double), 0.0(Double), 21.7(Double), 649.2(Double), 14086.9(Double), 13.8(Double), 0.0(Double), 12000.0(Double), 119022.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 8(Integer), -1.0(Double), 0.0(Double), -0.0(Double), 0.0(Double), 19660.5(Double), 6553.5(Double), 1.28845088E8(Double), 12.9(Double), 0.0(Double), 12000.0(Double), 107341.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 9(Integer), 18673.0(Double), 0.0(Double), 18.7(Double), 0.0(Double), 21.7(Double), 648.3(Double), 14067.4(Double), 11.4(Double), 0.0(Double), 11800.0(Double), 118373.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 10(Integer), 16804.0(Double), 0.0(Double), 16.8(Double), 0.0(Double), 19.1(Double), 651.4(Double), 12441.1(Double), 11.4(Double), 0.0(Double), 10600.0(Double), 95639.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 11(Integer), 16562.0(Double), 0.0(Double), 16.6(Double), 0.0(Double), 19.2(Double), 648.0(Double), 12441.6(Double), 11.3(Double), 0.0(Double), 10500.0(Double), 115319.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 12(Integer), 14946.0(Double), 0.0(Double), 14.9(Double), 0.0(Double), 17.0(Double), 661.3(Double), 11242.1(Double), 11.6(Double), 0.0(Double), 9100.0(Double), 94983.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 13(Integer), 15597.0(Double), 0.0(Double), 15.6(Double), 0.0(Double), 17.6(Double), 649.6(Double), 11433.5(Double), 11.3(Double), 0.0(Double), 9700.0(Double), 113835.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 14(Integer), 14526.0(Double), 0.0(Double), 14.5(Double), 0.0(Double), 16.7(Double), 654.1(Double), 10923.5(Double), 12.0(Double), 0.0(Double), 8900.0(Double), 109294.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 15(Integer), 13663.0(Double), 0.0(Double), 13.7(Double), 0.0(Double), 15.5(Double), 664.0(Double), 10291.5(Double), 11.7(Double), 0.0(Double), 8400.0(Double), 97681.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 16(Integer), 14824.0(Double), 0.0(Double), 14.8(Double), 0.0(Double), 15.3(Double), 646.2(Double), 9887.4(Double), 9.4(Double), 0.0(Double), 6200.0(Double), 117385.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 17(Integer), 14628.0(Double), 0.0(Double), 14.6(Double), 0.0(Double), 15.1(Double), 648.9(Double), 9798.4(Double), 9.7(Double), 0.0(Double), 6300.0(Double), 114724.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 18(Integer), 15070.0(Double), 0.0(Double), 15.1(Double), 0.0(Double), 16.8(Double), 631.9(Double), 10615.9(Double), 10.2(Double), 0.0(Double), 5800.0(Double), 99033.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 19(Integer), 15879.0(Double), 0.0(Double), 15.9(Double), 0.0(Double), 18.1(Double), 644.9(Double), 11672.7(Double), 9.9(Double), 0.0(Double), 6500.0(Double), 98485.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172239(Integer), 93(Integer), 20(Integer), 19400.0(Double), 0.0(Double), 19.4(Double), 0.0(Double), 22.7(Double), 654.3(Double), 14851.9(Double), 11.6(Double), 0.0(Double), 11700.0(Double), 121476.0(Double), 01(String) [08:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer), 2022-10-19(String), 08(String), 05(String), 279.9(Float), 141.2(Float), 0.1(Float), 943396.0(Float), 01(String) [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172240(Integer), 107(Integer), 1(Integer), 202806.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 212.9(Double), 935.1(Double), 199082.8(Double), 22.9(Double), 85.4(Double), 95199.0(Double), 485589.0(Double), 01(String) [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172240(Integer), 107(Integer), 2(Integer), 77090.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 73.9(Double), 1046.7(Double), 77351.1(Double), 18.8(Double), 93.8(Double), 46042.0(Double), 457807.0(Double), 01(String) [08:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer), 2022-10-19(String), 08(String), 05(String), 163.2(Float), 116.1(Float), 0.1(Float), 724309.0(Float), 01(String) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172241(Integer), 110(Integer), 1(Integer), 136604.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 131.7(Double), 1029.7(Double), 135611.5(Double), 19.5(Double), 83.7(Double), 98322.0(Double), 374677.0(Double), 01(String) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172241(Integer), 110(Integer), 2(Integer), 26581.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 26.3(Double), 988.2(Double), 25989.7(Double), 34.8(Double), 86.5(Double), 17785.0(Double), 349632.0(Double), 01(String) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer), 2022-10-19(String), 08(String), 05(String), 279.6(Float), 195.3(Float), 0.2(Float), 922677.0(Float), 01(String) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172242(Integer), 122(Integer), 1(Integer), 230614.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 224.5(Double), 1019.3(Double), 228832.8(Double), 22.1(Double), 90.2(Double), 163071.0(Double), 474913.0(Double), 01(String) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172242(Integer), 122(Integer), 2(Integer), 48973.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 49.7(Double), 1015.8(Double), 50485.3(Double), 32.0(Double), 98.0(Double), 32227.0(Double), 447764.0(Double), 01(String) [08:05:24] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:07:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:07:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [08:07:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [08:07:34] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:07:35] [DEBUG] controller.JsonController - ------------------------------------- [08:07:35] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [08:07:35] [DEBUG] controller.JsonController - ------------------------------------- [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:07:35] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [08:07:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [08:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [08:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [08:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:09:48] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 188 [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:09:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"null","cloud":"0","weatherCode":"03250360"},{"plantSeq":"132","temp":"null","cloud":"0","weatherCode":"03123129"},{"plantSeq":"131","temp":"null","cloud":"0","weatherCode":"03123101"},{"plantSeq":"129","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"128","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"127","temp":"null","cloud":"0","weatherCode":""},{"plantSeq":"126","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"125","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"124","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"123","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"122","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"121","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"120","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"113","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"112","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"111","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"110","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"109","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"108","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"107","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"106","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"105","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"104","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"103","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"102","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"101","temp":"null","cloud":"0","weatherCode":"03220340"},{"plantSeq":"99","temp":"null","cloud":"0","weatherCode":"03250330"},{"plantSeq":"98","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"97","temp":"null","cloud":"0","weatherCode":"04730370"},{"plantSeq":"96","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"95","temp":"null","cloud":"0","weatherCode":"04113250"},{"plantSeq":"94","temp":"null","cloud":"0","weatherCode":"04770250"},{"plantSeq":"93","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"92","temp":"null","cloud":"0","weatherCode":"01760350"},{"plantSeq":"91","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"90","temp":"null","cloud":"0","weatherCode":"01750330"},{"plantSeq":"89","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"88","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"87","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"86","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"85","temp":"null","cloud":"0","weatherCode":"16150380"},{"plantSeq":"84","temp":"null","cloud":"0","weatherCode":"15180380"},{"plantSeq":"83","temp":"null","cloud":"0","weatherCode":"01820250"},{"plantSeq":"82","temp":"null","cloud":"0","weatherCode":"15710330"},{"plantSeq":"81","temp":"null","cloud":"0","weatherCode":"04170320"},{"plantSeq":"80","temp":"null","cloud":"0","weatherCode":"01750250"},{"plantSeq":"78","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"77","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"76","temp":"null","cloud":"0","weatherCode":"01790250"},{"plantSeq":"75","temp":"null","cloud":"0","weatherCode":"04210330"},{"plantSeq":"74","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"73","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"60","temp":"null","cloud":"0","weatherCode":"16770310"},{"plantSeq":"56","temp":"null","cloud":"0","weatherCode":"02590370"},{"plantSeq":"55","temp":"null","cloud":"0","weatherCode":"10710262"},{"plantSeq":"48","temp":"null","cloud":"0","weatherCode":"14130320"},{"plantSeq":"45","temp":"null","cloud":"0","weatherCode":"15800253"},{"plantSeq":"44","temp":"null","cloud":"0","weatherCode":"13740250"},{"plantSeq":"42","temp":"null","cloud":"0","weatherCode":"16150250"},{"plantSeq":"41","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"40","temp":"null","cloud":"0","weatherCode":"03820250"},{"plantSeq":"39","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"34","temp":"null","cloud":"0","weatherCode":"04170340"},{"plantSeq":"32","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"31","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"30","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"29","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"28","temp":"null","cloud":"0","weatherCode":"03240370"},{"plantSeq":"27","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"26","temp":"null","cloud":"0","weatherCode":"16130250"},{"plantSeq":"25","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"24","temp":"null","cloud":"0","weatherCode":"01760250"},{"plantSeq":"22","temp":"null","cloud":"0","weatherCode":"02273112"},{"plantSeq":"21","temp":"null","cloud":"0","weatherCode":"13800350"},{"plantSeq":"20","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"19","temp":"null","cloud":"0","weatherCode":"13750330"},{"plantSeq":"18","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"17","temp":"null","cloud":"0","weatherCode":"13210114"},{"plantSeq":"16","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"15","temp":"null","cloud":"0","weatherCode":"12770380"},{"plantSeq":"14","temp":"null","cloud":"0","weatherCode":"12890320"},{"plantSeq":"13","temp":"null","cloud":"0","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"-","inputHour":"-"} [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [08:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 26 [08:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:09:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 115 [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:11:38] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78288(Integer), 2022-10-19(String), 08(String), 11(String), 4683953(Long), 4577625(Long), 8832(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 4504(Integer), 0(Integer), 8832(Integer), 3751(Integer), 40(Integer), 25(Integer), 40(Integer), 935(Integer), 0(Integer), 6817(Integer), 0(Integer), 299(Integer), 251(Integer), 3470(Integer), 3433(Integer), 0(Integer), 1(Integer), 0(Integer), 128(Integer), 1(Integer), 0(Integer), 8(Integer), 0(Integer), 89(Integer), 4(Integer), 210(Integer), 242(Integer), 245(Integer), 245(Integer), 241(Integer), 379(Integer), 454(Integer), 435(Integer), 450(Integer), 454(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:11:38] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78288(Integer), 2022-10-19(String), 08(String), 11(String), 4683953(Long), 4577625(Long), 8832(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 4504(Integer), 0(Integer), 8832(Integer), 3751(Integer), 40(Integer), 25(Integer), 40(Integer), 935(Integer), 0(Integer), 6817(Integer), 0(Integer), 299(Integer), 251(Integer), 3470(Integer), 3433(Integer), 0(Integer), 1(Integer), 0(Integer), 128(Integer), 1(Integer), 0(Integer), 8(Integer), 0(Integer), 89(Integer), 4(Integer), 210(Integer), 242(Integer), 245(Integer), 245(Integer), 241(Integer), 379(Integer), 454(Integer), 435(Integer), 450(Integer), 454(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78288(Integer), 2022-10-19(String), 08(String), 11(String), 4589411(Long), 4482219(Long), 8832(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 4504(Integer), 0(Integer), 8832(Integer), 3703(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6811(Integer), 0(Integer), 304(Integer), 254(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 210(Integer), 242(Integer), 245(Integer), 245(Integer), 241(Integer), 379(Integer), 454(Integer), 435(Integer), 450(Integer), 454(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:11:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:11:38] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:11:38] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [08:14:39] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:15:03] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:15:03] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :jidong, login_channel : null [08:15:03] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: jidong(String) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:03] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:15:03] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:15:03] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:15:03] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co;jsessionid=6DB94717499C9E495FBC40C9F80302EA [08:15:03] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:15:03] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : jidong [08:15:03] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:15:03] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: jidong(String) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: jidong(String) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:15:03] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : jidong, mappingList.size : 2 [08:15:03] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:15:03] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[jidong] roles roles [0]ROLE_01 [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: jidong(String), 01(String), F99C5761C0755195C59E57E53345632C(String), PHONE(String) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:15:03] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:15:03] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [08:15:03] [DEBUG] controller.SignController - /ess/view.co [08:15:03] [DEBUG] controller.SignController - ....................................... [08:15:03] [DEBUG] controller.EssController - ----------------------------------------------- [08:15:03] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 24, param.plantSeq : 0 [08:15:03] [DEBUG] controller.EssController - ----------------------------------------------- [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 24(Integer), 2022-10-19(String), 24(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 24(Integer), 0(Integer), 2022-10-18(String), 24(Integer), 0(Integer), 2022-10-17(String), 24(Integer), 0(Integer), 2022-10-19(String), 78288(Integer) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 24(Integer), 2022-10-19(String), 24(Integer), 2022-10-19(String), 24(Integer) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 24(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:15:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:15:03] [DEBUG] controller.EssController - ----------------------------------------------- [08:15:03] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:15:03] [DEBUG] controller.EssController - ----------------------------------------------- [08:15:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:15:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 24(Integer), 01(String), 2022-10-05(String) [08:15:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:15:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 24(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:15:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:15:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:15:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 24(Integer), 0(Integer), 2022-10-19(String), 24(Integer), 0(Integer), 2022-10-19(String) [08:15:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:15:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:15:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 24(Integer), 0(Integer), 24(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:15:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:15:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:15:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 24(Integer), 1(Integer), 2022-10-19(String), 24(Integer), 1(Integer), 2022-10-19(String) [08:15:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:15:18] [DEBUG] controller.EssController - ----------------------------------------------- [08:15:18] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 25, refer : http://emsa.eltenergy.com/ess/view.co [08:15:18] [DEBUG] controller.EssController - ----------------------------------------------- [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 2022-10-19(String), 2022-10-19(String) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:18] [DEBUG] controller.EssController - ----------------------------------------------- [08:15:18] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 25, param.plantSeq : 25 [08:15:18] [DEBUG] controller.EssController - ----------------------------------------------- [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 2022-10-19(String), 25(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 0(Integer), 2022-10-18(String), 25(Integer), 0(Integer), 2022-10-17(String), 25(Integer), 0(Integer), 2022-10-19(String), 78288(Integer) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 2022-10-19(String), 25(Integer), 2022-10-19(String), 25(Integer) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 01(String), 2022-10-05(String) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:15:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:15:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:15:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 0(Integer), 2022-10-19(String), 25(Integer), 0(Integer), 2022-10-19(String) [08:15:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:15:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:15:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 25(Integer), 0(Integer), 25(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:15:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:15:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:15:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 1(Integer), 2022-10-19(String), 25(Integer), 1(Integer), 2022-10-19(String) [08:15:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:17:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:17:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [08:17:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [08:17:34] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:17:35] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:17:35] [DEBUG] controller.JsonController - ------------------------------------- [08:17:35] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_60_2","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [08:17:35] [DEBUG] controller.JsonController - ------------------------------------- [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [08:17:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:19:37] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:19:41] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:19:41] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :sgsafe, login_channel : null [08:19:41] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sgsafe(String) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:41] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:19:41] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:19:41] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:19:41] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [08:19:41] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:19:41] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : sgsafe [08:19:41] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:19:41] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sgsafe(String) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sgsafe(String) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [08:19:41] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : sgsafe, mappingList.size : 3 [08:19:41] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:19:41] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[sgsafe] roles roles [0]ROLE_01 [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sgsafe(String), 01(String), B08897FC079A67AF8C05AD7A3604BB01(String), PHONE(String) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:19:41] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:19:41] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [08:19:41] [DEBUG] controller.SignController - /ess/view.co [08:19:41] [DEBUG] controller.SignController - ....................................... [08:19:41] [DEBUG] controller.EssController - ----------------------------------------------- [08:19:41] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 80, param.plantSeq : 0 [08:19:41] [DEBUG] controller.EssController - ----------------------------------------------- [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-10-19(String), 80(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-10-18(String), 80(Integer), 0(Integer), 2022-10-17(String), 80(Integer), 0(Integer), 2022-10-19(String), 78288(Integer) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-10-19(String), 80(Integer), 2022-10-19(String), 80(Integer) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 21(String) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(String) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:19:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:19:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:19:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-10-05(String) [08:19:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:19:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:19:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:19:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:19:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-10-19(String), 80(Integer), 0(Integer), 2022-10-19(String) [08:19:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:19:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 1(Integer), 2022-10-19(String), 80(Integer), 1(Integer), 2022-10-19(String) [08:19:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:19:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 187 [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:19:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [08:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 26 [08:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:19:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 115 [08:19:53] [DEBUG] controller.EssController - ----------------------------------------------- [08:19:53] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 80, param.plantSeq : 80 [08:19:53] [DEBUG] controller.EssController - ----------------------------------------------- [08:19:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:19:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-10-19(String), 2022-10-19(String) [08:19:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:53] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 15 [08:19:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:19:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-10-19(String), 80(Integer), 0(Integer), 2022-10-19(String) [08:19:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:19:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:19:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-10-05(String) [08:19:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:19:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-10-19(String), 80(Integer), 0(Integer), 2022-10-19(String) [08:19:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:19:54] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:19:57] [DEBUG] controller.EssController - ----------------------------------------------- [08:19:57] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 80, param.plantSeq : 80 [08:19:57] [DEBUG] controller.EssController - ----------------------------------------------- [08:19:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:19:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-10-19(String), 2022-10-19(String) [08:19:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:57] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 16 [08:19:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:19:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-10-05(String) [08:19:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:19:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:19:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-01(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022(String), 10(String) [08:19:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [08:19:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:19:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-01(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022(String), 10(String) [08:19:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [08:20:24] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:24] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 92, refer : http://emsa.eltenergy.com/ess/view.co [08:20:24] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 2022-10-19(String) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:24] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:24] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 92, param.plantSeq : 92 [08:20:24] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 92(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 0(Integer), 2022-10-18(String), 92(Integer), 0(Integer), 2022-10-17(String), 92(Integer), 0(Integer), 2022-10-19(String), 78288(Integer) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 92(Integer), 2022-10-19(String), 92(Integer) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 2022-10-05(String) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 0(Integer), 2022-10-19(String), 92(Integer), 0(Integer), 2022-10-19(String) [08:20:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:20:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:20:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 92(Integer), 0(Integer), 92(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:20:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:20:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:20:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 1(Integer), 2022-10-19(String), 92(Integer), 1(Integer), 2022-10-19(String) [08:20:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:20:29] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:29] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 92, param.plantSeq : 92 [08:20:29] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:20:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 2022-10-19(String) [08:20:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:29] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 31 [08:20:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:20:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 2022-10-05(String) [08:20:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:20:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 0(Integer), 2022-10-19(String), 92(Integer), 0(Integer), 2022-10-19(String) [08:20:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:20:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:20:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 0(Integer), 2022-10-19(String), 92(Integer), 0(Integer), 2022-10-19(String) [08:20:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:20:31] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:31] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 92, param.plantSeq : 92 [08:20:31] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 2022-10-19(String) [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:31] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 31 [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d1.*, d2.inputDate as inputDateB1 from t_pmsdata_statistic_month d1 left join t_pmsdata_statistic_month d2 on d1.plantSeq = d2.plantSeq and d1.pcsIdx = d2.pcsIdx and d1.inputDate = date_add(d2.inputDate, INTERVAL 1 MONTH) and d2.plantSeq = ? and d2.pcsIdx = ? where 1=1 and d1.plantSeq = ? and d1.pcsIdx = ? and d1.inputYear = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.pcsIdx asc [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 0(Integer), 92(Integer), 0(Integer), 2022(String) [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 2022-10-05(String) [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d1.*, d2.inputDate as inputDateB1 from t_pmsdata_statistic_month d1 left join t_pmsdata_statistic_month d2 on d1.plantSeq = d2.plantSeq and d1.pcsIdx = d2.pcsIdx and d1.inputDate = date_add(d2.inputDate, INTERVAL 1 MONTH) and d2.plantSeq = ? and d2.pcsIdx = ? where 1=1 and d1.plantSeq = ? and d1.pcsIdx = ? and d1.inputYear = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.pcsIdx asc [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 0(Integer), 92(Integer), 0(Integer), 2022(String) [08:20:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:20:32] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:32] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 92, param.plantSeq : 92 [08:20:32] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:20:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 2022-10-19(String) [08:20:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:32] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 16 [08:20:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:20:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 2022-10-05(String) [08:20:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:20:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-01(String), 92(Integer), 0(Integer), 92(Integer), 0(Integer), 2022(String), 10(String) [08:20:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [08:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-01(String), 92(Integer), 0(Integer), 92(Integer), 0(Integer), 2022(String), 10(String) [08:20:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [08:20:47] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:47] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 93, refer : http://emsa.eltenergy.com/ess/statistic_chart.co?dataType=month&plantSeq=92&searchDate=2022-10-19&inputDate=2022-10-19 [08:20:47] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 2022-10-19(String) [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:47] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:47] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 93, param.plantSeq : 93 [08:20:47] [DEBUG] controller.EssController - ----------------------------------------------- [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 93(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-10-18(String), 93(Integer), 0(Integer), 2022-10-17(String), 93(Integer), 0(Integer), 2022-10-19(String), 78289(Integer) [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 93(Integer), 2022-10-19(String), 93(Integer) [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:20:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 01(String), 2022-10-05(String) [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-10-19(String), 93(Integer), 0(Integer), 2022-10-19(String) [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 93(Integer), 0(Integer), 93(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:20:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:20:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:20:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 1(Integer), 2022-10-19(String), 93(Integer), 1(Integer), 2022-10-19(String) [08:20:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:02] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:02] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 93, param.plantSeq : 93 [08:21:02] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 2022-10-19(String) [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:02] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 31 [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-10-19(String), 93(Integer), 0(Integer), 2022-10-19(String) [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 01(String), 2022-10-05(String) [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-10-19(String), 93(Integer), 0(Integer), 2022-10-19(String) [08:21:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:05] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:05] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 93, param.plantSeq : 93 [08:21:05] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:21:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 2022-10-19(String) [08:21:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:05] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 15 [08:21:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:21:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 01(String), 2022-10-05(String) [08:21:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:21:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-01(String), 93(Integer), 0(Integer), 93(Integer), 0(Integer), 2022(String), 10(String) [08:21:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [08:21:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:21:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-01(String), 93(Integer), 0(Integer), 93(Integer), 0(Integer), 2022(String), 10(String) [08:21:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [08:21:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:21:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 2022-10-05(String) [08:21:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:21:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 2022-10-05(String) [08:21:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:20] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:21:24] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:21:24] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:21:24] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:24] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:21:24] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:21:24] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:21:24] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [08:21:24] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:21:24] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:21:24] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:21:24] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:21:24] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : GSNGsolar, mappingList.size : 2 [08:21:24] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:21:24] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 8F6FEA52D70B4C2E5077392E56682A10(String), PHONE(String) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:21:24] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:24] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:21:24] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-18(String), 85(Integer), 0(Integer), 2022-10-17(String), 85(Integer), 0(Integer), 2022-10-19(String), 78289(Integer) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 85(Integer) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:21:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:21:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-05(String) [08:21:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:21:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:21:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:21:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:21:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-19(String), 85(Integer), 0(Integer), 2022-10-19(String) [08:21:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:21:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:21:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:21:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:21:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [08:21:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:21:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [08:21:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:21:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [08:21:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:26:07] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:27:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:27:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [08:27:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [08:27:34] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:27:36] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [08:27:36] [DEBUG] controller.JsonController - ------------------------------------- [08:27:36] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [08:27:36] [DEBUG] controller.JsonController - ------------------------------------- [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [08:27:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:28:03] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:28:03] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [08:28:03] [DEBUG] controller.SignController - /ess/view.co [08:28:03] [DEBUG] controller.SignController - ....................................... [08:28:03] [DEBUG] controller.EssController - ----------------------------------------------- [08:28:03] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 80, param.plantSeq : 0 [08:28:03] [DEBUG] controller.EssController - ----------------------------------------------- [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-10-19(String), 80(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-10-18(String), 80(Integer), 0(Integer), 2022-10-17(String), 80(Integer), 0(Integer), 2022-10-19(String), 78289(Integer) [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-10-19(String), 80(Integer), 2022-10-19(String), 80(Integer) [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 21(String) [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(String) [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:28:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:28:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:28:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-10-05(String) [08:28:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:28:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:28:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:28:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:28:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-10-19(String), 80(Integer), 0(Integer), 2022-10-19(String) [08:28:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:28:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:28:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:28:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:28:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:28:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 1(Integer), 2022-10-19(String), 80(Integer), 1(Integer), 2022-10-19(String) [08:28:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:28:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:28:06] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 93, refer : http://emsa.eltenergy.com/ess/view.co [08:28:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:28:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:28:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 2022-10-19(String) [08:28:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:28:06] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 93, param.plantSeq : 93 [08:28:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 93(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-10-18(String), 93(Integer), 0(Integer), 2022-10-17(String), 93(Integer), 0(Integer), 2022-10-19(String), 78289(Integer) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 93(Integer), 2022-10-19(String), 93(Integer) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 01(String), 2022-10-05(String) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-10-19(String), 93(Integer), 0(Integer), 2022-10-19(String) [08:28:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 93(Integer), 0(Integer), 93(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:28:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 1(Integer), 2022-10-19(String), 93(Integer), 1(Integer), 2022-10-19(String) [08:28:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:29:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 203 [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:29:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:29:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [08:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 26 [08:29:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:29:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:29:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 115 [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31:02] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78290(Integer), 2022-10-19(String), 08(String), 31(String), 4589411(Long), 4482219(Long), 14229(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 8133(Integer), 0(Integer), 14229(Integer), 3684(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6811(Integer), 0(Integer), 302(Integer), 253(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 208(Integer), 242(Integer), 245(Integer), 243(Integer), 241(Integer), 390(Integer), 455(Integer), 437(Integer), 450(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31:02] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78290(Integer), 2022-10-19(String), 08(String), 31(String), 4589411(Long), 4482219(Long), 14229(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 8133(Integer), 0(Integer), 14229(Integer), 3684(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6811(Integer), 0(Integer), 302(Integer), 253(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 208(Integer), 242(Integer), 245(Integer), 243(Integer), 241(Integer), 390(Integer), 455(Integer), 437(Integer), 450(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78290(Integer), 2022-10-19(String), 08(String), 31(String), 4683953(Long), 4577625(Long), 14229(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 8133(Integer), 0(Integer), 14229(Integer), 3733(Integer), 40(Integer), 25(Integer), 40(Integer), 935(Integer), 0(Integer), 6818(Integer), 0(Integer), 298(Integer), 250(Integer), 3469(Integer), 3434(Integer), 0(Integer), 1(Integer), 0(Integer), 128(Integer), 1(Integer), 0(Integer), 8(Integer), 0(Integer), 89(Integer), 4(Integer), 208(Integer), 242(Integer), 245(Integer), 243(Integer), 241(Integer), 390(Integer), 455(Integer), 437(Integer), 450(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:31:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31:02] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:31:02] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [08:33:50] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:33:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:33:53] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:33:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:33:53] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:33:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:33:53] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [08:33:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:33:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:33:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:33:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:33:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : GSNGsolar, mappingList.size : 2 [08:33:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:33:53] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), B8A327CC616008B8FCBE63FCF9154B29(String), PHONE(String) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:33:53] [DEBUG] controller.EssController - ----------------------------------------------- [08:33:53] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:33:53] [DEBUG] controller.EssController - ----------------------------------------------- [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-18(String), 85(Integer), 0(Integer), 2022-10-17(String), 85(Integer), 0(Integer), 2022-10-19(String), 78290(Integer) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 85(Integer) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-05(String) [08:33:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-19(String), 85(Integer), 0(Integer), 2022-10-19(String) [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [08:33:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:55] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78290(Integer), 2022-10-19(String), 08(String), 33(String), 4683953(Long), 4577625(Long), 7886(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 8679(Integer), 0(Integer), 7886(Integer), 3770(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6817(Integer), 0(Integer), 298(Integer), 250(Integer), 3469(Integer), 3434(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 208(Integer), 242(Integer), 245(Integer), 245(Integer), 241(Integer), 394(Integer), 455(Integer), 437(Integer), 450(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:55] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78290(Integer), 2022-10-19(String), 08(String), 33(String), 4683953(Long), 4577625(Long), 7886(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 8679(Integer), 0(Integer), 7886(Integer), 3770(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6817(Integer), 0(Integer), 298(Integer), 250(Integer), 3469(Integer), 3434(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 208(Integer), 242(Integer), 245(Integer), 245(Integer), 241(Integer), 394(Integer), 455(Integer), 437(Integer), 450(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78290(Integer), 2022-10-19(String), 08(String), 33(String), 4589411(Long), 4482219(Long), 7886(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 8679(Integer), 0(Integer), 7886(Integer), 3694(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6812(Integer), 0(Integer), 302(Integer), 253(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 208(Integer), 242(Integer), 245(Integer), 245(Integer), 241(Integer), 394(Integer), 455(Integer), 437(Integer), 450(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:33:55] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:33:55] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer), 2022-10-19(String), 08(String), 34(String), 355.5(Float), 308.8(Float), 0.3(Float), 830826.0(Float), 01(String) [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172253(Integer), 106(Integer), 1(Integer), 272385.0(Double), 60.4(Double), 0.0(Double), 0.0(Double), 265.4(Double), 1004.1(Double), 266488.1(Double), 25.8(Double), 85.7(Double), 233670.0(Double), 427821.0(Double), 01(String) [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172253(Integer), 106(Integer), 2(Integer), 83158.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 83.6(Double), 1001.4(Double), 83717.0(Double), 19.8(Double), 92.2(Double), 75124.0(Double), 403005.0(Double), 01(String) [08:34:46] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer) [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer), 2022-10-19(String), 08(String), 34(String), 12.6(Float), 8.6(Float), 0.0(Float), 19870.0(Float), 01(String) [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer) [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172254(Integer), 134(Integer), 1(Integer), 8900.0(Double), 0.0(Double), 8.9(Double), 6553.3(Double), 7.2(Double), 621.5(Double), 4474.6(Double), 31.5(Double), 6458.6(Double), 4500.0(Double), 10049.0(Double), 01(String) [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172254(Integer), 134(Integer), 2(Integer), 3700.0(Double), 0.0(Double), 3.7(Double), 6553.5(Double), 1.8(Double), 611.2(Double), 1100.2(Double), 32.6(Double), 6466.6(Double), 4100.0(Double), 9821.0(Double), 01(String) [08:34:50] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer), 2022-10-19(String), 08(String), 34(String), 288.9(Float), 215.6(Float), 0.2(Float), 943351.0(Float), 01(String) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer), 2022-10-19(String), 08(String), 34(String), 322.9(Float), 295.7(Float), 0.3(Float), 907219.0(Float), 01(String) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172255(Integer), 113(Integer), 1(Integer), 231025.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 229.2(Double), 1015.0(Double), 232638.0(Double), 22.3(Double), 85.1(Double), 176434.0(Double), 483791.0(Double), 01(String) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172256(Integer), 126(Integer), 1(Integer), 231585.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 234.8(Double), 1005.5(Double), 236091.4(Double), 32.8(Double), 100.0(Double), 223207.0(Double), 466149.0(Double), 01(String) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172255(Integer), 113(Integer), 2(Integer), 57884.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 56.8(Double), 1027.4(Double), 58356.3(Double), 38.5(Double), 92.5(Double), 39160.0(Double), 459560.0(Double), 01(String) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172256(Integer), 126(Integer), 2(Integer), 91936.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 95.3(Double), 983.2(Double), 93699.0(Double), 31.8(Double), 100.0(Double), 72868.0(Double), 441070.0(Double), 01(String) [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer), 2022-10-19(String), 08(String), 34(String), 280.9(Float), 255.5(Float), 0.3(Float), 945027.0(Float), 01(String) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172257(Integer), 111(Integer), 1(Integer), 215751.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 240.8(Double), 997.3(Double), 240149.8(Double), 22.0(Double), 86.1(Double), 194450.0(Double), 668463.0(Double), 01(String) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172257(Integer), 111(Integer), 2(Integer), 65151.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 65.5(Double), 1014.8(Double), 66469.4(Double), 39.4(Double), 92.6(Double), 61070.0(Double), 276564.0(Double), 01(String) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer), 2022-10-19(String), 08(String), 34(String), 263.7(Float), 204.0(Float), 0.2(Float), 954317.0(Float), 01(String) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172258(Integer), 105(Integer), 1(Integer), 180924.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 171.4(Double), 1026.1(Double), 175873.5(Double), 20.0(Double), 100.0(Double), 134200.0(Double), 489460.0(Double), 01(String) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172258(Integer), 105(Integer), 2(Integer), 82579.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 69.9(Double), 1021.9(Double), 71430.8(Double), 19.9(Double), 100.0(Double), 70114.0(Double), 464858.0(Double), 01(String) [08:34:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer), 2022-10-19(String), 08(String), 34(String), 259.0(Float), 205.3(Float), 0.2(Float), 925781.0(Float), 01(String) [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172259(Integer), 104(Integer), 1(Integer), 215868.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 214.9(Double), 1022.2(Double), 219670.8(Double), 21.9(Double), 100.0(Double), 177033.0(Double), 474630.0(Double), 01(String) [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172259(Integer), 104(Integer), 2(Integer), 43121.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 44.0(Double), 999.9(Double), 43995.6(Double), 32.8(Double), 99.9(Double), 28231.0(Double), 451151.0(Double), 01(String) [08:34:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer), 2022-10-19(String), 08(String), 35(String), 47.3(Float), 37.7(Float), 0.2(Float), 89212.6(Float), 01(String) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172260(Integer), 132(Integer), 1(Integer), 21902.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 116.0(Double), 592.0(Double), 68672.0(Double), 40.0(Double), 0.0(Double), 19200.0(Double), 30612.0(Double), 01(String) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172260(Integer), 132(Integer), 2(Integer), 10143.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 48.0(Double), 594.0(Double), 28512.0(Double), 36.0(Double), 0.0(Double), 7000.0(Double), 29760.8(Double), 01(String) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172260(Integer), 132(Integer), 3(Integer), 15250.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 80.0(Double), 593.0(Double), 47440.0(Double), 39.0(Double), 0.0(Double), 11500.0(Double), 28839.8(Double), 01(String) [08:35:00] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer), 2022-10-19(String), 08(String), 35(String), 186.2(Float), 147.6(Float), 0.1(Float), 939791.0(Float), 01(String) [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172261(Integer), 109(Integer), 1(Integer), 106726.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 104.0(Double), 984.8(Double), 102419.2(Double), 37.3(Double), 87.2(Double), 70248.0(Double), 483003.0(Double), 01(String) [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172261(Integer), 109(Integer), 2(Integer), 79487.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 75.5(Double), 1020.7(Double), 77062.9(Double), 18.0(Double), 91.1(Double), 77385.0(Double), 456788.0(Double), 01(String) [08:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer), 2022-10-19(String), 08(String), 35(String), 382.4(Float), 295.3(Float), 0.3(Float), 936119.0(Float), 01(String) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172262(Integer), 120(Integer), 1(Integer), 290639.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 286.9(Double), 1007.2(Double), 288965.7(Double), 25.0(Double), 100.0(Double), 205857.0(Double), 480974.0(Double), 01(String) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172262(Integer), 120(Integer), 2(Integer), 91748.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 93.2(Double), 996.2(Double), 92845.8(Double), 19.6(Double), 100.0(Double), 89424.0(Double), 455145.0(Double), 01(String) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer), 2022-10-19(String), 08(String), 35(String), 271.3(Float), 242.1(Float), 0.2(Float), 970125.0(Float), 01(String) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172263(Integer), 103(Integer), 1(Integer), 233781.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 229.9(Double), 1012.8(Double), 232842.7(Double), 22.6(Double), 85.5(Double), 214078.0(Double), 499138.0(Double), 01(String) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172263(Integer), 103(Integer), 2(Integer), 37538.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 18.9(Double), 1040.4(Double), 19663.6(Double), 32.4(Double), 86.6(Double), 28070.0(Double), 470987.0(Double), 01(String) [08:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer), 2022-10-19(String), 08(String), 35(String), 326.1(Float), 219.0(Float), 0.2(Float), 897195.0(Float), 01(String) [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172264(Integer), 108(Integer), 1(Integer), 265927.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 261.7(Double), 1017.1(Double), 266175.1(Double), 35.6(Double), 86.3(Double), 190676.0(Double), 461792.0(Double), 01(String) [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172264(Integer), 108(Integer), 2(Integer), 60222.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 47.0(Double), 1031.2(Double), 48466.4(Double), 45.4(Double), 88.1(Double), 28369.0(Double), 435403.0(Double), 01(String) [08:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-10-19(String), 08(String), 35(String), 99.7(Float), 83.2(Float), 0.4(Float), 186180.0(Float), 01(String) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172265(Integer), 99(Integer), 1(Integer), 25700.0(Double), 0.0(Double), 25.7(Double), 1.9(Double), 44.6(Double), 577.6(Double), 25762.4(Double), 29.4(Double), 100.0(Double), 23600.0(Double), 43837.0(Double), 01(String) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172265(Integer), 99(Integer), 2(Integer), 26300.0(Double), 0.0(Double), 26.3(Double), 1.6(Double), 45.1(Double), 581.3(Double), 26215.1(Double), 28.3(Double), 100.0(Double), 24100.0(Double), 44461.0(Double), 01(String) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172265(Integer), 99(Integer), 3(Integer), 23200.0(Double), 0.0(Double), 23.2(Double), 1.5(Double), 39.4(Double), 589.2(Double), 23215.8(Double), 24.7(Double), 100.0(Double), 15900.0(Double), 48502.0(Double), 01(String) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172265(Integer), 99(Integer), 4(Integer), 24500.0(Double), 0.0(Double), 24.5(Double), 1.5(Double), 41.1(Double), 588.7(Double), 24196.9(Double), 22.7(Double), 100.0(Double), 19600.0(Double), 49380.0(Double), 01(String) [08:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 2022-10-19(String), 08(String), 35(String), 151.3(Float), 120.0(Float), 0.3(Float), 357992.4(Float), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172266(Integer), 128(Integer), 1(Integer), 33655.0(Double), 599.9(Double), 0.0(Double), -0.0(Double), 49.5(Double), 688.3(Double), 34077.1(Double), 23.0(Double), 645.4(Double), 25740.0(Double), 79696.5(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172266(Integer), 128(Integer), 2(Integer), 32633.0(Double), 599.9(Double), 0.0(Double), -0.0(Double), 48.7(Double), 680.7(Double), 33136.5(Double), 22.5(Double), 645.4(Double), 26370.0(Double), 79293.9(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172266(Integer), 128(Integer), 3(Integer), 33828.0(Double), 599.9(Double), 0.0(Double), -0.0(Double), 50.3(Double), 680.9(Double), 34241.8(Double), 22.0(Double), 645.4(Double), 27090.0(Double), 79427.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172266(Integer), 128(Integer), 4(Integer), 33754.0(Double), 599.9(Double), 0.0(Double), -0.0(Double), 49.8(Double), 687.7(Double), 34254.3(Double), 21.8(Double), 645.4(Double), 26980.0(Double), 78804.1(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172266(Integer), 128(Integer), 5(Integer), 17424.0(Double), 599.9(Double), 0.0(Double), -0.0(Double), 26.4(Double), 670.1(Double), 17689.3(Double), 30.8(Double), 645.4(Double), 13840.0(Double), 40770.8(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer), 2022-10-19(String), 08(String), 35(String), 26.9(Float), 16.8(Float), 0.2(Float), 110597.3(Float), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172267(Integer), 129(Integer), 1(Integer), 14744.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 6.0(Double), 617.0(Double), 3702.0(Double), 39.0(Double), 0.0(Double), 9000.0(Double), 58381.8(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172267(Integer), 129(Integer), 2(Integer), 12115.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 15.0(Double), 635.0(Double), 9525.0(Double), 34.0(Double), 0.0(Double), 7800.0(Double), 52215.5(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer), 2022-10-19(String), 08(String), 35(String), 62.8(Float), 55.2(Float), 0.4(Float), 176302.4(Float), 01(String) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172268(Integer), 127(Integer), 1(Integer), 21290.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 140.0(Double), 569.0(Double), 79660.0(Double), 37.0(Double), 0.0(Double), 18600.0(Double), 59148.5(Double), 01(String) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172268(Integer), 127(Integer), 2(Integer), 18939.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 92.0(Double), 625.0(Double), 57500.0(Double), 40.0(Double), 0.0(Double), 16700.0(Double), 54647.0(Double), 01(String) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172268(Integer), 127(Integer), 3(Integer), 22537.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 138.0(Double), 620.0(Double), 85560.0(Double), 27.0(Double), 0.0(Double), 19900.0(Double), 62506.9(Double), 01(String) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer), 2022-10-19(String), 08(String), 35(String), 267.5(Float), 243.0(Float), 0.2(Float), 858055.0(Float), 01(String) [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172269(Integer), 102(Integer), 1(Integer), 202197.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 206.1(Double), 989.9(Double), 204018.4(Double), 21.8(Double), 84.9(Double), 184851.0(Double), 442482.0(Double), 01(String) [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172269(Integer), 102(Integer), 2(Integer), 65318.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 53.9(Double), 999.4(Double), 53867.7(Double), 39.0(Double), 92.4(Double), 58123.0(Double), 415573.0(Double), 01(String) [08:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer), 2022-10-19(String), 08(String), 35(String), 311.7(Float), 282.8(Float), 0.3(Float), 897873.0(Float), 01(String) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172270(Integer), 101(Integer), 1(Integer), 266014.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 270.6(Double), 971.7(Double), 262942.0(Double), 24.7(Double), 86.1(Double), 245802.0(Double), 462769.0(Double), 01(String) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172270(Integer), 101(Integer), 2(Integer), 45727.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 32.2(Double), 995.7(Double), 32061.5(Double), 29.8(Double), 85.2(Double), 37020.0(Double), 435104.0(Double), 01(String) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer), 2022-10-19(String), 08(String), 35(String), 68.7(Float), 51.6(Float), 0.3(Float), 92435.9(Float), 01(String) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172271(Integer), 131(Integer), 1(Integer), 24788.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 155.0(Double), 615.0(Double), 95325.0(Double), 36.0(Double), 0.0(Double), 19100.0(Double), 32556.8(Double), 01(String) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172271(Integer), 131(Integer), 2(Integer), 21071.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 99.0(Double), 611.0(Double), 60489.0(Double), 29.0(Double), 0.0(Double), 15800.0(Double), 28891.7(Double), 01(String) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172271(Integer), 131(Integer), 3(Integer), 22837.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 149.0(Double), 564.0(Double), 84036.0(Double), 35.0(Double), 0.0(Double), 16700.0(Double), 30987.4(Double), 01(String) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer), 2022-10-19(String), 08(String), 35(String), 398.5(Float), 384.9(Float), 0.4(Float), 974390.0(Float), 01(String) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172272(Integer), 121(Integer), 1(Integer), 324715.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 318.0(Double), 1002.3(Double), 318731.4(Double), 24.5(Double), 100.0(Double), 318777.0(Double), 501082.0(Double), 01(String) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172272(Integer), 121(Integer), 2(Integer), 73740.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 68.3(Double), 1020.9(Double), 69727.5(Double), 16.9(Double), 99.9(Double), 66166.0(Double), 473308.0(Double), 01(String) [08:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer), 2022-10-19(String), 08(String), 35(String), 304.7(Float), 248.5(Float), 0.3(Float), 961506.0(Float), 01(String) [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172273(Integer), 112(Integer), 1(Integer), 226050.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 218.1(Double), 1026.4(Double), 223857.9(Double), 21.7(Double), 86.3(Double), 178250.0(Double), 493997.0(Double), 01(String) [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172273(Integer), 112(Integer), 2(Integer), 78629.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 75.3(Double), 1019.6(Double), 76775.9(Double), 17.1(Double), 91.1(Double), 70264.0(Double), 467509.0(Double), 01(String) [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 08(String), 35(String), 314.4(Float), 217.7(Float), 0.2(Float), 1614162.0(Float), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 1(Integer), 20270.0(Double), 0.0(Double), 20.3(Double), 0.0(Double), 23.1(Double), 622.0(Double), 14369.0(Double), 13.9(Double), 0.0(Double), 12600.0(Double), 103336.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 2(Integer), 24881.0(Double), 0.0(Double), 24.9(Double), 0.0(Double), 29.2(Double), 637.6(Double), 18618.9(Double), 17.5(Double), 0.0(Double), 22300.0(Double), 117488.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 3(Integer), 23920.0(Double), 0.0(Double), 23.9(Double), 0.0(Double), 29.2(Double), 616.3(Double), 17996.0(Double), 15.2(Double), 0.0(Double), 17200.0(Double), 105072.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 4(Integer), 25075.0(Double), 0.0(Double), 25.1(Double), 0.0(Double), 29.6(Double), 635.9(Double), 18821.7(Double), 17.7(Double), 0.0(Double), 21300.0(Double), 108767.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 5(Integer), 25513.0(Double), 0.0(Double), 25.5(Double), 0.0(Double), 30.0(Double), 638.9(Double), 19166.0(Double), 18.8(Double), 0.0(Double), 22800.0(Double), 119685.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 6(Integer), 25994.0(Double), 0.0(Double), 26.0(Double), 0.0(Double), 30.6(Double), 637.3(Double), 19501.4(Double), 17.1(Double), 0.0(Double), 24100.0(Double), 119685.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 7(Integer), 24394.0(Double), 0.0(Double), 24.4(Double), 0.0(Double), 28.9(Double), 639.0(Double), 18467.1(Double), 16.7(Double), 0.0(Double), 20600.0(Double), 100824.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 8(Integer), 21631.0(Double), 0.0(Double), 21.6(Double), 0.0(Double), 28.1(Double), 555.0(Double), 15595.5(Double), 13.3(Double), 0.0(Double), 10600.0(Double), 112174.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 9(Integer), 989.0(Double), 0.0(Double), 1.0(Double), 0.0(Double), 1.2(Double), 653.9(Double), 784.6(Double), 9.1(Double), 0.0(Double), 800.0(Double), 94773.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 10(Integer), 17496.0(Double), 0.0(Double), 17.5(Double), 0.0(Double), 19.8(Double), 609.0(Double), 12058.2(Double), 11.9(Double), 0.0(Double), 6400.0(Double), 113950.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 11(Integer), 18892.0(Double), 0.0(Double), 18.9(Double), 0.0(Double), 28.6(Double), 604.0(Double), 17274.4(Double), 11.7(Double), 0.0(Double), 9000.0(Double), 114396.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 12(Integer), 25716.0(Double), 0.0(Double), 25.7(Double), 0.0(Double), 30.8(Double), 634.3(Double), 19535.4(Double), 14.2(Double), 0.0(Double), 11100.0(Double), 116129.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 13(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 14(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 15(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 16(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 17(Integer), 22812.0(Double), 0.0(Double), 22.8(Double), 0.0(Double), 25.3(Double), 641.1(Double), 16219.0(Double), 15.1(Double), 0.0(Double), 15600.0(Double), 105024.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 18(Integer), 15534.0(Double), 0.0(Double), 15.5(Double), 0.0(Double), 24.3(Double), 640.0(Double), 15551.2(Double), 11.7(Double), 0.0(Double), 6200.0(Double), 70747.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172274(Integer), 92(Integer), 19(Integer), 21250.0(Double), 0.0(Double), 21.3(Double), 0.0(Double), 24.1(Double), 635.3(Double), 15309.9(Double), 17.2(Double), 0.0(Double), 17100.0(Double), 112112.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 08(String), 35(String), 463.2(Float), 398.1(Float), 0.4(Float), 2199957.0(Float), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 1(Integer), 25624.0(Double), 0.0(Double), 25.6(Double), 0.0(Double), 30.2(Double), 639.4(Double), 19308.9(Double), 17.6(Double), 0.0(Double), 23600.0(Double), 108752.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 2(Integer), 24955.0(Double), 0.0(Double), 25.0(Double), 0.0(Double), 29.8(Double), 638.3(Double), 19022.3(Double), 17.7(Double), 0.0(Double), 22800.0(Double), 119119.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 3(Integer), 24020.0(Double), 0.0(Double), 24.0(Double), 0.0(Double), 28.3(Double), 639.1(Double), 18085.6(Double), 16.6(Double), 0.0(Double), 21900.0(Double), 105052.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 4(Integer), 24456.0(Double), 0.0(Double), 24.5(Double), 0.0(Double), 29.0(Double), 635.5(Double), 18428.5(Double), 17.6(Double), 0.0(Double), 22600.0(Double), 117883.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 5(Integer), 24277.0(Double), 0.0(Double), 24.3(Double), 0.0(Double), 28.7(Double), 633.3(Double), 18176.7(Double), 17.2(Double), 0.0(Double), 22000.0(Double), 105506.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 6(Integer), 24501.0(Double), 0.0(Double), 24.5(Double), 0.0(Double), 28.5(Double), 641.7(Double), 18288.5(Double), 18.7(Double), 0.0(Double), 22500.0(Double), 120922.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 7(Integer), 24611.0(Double), 0.0(Double), 24.6(Double), 0.0(Double), 29.1(Double), 634.7(Double), 18470.7(Double), 20.3(Double), 0.0(Double), 22700.0(Double), 119033.0(Double), 01(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 8(Integer), 24563.0(Double), 0.0(Double), 24.6(Double), 0.0(Double), 29.0(Double), 643.3(Double), 18654.7(Double), 19.3(Double), 0.0(Double), 22700.0(Double), 107351.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 9(Integer), 24436.0(Double), 0.0(Double), 24.4(Double), 0.0(Double), 28.9(Double), 637.9(Double), 18436.3(Double), 17.3(Double), 0.0(Double), 22300.0(Double), 118383.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 10(Integer), 22603.0(Double), 0.0(Double), 22.6(Double), 0.0(Double), 25.9(Double), 644.9(Double), 16703.8(Double), 16.9(Double), 0.0(Double), 20300.0(Double), 95649.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 11(Integer), 22497.0(Double), 0.0(Double), 22.5(Double), 0.0(Double), 26.8(Double), 638.1(Double), 17101.1(Double), 16.6(Double), 0.0(Double), 19900.0(Double), 115329.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 12(Integer), 20652.0(Double), 0.0(Double), 20.7(Double), 0.0(Double), 23.6(Double), 657.4(Double), 15514.6(Double), 16.8(Double), 0.0(Double), 17900.0(Double), 94992.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 13(Integer), 21261.0(Double), 0.0(Double), 21.3(Double), 0.0(Double), 24.7(Double), 641.8(Double), 15852.5(Double), 16.7(Double), 0.0(Double), 18800.0(Double), 113844.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 14(Integer), 20245.0(Double), 0.0(Double), 20.2(Double), 0.0(Double), 23.6(Double), 643.2(Double), 15179.5(Double), 17.2(Double), 0.0(Double), 17400.0(Double), 109303.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 15(Integer), 18917.0(Double), 0.0(Double), 18.9(Double), 0.0(Double), 21.6(Double), 657.1(Double), 14192.6(Double), 16.6(Double), 0.0(Double), 16400.0(Double), 97689.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 16(Integer), 24750.0(Double), 0.0(Double), 24.8(Double), 0.0(Double), 28.6(Double), 639.0(Double), 18275.4(Double), 15.3(Double), 0.0(Double), 15700.0(Double), 117394.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 17(Integer), 24318.0(Double), 0.0(Double), 24.3(Double), 0.0(Double), 28.3(Double), 645.2(Double), 18259.2(Double), 15.4(Double), 0.0(Double), 15800.0(Double), 114734.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 18(Integer), 20205.0(Double), 0.0(Double), 20.2(Double), 0.0(Double), 22.7(Double), 636.6(Double), 14451.6(Double), 15.7(Double), 0.0(Double), 14500.0(Double), 99041.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 19(Integer), 20995.0(Double), 0.0(Double), 21.0(Double), 0.0(Double), 24.1(Double), 637.5(Double), 15364.6(Double), 15.1(Double), 0.0(Double), 15500.0(Double), 98494.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172275(Integer), 93(Integer), 20(Integer), 25358.0(Double), 0.0(Double), 25.4(Double), 0.0(Double), 30.4(Double), 636.9(Double), 19360.7(Double), 17.5(Double), 0.0(Double), 22800.0(Double), 121487.0(Double), 01(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:21] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78290(Integer), 2022-10-19(String), 08(String), 35(String), 4683953(Long), 4577625(Long), 8315(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 8839(Integer), 0(Integer), 8315(Integer), 3776(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6817(Integer), 0(Integer), 298(Integer), 250(Integer), 3470(Integer), 3434(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 208(Integer), 242(Integer), 245(Integer), 243(Integer), 241(Integer), 395(Integer), 455(Integer), 437(Integer), 450(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:21] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78290(Integer), 2022-10-19(String), 08(String), 35(String), 4683953(Long), 4577625(Long), 8315(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 8839(Integer), 0(Integer), 8315(Integer), 3776(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6817(Integer), 0(Integer), 298(Integer), 250(Integer), 3470(Integer), 3434(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 208(Integer), 242(Integer), 245(Integer), 243(Integer), 241(Integer), 395(Integer), 455(Integer), 437(Integer), 450(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78290(Integer), 2022-10-19(String), 08(String), 35(String), 4589411(Long), 4482219(Long), 8313(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 8863(Integer), 0(Integer), 8313(Integer), 3701(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6812(Integer), 0(Integer), 302(Integer), 253(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 208(Integer), 242(Integer), 245(Integer), 243(Integer), 241(Integer), 395(Integer), 455(Integer), 437(Integer), 450(Integer), 455(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:21] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:35:21] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer), 2022-10-19(String), 08(String), 35(String), 409.9(Float), 316.5(Float), 0.3(Float), 943571.0(Float), 01(String) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172276(Integer), 107(Integer), 1(Integer), 310724.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 300.7(Double), 1013.0(Double), 304609.1(Double), 27.7(Double), 85.1(Double), 226053.0(Double), 485720.0(Double), 01(String) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172276(Integer), 107(Integer), 2(Integer), 99204.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 98.2(Double), 1028.0(Double), 100949.6(Double), 19.5(Double), 92.3(Double), 90407.0(Double), 457851.0(Double), 01(String) [08:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer), 2022-10-19(String), 08(String), 35(String), 212.8(Float), 210.8(Float), 0.3(Float), 724404.0(Float), 01(String) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172277(Integer), 110(Integer), 1(Integer), 178241.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 176.6(Double), 1006.7(Double), 177783.2(Double), 18.6(Double), 87.2(Double), 177626.0(Double), 374756.0(Double), 01(String) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172277(Integer), 110(Integer), 2(Integer), 34607.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 31.9(Double), 1012.5(Double), 32298.8(Double), 34.6(Double), 87.0(Double), 33198.0(Double), 349648.0(Double), 01(String) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer), 2022-10-19(String), 08(String), 35(String), 377.5(Float), 359.9(Float), 0.4(Float), 922842.0(Float), 01(String) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172278(Integer), 122(Integer), 1(Integer), 307984.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 304.5(Double), 1020.2(Double), 310650.9(Double), 27.4(Double), 92.3(Double), 298200.0(Double), 475048.0(Double), 01(String) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172278(Integer), 122(Integer), 2(Integer), 69496.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 71.6(Double), 998.9(Double), 71521.2(Double), 18.6(Double), 92.6(Double), 61740.0(Double), 447794.0(Double), 01(String) [08:35:23] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:36:22] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:37:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:37:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [08:37:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [08:37:35] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:37:36] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 19 [08:37:36] [DEBUG] controller.JsonController - ------------------------------------- [08:37:36] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_60_1","level":"2","className":"danger"},{"name":"pcs_60_2","level":"2","className":"danger"},{"name":"pcs_60_2","level":"2","className":"danger"},{"name":"pcs_60_2","level":"2","className":"danger"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [08:37:36] [DEBUG] controller.JsonController - ------------------------------------- [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [08:37:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:39:48] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 219 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:39:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [08:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:39:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 117 [08:44:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:44:38] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :safetyelt02, login_channel : null [08:44:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: safetyelt02(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:44:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:44:38] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:44:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:44:38] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co;jsessionid=3C2EFDC009EB0749321575AC8DD303BD [08:44:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:44:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : safetyelt02 [08:44:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:44:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: safetyelt02(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: safetyelt02(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:44:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : safetyelt02, mappingList.size : 1 [08:44:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:44:38] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[safetyelt02] roles roles [0]ROLE_01 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: safetyelt02(String), 01(String), E40CE0F42560AFA804529CAE0A50F06F(String), WEB(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:44:38] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:44:38] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [08:44:38] [DEBUG] controller.SignController - /ess/view.co [08:44:38] [DEBUG] controller.SignController - ....................................... [08:44:38] [DEBUG] controller.EssController - ----------------------------------------------- [08:44:38] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 128, param.plantSeq : 0 [08:44:38] [DEBUG] controller.EssController - ----------------------------------------------- [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 2022-10-19(String), 128(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 2022-10-19(String), 128(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name as plantName, p.supplyPower, p.plantType, v.link, v.url1, v.url2, v.ivtQuantity, v.ivtType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.seq = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.plantSeq = ? and o.inputDate=? ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) order by p.seq desc, p.oseq desc [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 128(Integer), 2022-10-19(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, d.* from ( select p.seq, p.name, p.supplyPower, p.plantType, v.link, v.url1, v.url2, v.ivtQuantity, v.ivtType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.seq = ? ) p left join t_ivtdata_2022 d on p.seq = d.plantSeq and d.plantSeq = ? and d.oseq = ? ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? and plantSeq = ? ) order by seq desc, ivtIdx asc ) R1 LIMIT 0, 50 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 128(Integer), 172266(Integer), 2022-10-19(String), 2022-10-19(String), 128(Integer) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 01(String), 2022-10-05(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, p.supplyPower, v.ivtQuantity, d.* from t_ivtoverview_hour d, t_plant p, t_ivtjunc v where p.seq = d.plantSeq and p.seq = v.plantSeq and d.inputDate = ? and d.plantSeq = ? order by d.inputDate asc, d.inputHour asc , d.plantSeq desc [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 128(Integer) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, p.supplyPower, v.ivtQuantity,d.* from t_ivtoverview_day d, t_plant p, t_ivtjunc v where p.seq = d.plantSeq and p.seq = v.plantSeq and d.inputDate between ? and ? and d.plantSeq = ? [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-11(String), 2022-10-19(String), 128(Integer) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputYmd, typeCode, tradeYmd, min, max, avg from t_price where inputYmd between DATE_ADD(?, INTERVAL -8 DAY) and ? group by inputYmd, typeCode [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:44:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [08:47:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:47:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [08:47:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [08:47:35] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:47:36] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [08:47:36] [DEBUG] controller.JsonController - ------------------------------------- [08:47:36] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [08:47:36] [DEBUG] controller.JsonController - ------------------------------------- [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [08:47:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:49:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:49:33] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :yeongsf, login_channel : null [08:49:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: yeongsf(String) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:49:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:49:33] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:49:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:49:33] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/loginsf.co [08:49:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:49:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : yeongsf [08:49:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:49:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: yeongsf(String) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: yeongsf(String) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [08:49:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : yeongsf, mappingList.size : 13 [08:49:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:49:33] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[yeongsf] roles roles [0]ROLE_01 [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: yeongsf(String), 01(String), C86EC5A76EEF9A1761EE6BAF66AB0AA9(String), PHONE(String) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:49:33] [DEBUG] controller.EssController - ----------------------------------------------- [08:49:33] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 96, param.plantSeq : 0 [08:49:33] [DEBUG] controller.EssController - ----------------------------------------------- [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer), 2022-10-19(String), 96(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer), 0(Integer), 2022-10-18(String), 96(Integer), 0(Integer), 2022-10-17(String), 96(Integer), 0(Integer), 2022-10-19(String), 78291(Integer) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer), 2022-10-19(String), 96(Integer), 2022-10-19(String), 96(Integer) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 21(String) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(String) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:49:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer), 01(String), 2022-10-05(String) [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer), 0(Integer), 2022-10-19(String), 96(Integer), 0(Integer), 2022-10-19(String) [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 96(Integer), 0(Integer), 96(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [08:49:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:49:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:49:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer), 1(Integer), 2022-10-19(String), 96(Integer), 1(Integer), 2022-10-19(String) [08:49:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.plantStatus = ? and v.ivtStatus = ? and p.seq in ( 96, 76, 77, 78, 92, 93, 98, 99, 127, 128, 129, 131, 132 ) ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) order by p.seq desc [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String) [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [08:49:42] [DEBUG] controller.SolarController - slide.selectListFront : 쿼리조회시간 : 15 [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer) [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 96(Integer), 2022-10-19(String), 2022-10-19(String) [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' order by plantSeq asc, ivtIdx asc [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' order by plantSeq asc, ivtIdx asc [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 151 [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [08:49:42] [DEBUG] controller.JsonController - ------------------------------------- [08:49:42] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [08:49:42] [DEBUG] controller.JsonController - ------------------------------------- [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:49:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:49:42] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:49:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 218 [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:49:47] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [08:49:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [08:49:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:49:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:49:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 117 [08:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:57:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [08:57:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [08:57:35] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:57:36] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [08:57:36] [DEBUG] controller.JsonController - ------------------------------------- [08:57:36] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [08:57:36] [DEBUG] controller.JsonController - ------------------------------------- [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [08:57:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:58:40] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78292(Integer), 2022-10-19(String), 08(String), 58(String), 4589411(Long), 4482219(Long), 20881(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 14994(Integer), 0(Integer), 20881(Integer), 3711(Integer), 40(Integer), 25(Integer), 41(Integer), 927(Integer), 0(Integer), 6812(Integer), 0(Integer), 301(Integer), 252(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 207(Integer), 242(Integer), 245(Integer), 245(Integer), 242(Integer), 407(Integer), 457(Integer), 440(Integer), 452(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:58:40] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78292(Integer), 2022-10-19(String), 08(String), 58(String), 4589411(Long), 4482219(Long), 20881(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 14994(Integer), 0(Integer), 20881(Integer), 3711(Integer), 40(Integer), 25(Integer), 41(Integer), 927(Integer), 0(Integer), 6812(Integer), 0(Integer), 301(Integer), 252(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 207(Integer), 242(Integer), 245(Integer), 245(Integer), 242(Integer), 407(Integer), 457(Integer), 440(Integer), 452(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78292(Integer), 2022-10-19(String), 08(String), 58(String), 4683953(Long), 4577625(Long), 20881(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 14934(Integer), 0(Integer), 20881(Integer), 3783(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6817(Integer), 0(Integer), 296(Integer), 249(Integer), 3469(Integer), 3434(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 207(Integer), 242(Integer), 245(Integer), 245(Integer), 242(Integer), 407(Integer), 457(Integer), 440(Integer), 452(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:58:40] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:58:40] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:59:12] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78292(Integer), 2022-10-19(String), 08(String), 59(String), 4589411(Long), 4482219(Long), 21705(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 15178(Integer), 0(Integer), 21705(Integer), 3713(Integer), 40(Integer), 25(Integer), 41(Integer), 927(Integer), 0(Integer), 6812(Integer), 0(Integer), 301(Integer), 252(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 207(Integer), 242(Integer), 245(Integer), 245(Integer), 242(Integer), 409(Integer), 457(Integer), 440(Integer), 452(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:59:12] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78292(Integer), 2022-10-19(String), 08(String), 59(String), 4589411(Long), 4482219(Long), 21705(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 15178(Integer), 0(Integer), 21705(Integer), 3713(Integer), 40(Integer), 25(Integer), 41(Integer), 927(Integer), 0(Integer), 6812(Integer), 0(Integer), 301(Integer), 252(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 207(Integer), 242(Integer), 245(Integer), 245(Integer), 242(Integer), 409(Integer), 457(Integer), 440(Integer), 452(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78292(Integer), 2022-10-19(String), 08(String), 59(String), 4683953(Long), 4577625(Long), 21705(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 15115(Integer), 0(Integer), 21705(Integer), 3787(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6817(Integer), 0(Integer), 296(Integer), 249(Integer), 3469(Integer), 3434(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 207(Integer), 242(Integer), 245(Integer), 245(Integer), 242(Integer), 409(Integer), 457(Integer), 440(Integer), 452(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:59:12] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:59:12] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:59:43] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 78292(Integer), 2022-10-19(String), 08(String), 59(String), 4589411(Long), 4482219(Long), 22011(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 15305(Integer), 0(Integer), 22011(Integer), 3716(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6812(Integer), 0(Integer), 301(Integer), 252(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 207(Integer), 242(Integer), 245(Integer), 245(Integer), 242(Integer), 409(Integer), 457(Integer), 440(Integer), 452(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:59:43] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 78292(Integer), 2022-10-19(String), 08(String), 59(String), 4589411(Long), 4482219(Long), 22011(Long), 0(Integer), 25771(Integer), 68(Integer), 1891(Integer), 70(Integer), 0(Integer), 0(Integer), 0(Integer), 15305(Integer), 0(Integer), 22011(Integer), 3716(Integer), 30(Integer), 19(Integer), 41(Integer), 927(Integer), 0(Integer), 6812(Integer), 0(Integer), 301(Integer), 252(Integer), 3460(Integer), 3435(Integer), 0(Integer), 1(Integer), 0(Integer), 136(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 207(Integer), 242(Integer), 245(Integer), 245(Integer), 242(Integer), 409(Integer), 457(Integer), 440(Integer), 452(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 78292(Integer), 2022-10-19(String), 08(String), 59(String), 4683953(Long), 4577625(Long), 22011(Long), 0(Integer), 55641(Integer), 69(Integer), 30897(Integer), 71(Integer), 0(Integer), 0(Integer), 0(Integer), 15305(Integer), 0(Integer), 22011(Integer), 3789(Integer), 40(Integer), 26(Integer), 40(Integer), 935(Integer), 0(Integer), 6817(Integer), 0(Integer), 296(Integer), 249(Integer), 3469(Integer), 3434(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 207(Integer), 242(Integer), 245(Integer), 245(Integer), 242(Integer), 409(Integer), 457(Integer), 440(Integer), 452(Integer), 457(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [08:59:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:59:43] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [08:59:43] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [08:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [08:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [08:59:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [08:59:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:59:48] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 235 [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [08:59:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [08:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [08:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [08:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [08:59:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 117 [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer), 2022-10-19(String), 09(String), 04(String), 441.3(Float), 508.8(Float), 0.5(Float), 831026.0(Float), 01(String) [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172284(Integer), 106(Integer), 1(Integer), 339870.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 335.5(Double), 986.4(Double), 330937.2(Double), 31.2(Double), 85.3(Double), 387430.0(Double), 427975.0(Double), 01(String) [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172284(Integer), 106(Integer), 2(Integer), 101390.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 101.2(Double), 986.2(Double), 99803.4(Double), 22.0(Double), 93.4(Double), 121382.0(Double), 403051.0(Double), 01(String) [09:04:45] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer) [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer), 2022-10-19(String), 09(String), 04(String), 63.0(Float), 33.7(Float), 0.2(Float), 19896.0(Float), 01(String) [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer) [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172285(Integer), 134(Integer), 1(Integer), 27700.0(Double), 0.0(Double), 27.7(Double), 6551.8(Double), 12.9(Double), 616.8(Double), 7956.3(Double), 25.8(Double), 6455.6(Double), 15200.0(Double), 10060.0(Double), 01(String) [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172285(Integer), 134(Integer), 2(Integer), 35300.0(Double), 0.0(Double), 35.3(Double), 6552.1(Double), 17.8(Double), 596.1(Double), 10610.0(Double), 26.6(Double), 6455.6(Double), 18500.0(Double), 9836.0(Double), 01(String) [09:04:49] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer), 2022-10-19(String), 09(String), 04(String), 411.9(Float), 482.0(Float), 0.5(Float), 907406.0(Float), 01(String) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172286(Integer), 126(Integer), 1(Integer), 303615.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 314.9(Double), 983.8(Double), 309798.6(Double), 36.7(Double), 100.0(Double), 358753.0(Double), 466285.0(Double), 01(String) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172286(Integer), 126(Integer), 2(Integer), 108312.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 108.2(Double), 974.7(Double), 105462.5(Double), 34.5(Double), 100.0(Double), 123237.0(Double), 441121.0(Double), 01(String) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer), 2022-10-19(String), 09(String), 04(String), 383.3(Float), 384.2(Float), 0.4(Float), 943519.0(Float), 01(String) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172287(Integer), 113(Integer), 1(Integer), 302076.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 295.4(Double), 1011.1(Double), 298678.9(Double), 26.9(Double), 87.0(Double), 310064.0(Double), 483924.0(Double), 01(String) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172287(Integer), 113(Integer), 2(Integer), 81206.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 81.9(Double), 982.6(Double), 80474.9(Double), 18.5(Double), 93.3(Double), 74097.0(Double), 459595.0(Double), 01(String) [09:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer), 2022-10-19(String), 09(String), 04(String), 373.1(Float), 414.0(Float), 0.4(Float), 945185.0(Float), 01(String) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172288(Integer), 111(Integer), 1(Integer), 289081.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 317.0(Double), 990.4(Double), 313956.8(Double), 25.7(Double), 85.3(Double), 316574.0(Double), 668585.0(Double), 01(String) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172288(Integer), 111(Integer), 2(Integer), 84067.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 87.3(Double), 991.0(Double), 86514.3(Double), 17.7(Double), 94.6(Double), 97401.0(Double), 276600.0(Double), 01(String) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer), 2022-10-19(String), 09(String), 04(String), 446.2(Float), 382.3(Float), 0.4(Float), 954496.0(Float), 01(String) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172289(Integer), 105(Integer), 1(Integer), 345391.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 334.6(Double), 1000.0(Double), 334600.0(Double), 29.6(Double), 99.9(Double), 266130.0(Double), 489592.0(Double), 01(String) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172289(Integer), 105(Integer), 2(Integer), 100791.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 88.2(Double), 978.7(Double), 86321.3(Double), 22.6(Double), 100.0(Double), 116205.0(Double), 464904.0(Double), 01(String) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer), 2022-10-19(String), 09(String), 04(String), 447.0(Float), 381.6(Float), 0.4(Float), 925958.0(Float), 01(String) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172290(Integer), 104(Integer), 1(Integer), 351078.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 356.5(Double), 1002.5(Double), 357391.3(Double), 31.0(Double), 100.0(Double), 319122.0(Double), 474772.0(Double), 01(String) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172290(Integer), 104(Integer), 2(Integer), 96270.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 91.4(Double), 1014.8(Double), 92752.7(Double), 24.0(Double), 100.0(Double), 63103.0(Double), 451186.0(Double), 01(String) [09:04:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer), 2022-10-19(String), 09(String), 04(String), 64.8(Float), 65.7(Float), 0.4(Float), 89240.6(Float), 01(String) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172291(Integer), 132(Integer), 1(Integer), 27681.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 149.0(Double), 590.0(Double), 87910.0(Double), 39.0(Double), 0.0(Double), 31600.0(Double), 30624.4(Double), 01(String) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172291(Integer), 132(Integer), 2(Integer), 16154.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 83.0(Double), 590.0(Double), 48970.0(Double), 35.0(Double), 0.0(Double), 13500.0(Double), 29767.3(Double), 01(String) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172291(Integer), 132(Integer), 3(Integer), 20923.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 115.0(Double), 581.0(Double), 66815.0(Double), 38.0(Double), 0.0(Double), 20600.0(Double), 28848.9(Double), 01(String) [09:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer), 2022-10-19(String), 09(String), 05(String), 402.9(Float), 292.5(Float), 0.3(Float), 939936.0(Float), 01(String) [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172292(Integer), 109(Integer), 1(Integer), 341046.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 323.0(Double), 1040.6(Double), 336113.8(Double), 28.4(Double), 84.4(Double), 180303.0(Double), 483113.0(Double), 01(String) [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172292(Integer), 109(Integer), 2(Integer), 61812.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 61.7(Double), 957.2(Double), 59059.2(Double), 16.3(Double), 91.8(Double), 112183.0(Double), 456823.0(Double), 01(String) [09:05:00] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer), 2022-10-19(String), 09(String), 05(String), 462.6(Float), 508.3(Float), 0.5(Float), 936332.0(Float), 01(String) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172293(Integer), 120(Integer), 1(Integer), 355318.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 356.1(Double), 997.4(Double), 355174.2(Double), 30.0(Double), 100.0(Double), 368782.0(Double), 481137.0(Double), 01(String) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172293(Integer), 120(Integer), 2(Integer), 107311.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 110.0(Double), 991.1(Double), 109021.0(Double), 22.1(Double), 100.0(Double), 139512.0(Double), 455195.0(Double), 01(String) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer), 2022-10-19(String), 09(String), 05(String), 426.5(Float), 413.2(Float), 0.4(Float), 970297.0(Float), 01(String) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172294(Integer), 103(Integer), 1(Integer), 343132.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 349.1(Double), 982.4(Double), 342955.8(Double), 30.5(Double), 84.8(Double), 356442.0(Double), 499281.0(Double), 01(String) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172294(Integer), 103(Integer), 2(Integer), 83339.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 68.5(Double), 977.6(Double), 66965.6(Double), 20.5(Double), 95.7(Double), 56763.0(Double), 471016.0(Double), 01(String) [09:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer), 2022-10-19(String), 09(String), 05(String), 418.4(Float), 405.9(Float), 0.4(Float), 897382.0(Float), 01(String) [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172295(Integer), 108(Integer), 1(Integer), 333925.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 337.5(Double), 1003.0(Double), 338512.5(Double), 37.7(Double), 100.0(Double), 341446.0(Double), 461943.0(Double), 01(String) [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172295(Integer), 108(Integer), 2(Integer), 84464.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 74.0(Double), 1021.4(Double), 75583.6(Double), 30.9(Double), 100.0(Double), 64494.0(Double), 435439.0(Double), 01(String) [09:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-10-19(String), 09(String), 05(String), 122.8(Float), 139.7(Float), 0.7(Float), 186236.0(Float), 01(String) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172296(Integer), 99(Integer), 1(Integer), 30700.0(Double), 0.0(Double), 30.7(Double), 1.8(Double), 53.6(Double), 574.2(Double), 30778.9(Double), 33.5(Double), 100.0(Double), 37800.0(Double), 43851.0(Double), 01(String) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172296(Integer), 99(Integer), 2(Integer), 31300.0(Double), 0.0(Double), 31.3(Double), 2.2(Double), 54.4(Double), 578.3(Double), 31459.5(Double), 32.4(Double), 100.0(Double), 38500.0(Double), 44475.0(Double), 01(String) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172296(Integer), 99(Integer), 3(Integer), 29900.0(Double), 0.0(Double), 29.9(Double), 2.1(Double), 52.4(Double), 578.8(Double), 30327.4(Double), 28.4(Double), 100.0(Double), 29600.0(Double), 48515.0(Double), 01(String) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172296(Integer), 99(Integer), 4(Integer), 30900.0(Double), 0.0(Double), 30.9(Double), 2.4(Double), 53.2(Double), 580.0(Double), 30854.2(Double), 25.4(Double), 100.0(Double), 33800.0(Double), 49395.0(Double), 01(String) [09:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 2022-10-19(String), 09(String), 05(String), 200.3(Float), 207.9(Float), 0.5(Float), 358080.3(Float), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172297(Integer), 128(Integer), 1(Integer), 44761.0(Double), 599.8(Double), 0.0(Double), -0.0(Double), 66.7(Double), 679.6(Double), 45322.5(Double), 26.1(Double), 645.4(Double), 45470.0(Double), 79716.2(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172297(Integer), 128(Integer), 2(Integer), 43796.0(Double), 599.8(Double), 0.0(Double), 0.0(Double), 66.6(Double), 667.6(Double), 44460.5(Double), 25.4(Double), 10.0(Double), 45370.0(Double), 79312.9(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172297(Integer), 128(Integer), 3(Integer), 44479.0(Double), 599.8(Double), 0.0(Double), 0.1(Double), 66.9(Double), 673.0(Double), 45040.5(Double), 24.5(Double), 10.0(Double), 46680.0(Double), 79446.6(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172297(Integer), 128(Integer), 4(Integer), 44409.0(Double), 599.8(Double), 0.0(Double), 0.1(Double), 66.4(Double), 679.3(Double), 45086.8(Double), 24.7(Double), 10.0(Double), 46520.0(Double), 78823.6(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172297(Integer), 128(Integer), 5(Integer), 22894.0(Double), 599.8(Double), 0.0(Double), -0.0(Double), 35.2(Double), 663.2(Double), 23318.1(Double), 32.6(Double), 645.4(Double), 23940.0(Double), 40780.9(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer), 2022-10-19(String), 09(String), 05(String), 47.6(Float), 35.5(Float), 0.4(Float), 110616.0(Float), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172298(Integer), 129(Integer), 1(Integer), 23961.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 110.0(Double), 576.0(Double), 63360.0(Double), 32.0(Double), 0.0(Double), 18900.0(Double), 58391.7(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172298(Integer), 129(Integer), 2(Integer), 23645.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 110.0(Double), 596.0(Double), 65560.0(Double), 34.0(Double), 0.0(Double), 16600.0(Double), 52224.3(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer), 2022-10-19(String), 09(String), 05(String), 50.4(Float), 90.7(Float), 0.6(Float), 176337.9(Float), 01(String) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172299(Integer), 127(Integer), 1(Integer), 26524.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 171.0(Double), 573.0(Double), 97983.0(Double), 29.0(Double), 0.0(Double), 30600.0(Double), 59160.5(Double), 01(String) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172299(Integer), 127(Integer), 2(Integer), 23924.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 111.0(Double), 628.0(Double), 69708.0(Double), 36.0(Double), 0.0(Double), 27500.0(Double), 54657.8(Double), 01(String) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172299(Integer), 127(Integer), 3(Integer), 0.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 32600.0(Double), 62519.6(Double), 01(String) [09:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer), 2022-10-19(String), 09(String), 05(String), 424.2(Float), 412.4(Float), 0.4(Float), 858225.0(Float), 01(String) [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172300(Integer), 102(Integer), 1(Integer), 327042.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 331.8(Double), 978.6(Double), 324699.5(Double), 28.5(Double), 84.1(Double), 314303.0(Double), 442612.0(Double), 01(String) [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172300(Integer), 102(Integer), 2(Integer), 97177.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 82.9(Double), 986.0(Double), 81739.4(Double), 20.8(Double), 95.0(Double), 98085.0(Double), 415613.0(Double), 01(String) [09:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer), 2022-10-19(String), 09(String), 05(String), 446.3(Float), 470.1(Float), 0.5(Float), 898060.0(Float), 01(String) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172301(Integer), 101(Integer), 1(Integer), 358583.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 362.7(Double), 978.2(Double), 354793.2(Double), 31.3(Double), 86.7(Double), 400955.0(Double), 462924.0(Double), 01(String) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172301(Integer), 101(Integer), 2(Integer), 87722.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 73.0(Double), 1016.0(Double), 74168.0(Double), 19.9(Double), 91.1(Double), 69097.0(Double), 435136.0(Double), 01(String) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer), 2022-10-19(String), 09(String), 05(String), 82.6(Float), 89.5(Float), 0.6(Float), 92473.8(Float), 01(String) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172302(Integer), 131(Integer), 1(Integer), 29710.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 188.0(Double), 602.0(Double), 113176.0(Double), 41.0(Double), 0.0(Double), 32800.0(Double), 32570.5(Double), 01(String) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172302(Integer), 131(Integer), 2(Integer), 25417.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 121.0(Double), 601.0(Double), 72721.0(Double), 41.0(Double), 0.0(Double), 27500.0(Double), 28903.4(Double), 01(String) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172302(Integer), 131(Integer), 3(Integer), 27471.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 181.0(Double), 558.0(Double), 100998.0(Double), 37.0(Double), 0.0(Double), 29300.0(Double), 31000.0(Double), 01(String) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer), 2022-10-19(String), 09(String), 05(String), 480.1(Float), 605.3(Float), 0.6(Float), 974611.0(Float), 01(String) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172303(Integer), 121(Integer), 1(Integer), 387514.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 393.2(Double), 980.7(Double), 385611.3(Double), 29.9(Double), 100.0(Double), 497415.0(Double), 501261.0(Double), 01(String) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172303(Integer), 121(Integer), 2(Integer), 92611.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 97.6(Double), 977.5(Double), 95404.0(Double), 19.4(Double), 99.9(Double), 107889.0(Double), 473350.0(Double), 01(String) [09:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer), 2022-10-19(String), 09(String), 05(String), 391.6(Float), 422.7(Float), 0.4(Float), 961680.0(Float), 01(String) [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172304(Integer), 112(Integer), 1(Integer), 296176.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 290.3(Double), 1017.2(Double), 295293.2(Double), 26.3(Double), 84.6(Double), 308865.0(Double), 494127.0(Double), 01(String) [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172304(Integer), 112(Integer), 2(Integer), 95442.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 96.9(Double), 993.3(Double), 96250.8(Double), 19.3(Double), 95.9(Double), 113824.0(Double), 467553.0(Double), 01(String) [09:05:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 09(String), 05(String), 429.2(Float), 415.1(Float), 0.5(Float), 1730476.0(Float), 01(String) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 1(Integer), 26800.0(Double), 0.0(Double), 26.8(Double), 0.0(Double), 34.1(Double), 577.4(Double), 19690.5(Double), 19.9(Double), 0.0(Double), 24500.0(Double), 103348.0(Double), 01(String) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 2(Integer), 29442.0(Double), 0.0(Double), 29.4(Double), 0.0(Double), 34.7(Double), 636.1(Double), 22073.8(Double), 22.0(Double), 0.0(Double), 35600.0(Double), 117501.0(Double), 01(String) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 3(Integer), 28967.0(Double), 0.0(Double), 29.0(Double), 0.0(Double), 34.4(Double), 635.0(Double), 21844.0(Double), 20.2(Double), 0.0(Double), 30200.0(Double), 105085.0(Double), 01(String) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 4(Integer), 29571.0(Double), 0.0(Double), 29.6(Double), 0.0(Double), 35.5(Double), 626.0(Double), 22221.8(Double), 21.9(Double), 0.0(Double), 34600.0(Double), 108780.0(Double), 01(String) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 5(Integer), 30197.0(Double), 0.0(Double), 30.2(Double), 0.0(Double), 36.1(Double), 629.5(Double), 22723.7(Double), 23.5(Double), 0.0(Double), 36500.0(Double), 119699.0(Double), 01(String) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 6(Integer), 30594.0(Double), 0.0(Double), 30.6(Double), 0.0(Double), 36.3(Double), 631.9(Double), 22939.2(Double), 21.6(Double), 0.0(Double), 38000.0(Double), 119698.0(Double), 01(String) [09:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 7(Integer), 28934.0(Double), 0.0(Double), 28.9(Double), 0.0(Double), 34.5(Double), 633.6(Double), 21859.2(Double), 21.0(Double), 0.0(Double), 33700.0(Double), 100837.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 8(Integer), 29054.0(Double), 0.0(Double), 29.1(Double), 0.0(Double), 34.1(Double), 638.9(Double), 21787.6(Double), 19.7(Double), 0.0(Double), 23200.0(Double), 112187.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 9(Integer), 1309.0(Double), 0.0(Double), 1.3(Double), 0.0(Double), 1.5(Double), 682.9(Double), 1024.4(Double), 11.9(Double), 0.0(Double), 1300.0(Double), 94774.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 10(Integer), 29938.0(Double), 0.0(Double), 29.9(Double), 0.0(Double), 35.7(Double), 636.8(Double), 22734.9(Double), 19.0(Double), 0.0(Double), 19100.0(Double), 113962.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 11(Integer), 30110.0(Double), 0.0(Double), 30.1(Double), 0.0(Double), 35.8(Double), 635.6(Double), 22753.3(Double), 18.3(Double), 0.0(Double), 21900.0(Double), 114409.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 12(Integer), 30675.0(Double), 0.0(Double), 30.7(Double), 0.0(Double), 36.4(Double), 632.7(Double), 23029.1(Double), 20.4(Double), 0.0(Double), 25000.0(Double), 116143.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 13(Integer), 28804.0(Double), 0.0(Double), 28.8(Double), 0.0(Double), 34.2(Double), 630.6(Double), 21566.5(Double), 18.2(Double), 0.0(Double), 18600.0(Double), 116136.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 14(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 15(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 16(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 17(Integer), 26879.0(Double), 0.0(Double), 26.9(Double), 0.0(Double), 30.5(Double), 629.6(Double), 19201.8(Double), 20.4(Double), 0.0(Double), 28000.0(Double), 105036.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 18(Integer), 18602.0(Double), 0.0(Double), 18.6(Double), 0.0(Double), 29.8(Double), 624.7(Double), 18616.1(Double), 17.3(Double), 0.0(Double), 14700.0(Double), 70756.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172305(Integer), 92(Integer), 19(Integer), 29329.0(Double), 0.0(Double), 29.3(Double), 0.0(Double), 34.8(Double), 635.8(Double), 22127.0(Double), 21.6(Double), 0.0(Double), 30200.0(Double), 112125.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 09(String), 05(String), 557.7(Float), 649.8(Float), 0.7(Float), 2200208.0(Float), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 1(Integer), 30270.0(Double), 0.0(Double), 30.3(Double), 0.0(Double), 36.3(Double), 630.5(Double), 22885.9(Double), 22.1(Double), 0.0(Double), 37400.0(Double), 108766.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 2(Integer), 29559.0(Double), 0.0(Double), 29.6(Double), 0.0(Double), 35.7(Double), 627.8(Double), 22412.5(Double), 22.2(Double), 0.0(Double), 36200.0(Double), 119132.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 3(Integer), 28642.0(Double), 0.0(Double), 28.6(Double), 0.0(Double), 34.0(Double), 634.2(Double), 21561.7(Double), 21.2(Double), 0.0(Double), 34900.0(Double), 105065.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 4(Integer), 29140.0(Double), 0.0(Double), 29.1(Double), 0.0(Double), 35.0(Double), 627.1(Double), 21949.7(Double), 22.5(Double), 0.0(Double), 35900.0(Double), 117896.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 5(Integer), 28808.0(Double), 0.0(Double), 28.8(Double), 0.0(Double), 34.2(Double), 629.9(Double), 21541.4(Double), 21.7(Double), 0.0(Double), 35000.0(Double), 105519.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 6(Integer), 29163.0(Double), 0.0(Double), 29.2(Double), 0.0(Double), 34.5(Double), 632.8(Double), 21830.4(Double), 23.0(Double), 0.0(Double), 35800.0(Double), 120935.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 7(Integer), 29281.0(Double), 0.0(Double), 29.3(Double), 0.0(Double), 35.1(Double), 626.8(Double), 22000.7(Double), 24.4(Double), 0.0(Double), 36000.0(Double), 119046.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 8(Integer), 29287.0(Double), 0.0(Double), 29.3(Double), 0.0(Double), 35.2(Double), 628.3(Double), 22116.2(Double), 23.5(Double), 0.0(Double), 36000.0(Double), 107365.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 9(Integer), 29053.0(Double), 0.0(Double), 29.1(Double), 0.0(Double), 34.6(Double), 631.5(Double), 21851.1(Double), 21.5(Double), 0.0(Double), 35300.0(Double), 118396.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 10(Integer), 27324.0(Double), 0.0(Double), 27.3(Double), 0.0(Double), 32.1(Double), 633.9(Double), 20349.3(Double), 21.5(Double), 0.0(Double), 32400.0(Double), 95661.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 11(Integer), 27332.0(Double), 0.0(Double), 27.3(Double), 0.0(Double), 32.9(Double), 627.7(Double), 20651.3(Double), 21.3(Double), 0.0(Double), 32200.0(Double), 115341.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 12(Integer), 25538.0(Double), 0.0(Double), 25.5(Double), 0.0(Double), 30.0(Double), 639.4(Double), 19182.0(Double), 21.2(Double), 0.0(Double), 29400.0(Double), 95003.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 13(Integer), 26202.0(Double), 0.0(Double), 26.2(Double), 0.0(Double), 30.8(Double), 637.8(Double), 19645.3(Double), 21.3(Double), 0.0(Double), 30600.0(Double), 113856.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 14(Integer), 25241.0(Double), 0.0(Double), 25.2(Double), 0.0(Double), 29.6(Double), 640.3(Double), 18952.9(Double), 22.0(Double), 0.0(Double), 28700.0(Double), 109314.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 15(Integer), 25156.0(Double), 0.0(Double), 25.2(Double), 0.0(Double), 29.7(Double), 644.2(Double), 19132.7(Double), 22.5(Double), 0.0(Double), 27200.0(Double), 97700.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 16(Integer), 29540.0(Double), 0.0(Double), 29.5(Double), 0.0(Double), 35.2(Double), 627.0(Double), 22070.4(Double), 21.0(Double), 0.0(Double), 29200.0(Double), 117408.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 17(Integer), 28984.0(Double), 0.0(Double), 29.0(Double), 0.0(Double), 34.9(Double), 622.2(Double), 21715.9(Double), 20.7(Double), 0.0(Double), 28900.0(Double), 114747.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 18(Integer), 24276.0(Double), 0.0(Double), 24.3(Double), 0.0(Double), 27.5(Double), 628.8(Double), 17292.0(Double), 21.2(Double), 0.0(Double), 25500.0(Double), 99052.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 19(Integer), 24864.0(Double), 0.0(Double), 24.9(Double), 0.0(Double), 29.1(Double), 622.6(Double), 18116.7(Double), 21.0(Double), 0.0(Double), 26800.0(Double), 98505.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172306(Integer), 93(Integer), 20(Integer), 30012.0(Double), 0.0(Double), 30.0(Double), 0.0(Double), 35.9(Double), 635.4(Double), 22810.9(Double), 22.3(Double), 0.0(Double), 36400.0(Double), 121501.0(Double), 01(String) [09:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer), 2022-10-19(String), 09(String), 05(String), 497.0(Float), 544.1(Float), 0.5(Float), 943799.0(Float), 01(String) [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172307(Integer), 107(Integer), 1(Integer), 380696.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 374.9(Double), 1011.1(Double), 379061.4(Double), 32.9(Double), 85.2(Double), 399573.0(Double), 485894.0(Double), 01(String) [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172307(Integer), 107(Integer), 2(Integer), 116277.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 114.4(Double), 1015.4(Double), 116161.8(Double), 22.0(Double), 95.2(Double), 144536.0(Double), 457905.0(Double), 01(String) [09:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer), 2022-10-19(String), 09(String), 05(String), 251.9(Float), 327.6(Float), 0.4(Float), 724521.0(Float), 01(String) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172308(Integer), 110(Integer), 1(Integer), 213617.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 212.5(Double), 1001.8(Double), 212882.5(Double), 19.9(Double), 84.6(Double), 275996.0(Double), 374855.0(Double), 01(String) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172308(Integer), 110(Integer), 2(Integer), 38318.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 39.5(Double), 965.4(Double), 38133.3(Double), 35.7(Double), 95.1(Double), 51616.0(Double), 349666.0(Double), 01(String) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer), 2022-10-19(String), 09(String), 05(String), 454.1(Float), 569.4(Float), 0.6(Float), 923051.0(Float), 01(String) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172309(Integer), 122(Integer), 1(Integer), 366871.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 368.0(Double), 1005.2(Double), 369913.6(Double), 33.0(Double), 91.3(Double), 468351.0(Double), 475218.0(Double), 01(String) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172309(Integer), 122(Integer), 2(Integer), 87182.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 88.0(Double), 1024.9(Double), 90191.2(Double), 21.0(Double), 96.1(Double), 101033.0(Double), 447833.0(Double), 01(String) [09:05:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:07:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [09:07:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [09:07:35] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:07:37] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:07:37] [DEBUG] controller.JsonController - ------------------------------------- [09:07:37] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [09:07:37] [DEBUG] controller.JsonController - ------------------------------------- [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [09:07:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:09:48] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 250 [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:09:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"9.5","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"8.9","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"8.9","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"7.5","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"9.1","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"6.1","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"1.5","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"8.7","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"8.3","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"-1.5","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.2","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"86","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"0.3","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"6.1","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"7.3","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"0.4","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"1.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.2","cloud":"7","weatherCode":"01750250"},{"plantSeq":"78","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"1.4","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"0.0","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"-1.0","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"5.0","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"9.3","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"12.4","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"5.1","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"-0.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"0.3","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"9.0","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"-0.3","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"3.3","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"-0.1","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"0.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"5.6","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"4.2","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"1.4","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"5.5","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"15","temp":"5.4","cloud":"5","weatherCode":"12770380"},{"plantSeq":"14","temp":"11.4","cloud":"5","weatherCode":"12890320"},{"plantSeq":"13","temp":"-1.4","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"08"} [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [09:09:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 42 [09:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:09:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 117 [09:13:21] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:13:26] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:13:26] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [09:13:26] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:26] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:13:26] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [09:13:26] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:13:26] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [09:13:26] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:13:26] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [09:13:26] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [09:13:26] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:13:26] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : GSNGsolar, mappingList.size : 2 [09:13:26] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:13:26] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), D65B67E7B99B3087C5F2372AA30E98A3(String), PHONE(String) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:13:26] [DEBUG] controller.EssController - ----------------------------------------------- [09:13:26] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [09:13:26] [DEBUG] controller.EssController - ----------------------------------------------- [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-18(String), 85(Integer), 0(Integer), 2022-10-17(String), 85(Integer), 0(Integer), 2022-10-19(String), 78294(Integer) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-19(String), 85(Integer), 2022-10-19(String), 85(Integer) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:13:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-05(String) [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-10-19(String), 85(Integer), 0(Integer), 2022-10-19(String) [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-10-19(String), 85(Integer), 1(Integer), 2022-10-19(String) [09:13:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:17:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [09:17:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [09:17:35] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:17:36] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [09:17:36] [DEBUG] controller.JsonController - ------------------------------------- [09:17:36] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [09:17:36] [DEBUG] controller.JsonController - ------------------------------------- [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [09:17:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [09:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [09:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [09:19:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [09:19:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:19:47] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 265 [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:19:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [09:19:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 42 [09:19:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:19:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:19:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 117 [09:27:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:27:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [09:27:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [09:27:35] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 32 [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:27:37] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [09:27:37] [DEBUG] controller.JsonController - ------------------------------------- [09:27:37] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [09:27:37] [DEBUG] controller.JsonController - ------------------------------------- [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [09:27:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer) [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:28:18] [DEBUG] controller.RestAPIController - callPmsFault :: [25] [175.206.127.8] 평창지동리중 is Fault PUSH [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 1(Integer), 78295(Integer), 2022-10-19(String), 09(String), 28(String), 6951963(Long), 6791038(Long), 11023(Long), 0(Integer), 40830(Integer), 103(Integer), 5147(Integer), 106(Integer), 0(Integer), 0(Integer), 0(Integer), 11179(Integer), 0(Integer), 11023(Integer), 3948(Integer), 20(Integer), 13(Integer), 41(Integer), 912(Integer), 0(Integer), 6857(Integer), 0(Integer), 240(Integer), 177(Integer), 3482(Integer), 3451(Integer), 0(Integer), 0(Integer), 0(Integer), 136(Integer), 512(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 252(Integer), 208(Integer), 212(Integer), 0(Integer), 0(Integer), 290(Integer), 397(Integer), 400(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 20(String), 25(Integer) [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_cs ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHms, csType, procType, procStatus, procMemo, pcsFaultStr, batteryFaultStr, updateId, updateDatetime, createId, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now(), ?, now() ) [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 1(Integer), 78295(Integer), 2022-10-19(String), 09:28:01(String), 20(String), 20(String), 10(String), PMS FAULT PUSH(String), 512,0,0,0(String), 0,0,0,0(String), PUSH(String), PUSH(String) [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 0(Integer), 78295(Integer), 2022-10-19(String), 09(String), 28(String), 6951963(Long), 6791038(Long), 11023(Long), 0(Integer), 40830(Integer), 103(Integer), 5147(Integer), 106(Integer), 0(Integer), 0(Integer), 0(Integer), 11179(Integer), 0(Integer), 11023(Integer), 3948(Integer), 20(Integer), 13(Integer), 41(Integer), 912(Integer), 0(Integer), 6857(Integer), 0(Integer), 240(Integer), 177(Integer), 3482(Integer), 3451(Integer), 0(Integer), 0(Integer), 0(Integer), 136(Integer), 512(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 252(Integer), 208(Integer), 212(Integer), 0(Integer), 0(Integer), 290(Integer), 397(Integer), 400(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [09:28:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:28:18] [DEBUG] controller.RestAPIController - [25] smsMessage : 평창지동리중 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: NOT ENOUGH MONEY !! [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:29:48] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 297 [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:29:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [09:29:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 42 [09:29:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:29:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:29:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 117 [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer), 2022-10-19(String), 09(String), 34(String), 509.4(Float), 747.0(Float), 0.7(Float), 831265.0(Float), 01(String) [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172320(Integer), 106(Integer), 1(Integer), 393707.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 400.4(Double), 963.5(Double), 385785.4(Double), 36.4(Double), 87.5(Double), 571240.0(Double), 428159.0(Double), 01(String) [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172320(Integer), 106(Integer), 2(Integer), 115667.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 121.3(Double), 961.8(Double), 116666.3(Double), 27.7(Double), 92.9(Double), 175775.0(Double), 403106.0(Double), 01(String) [09:34:44] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer) [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer), 2022-10-19(String), 09(String), 34(String), 80.7(Float), 69.8(Float), 0.4(Float), 19931.0(Float), 01(String) [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer) [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172321(Integer), 134(Integer), 1(Integer), 37900.0(Double), 0.0(Double), 37.9(Double), 0.0(Double), 18.6(Double), 612.3(Double), 11388.2(Double), 31.1(Double), 6455.6(Double), 31700.0(Double), 10076.0(Double), 01(String) [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172321(Integer), 134(Integer), 2(Integer), 42800.0(Double), 0.0(Double), 42.8(Double), 0.0(Double), 23.2(Double), 581.9(Double), 13499.3(Double), 30.1(Double), 6455.6(Double), 38100.0(Double), 9855.0(Double), 01(String) [09:34:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer), 2022-10-19(String), 09(String), 34(String), 463.0(Float), 595.8(Float), 0.6(Float), 943731.0(Float), 01(String) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer), 2022-10-19(String), 09(String), 34(String), 497.5(Float), 712.3(Float), 0.7(Float), 907636.0(Float), 01(String) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172322(Integer), 113(Integer), 1(Integer), 361612.0(Double), 60.4(Double), 0.0(Double), 0.0(Double), 364.8(Double), 987.8(Double), 360349.4(Double), 33.4(Double), 85.8(Double), 476108.0(Double), 484091.0(Double), 01(String) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172323(Integer), 126(Integer), 1(Integer), 376604.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 393.6(Double), 973.2(Double), 383051.5(Double), 42.1(Double), 100.0(Double), 531684.0(Double), 466458.0(Double), 01(String) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172322(Integer), 113(Integer), 2(Integer), 101392.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 101.7(Double), 1002.4(Double), 101944.1(Double), 21.8(Double), 92.8(Double), 119681.0(Double), 459640.0(Double), 01(String) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172323(Integer), 126(Integer), 2(Integer), 120928.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 123.6(Double), 979.0(Double), 121004.4(Double), 36.8(Double), 99.9(Double), 180579.0(Double), 441178.0(Double), 01(String) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer), 2022-10-19(String), 09(String), 34(String), 532.0(Float), 641.0(Float), 0.6(Float), 945412.0(Float), 01(String) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [09:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172324(Integer), 111(Integer), 1(Integer), 419164.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 455.9(Double), 987.3(Double), 450110.1(Double), 35.2(Double), 85.4(Double), 494329.0(Double), 668763.0(Double), 01(String) [09:34:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172324(Integer), 111(Integer), 2(Integer), 112862.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 114.8(Double), 979.1(Double), 112400.7(Double), 21.3(Double), 93.5(Double), 146719.0(Double), 276649.0(Double), 01(String) [09:34:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer), 2022-10-19(String), 09(String), 34(String), 543.7(Float), 636.3(Float), 0.6(Float), 954749.0(Float), 01(String) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172325(Integer), 105(Integer), 1(Integer), 429747.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 425.5(Double), 986.1(Double), 419585.5(Double), 35.2(Double), 100.0(Double), 466032.0(Double), 489791.0(Double), 01(String) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172325(Integer), 105(Integer), 2(Integer), 113944.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 101.0(Double), 1012.9(Double), 102302.9(Double), 25.4(Double), 100.0(Double), 170315.0(Double), 464958.0(Double), 01(String) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer), 2022-10-19(String), 09(String), 34(String), 532.8(Float), 629.7(Float), 0.6(Float), 926206.0(Float), 01(String) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172326(Integer), 104(Integer), 1(Integer), 417559.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 428.8(Double), 991.8(Double), 425283.8(Double), 35.2(Double), 100.0(Double), 512793.0(Double), 474966.0(Double), 01(String) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172326(Integer), 104(Integer), 2(Integer), 115255.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 114.0(Double), 996.2(Double), 113566.8(Double), 28.0(Double), 100.0(Double), 116883.0(Double), 451240.0(Double), 01(String) [09:34:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer), 2022-10-19(String), 09(String), 34(String), 81.5(Float), 102.3(Float), 0.7(Float), 89277.2(Float), 01(String) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172327(Integer), 132(Integer), 1(Integer), 32819.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 181.0(Double), 581.0(Double), 105161.0(Double), 39.0(Double), 0.0(Double), 46700.0(Double), 30639.5(Double), 01(String) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172327(Integer), 132(Integer), 2(Integer), 22253.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 115.0(Double), 595.0(Double), 68425.0(Double), 41.0(Double), 0.0(Double), 23100.0(Double), 29776.9(Double), 01(String) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172327(Integer), 132(Integer), 3(Integer), 26392.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 146.0(Double), 574.0(Double), 83804.0(Double), 38.0(Double), 0.0(Double), 32500.0(Double), 28860.8(Double), 01(String) [09:34:58] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer), 2022-10-19(String), 09(String), 34(String), 480.8(Float), 513.6(Float), 0.5(Float), 940157.0(Float), 01(String) [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172328(Integer), 109(Integer), 1(Integer), 406858.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 426.7(Double), 950.5(Double), 405578.4(Double), 34.7(Double), 91.2(Double), 367254.0(Double), 483300.0(Double), 01(String) [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172328(Integer), 109(Integer), 2(Integer), 73991.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 80.5(Double), 934.8(Double), 75251.4(Double), 18.6(Double), 95.3(Double), 146372.0(Double), 456857.0(Double), 01(String) [09:34:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer), 2022-10-19(String), 09(String), 35(String), 526.5(Float), 755.8(Float), 0.8(Float), 936580.0(Float), 01(String) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172329(Integer), 120(Integer), 1(Integer), 407266.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 419.0(Double), 970.3(Double), 406555.7(Double), 33.4(Double), 100.0(Double), 559582.0(Double), 481328.0(Double), 01(String) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172329(Integer), 120(Integer), 2(Integer), 119186.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 121.3(Double), 977.8(Double), 118607.1(Double), 24.1(Double), 100.0(Double), 196258.0(Double), 455252.0(Double), 01(String) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer), 2022-10-19(String), 09(String), 35(String), 562.1(Float), 666.1(Float), 0.7(Float), 970550.0(Float), 01(String) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172330(Integer), 103(Integer), 1(Integer), 439483.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 454.1(Double), 981.0(Double), 445472.1(Double), 36.5(Double), 85.2(Double), 555624.0(Double), 499480.0(Double), 01(String) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172330(Integer), 103(Integer), 2(Integer), 122637.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 108.9(Double), 1009.8(Double), 109967.2(Double), 25.4(Double), 92.1(Double), 110504.0(Double), 471070.0(Double), 01(String) [09:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer), 2022-10-19(String), 09(String), 35(String), 496.2(Float), 634.5(Float), 0.6(Float), 897610.0(Float), 01(String) [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172331(Integer), 108(Integer), 1(Integer), 394163.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 403.5(Double), 988.9(Double), 399021.2(Double), 45.0(Double), 86.4(Double), 523824.0(Double), 462125.0(Double), 01(String) [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172331(Integer), 108(Integer), 2(Integer), 102047.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 90.8(Double), 997.6(Double), 90582.1(Double), 32.7(Double), 95.7(Double), 110680.0(Double), 435485.0(Double), 01(String) [09:35:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-10-19(String), 09(String), 35(String), 136.1(Float), 204.2(Float), 1.0(Float), 186301.0(Float), 01(String) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172332(Integer), 99(Integer), 1(Integer), 33900.0(Double), 0.0(Double), 33.9(Double), 1.9(Double), 60.5(Double), 563.7(Double), 34105.9(Double), 37.9(Double), 100.0(Double), 53900.0(Double), 43867.0(Double), 01(String) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172332(Integer), 99(Integer), 2(Integer), 34600.0(Double), 0.0(Double), 34.6(Double), 2.3(Double), 61.0(Double), 569.8(Double), 34759.8(Double), 35.6(Double), 100.0(Double), 54900.0(Double), 44492.0(Double), 01(String) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172332(Integer), 99(Integer), 3(Integer), 33300.0(Double), 0.0(Double), 33.3(Double), 2.1(Double), 59.3(Double), 566.4(Double), 33589.5(Double), 31.3(Double), 100.0(Double), 45300.0(Double), 48531.0(Double), 01(String) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172332(Integer), 99(Integer), 4(Integer), 34300.0(Double), 0.0(Double), 34.3(Double), 2.3(Double), 60.1(Double), 571.4(Double), 34339.1(Double), 27.9(Double), 100.0(Double), 50100.0(Double), 49411.0(Double), 01(String) [09:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 2022-10-19(String), 09(String), 35(String), 240.8(Float), 318.3(Float), 0.7(Float), 358190.6(Float), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172333(Integer), 128(Integer), 1(Integer), 53503.0(Double), 599.8(Double), 0.0(Double), -0.0(Double), 80.8(Double), 671.0(Double), 54192.6(Double), 29.9(Double), 645.4(Double), 69920.0(Double), 79740.7(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172333(Integer), 128(Integer), 2(Integer), 53259.0(Double), 599.8(Double), 0.0(Double), -0.0(Double), 80.7(Double), 669.1(Double), 53961.9(Double), 29.1(Double), 645.4(Double), 69720.0(Double), 79337.3(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172333(Integer), 128(Integer), 3(Integer), 53274.0(Double), 599.7(Double), 0.0(Double), -0.0(Double), 80.8(Double), 668.0(Double), 54003.1(Double), 27.1(Double), 645.4(Double), 71140.0(Double), 79471.1(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172333(Integer), 128(Integer), 4(Integer), 53245.0(Double), 599.8(Double), 0.0(Double), -0.0(Double), 80.4(Double), 673.2(Double), 54148.2(Double), 28.0(Double), 645.4(Double), 70950.0(Double), 78848.0(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172333(Integer), 128(Integer), 5(Integer), 27504.0(Double), 599.7(Double), 0.0(Double), -0.0(Double), 42.7(Double), 657.4(Double), 28068.8(Double), 34.8(Double), 645.4(Double), 36530.0(Double), 40793.5(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer), 2022-10-19(String), 09(String), 35(String), 61.7(Float), 63.7(Float), 0.6(Float), 110644.2(Float), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172334(Integer), 129(Integer), 1(Integer), 31477.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 133.0(Double), 555.0(Double), 73815.0(Double), 32.0(Double), 0.0(Double), 33100.0(Double), 58405.9(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172334(Integer), 129(Integer), 2(Integer), 30258.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 135.0(Double), 588.0(Double), 79380.0(Double), 31.0(Double), 0.0(Double), 30600.0(Double), 52238.3(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer), 2022-10-19(String), 09(String), 35(String), 90.0(Float), 133.1(Float), 0.9(Float), 176380.3(Float), 01(String) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172335(Integer), 127(Integer), 1(Integer), 30198.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 206.0(Double), 557.0(Double), 114742.0(Double), 32.0(Double), 0.0(Double), 44900.0(Double), 59174.8(Double), 01(String) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172335(Integer), 127(Integer), 2(Integer), 27607.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 133.0(Double), 616.0(Double), 81928.0(Double), 36.0(Double), 0.0(Double), 40400.0(Double), 54670.7(Double), 01(String) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172335(Integer), 127(Integer), 3(Integer), 32232.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 206.0(Double), 607.0(Double), 125042.0(Double), 32.0(Double), 0.0(Double), 47800.0(Double), 62534.8(Double), 01(String) [09:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer), 2022-10-19(String), 09(String), 35(String), 556.0(Float), 663.4(Float), 0.7(Float), 858475.0(Float), 01(String) [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172336(Integer), 102(Integer), 1(Integer), 432783.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 442.1(Double), 981.6(Double), 433965.3(Double), 35.8(Double), 85.2(Double), 509097.0(Double), 442806.0(Double), 01(String) [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172336(Integer), 102(Integer), 2(Integer), 123244.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 107.3(Double), 992.3(Double), 106473.8(Double), 25.1(Double), 93.3(Double), 154309.0(Double), 415669.0(Double), 01(String) [09:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer), 2022-10-19(String), 09(String), 35(String), 553.2(Float), 724.1(Float), 0.7(Float), 898314.0(Float), 01(String) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172337(Integer), 101(Integer), 1(Integer), 431030.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 431.2(Double), 979.2(Double), 422231.1(Double), 36.1(Double), 85.8(Double), 600875.0(Double), 463124.0(Double), 01(String) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172337(Integer), 101(Integer), 2(Integer), 122128.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 109.7(Double), 973.6(Double), 106803.9(Double), 24.6(Double), 94.9(Double), 123254.0(Double), 435190.0(Double), 01(String) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer), 2022-10-19(String), 09(String), 35(String), 93.4(Float), 133.6(Float), 0.9(Float), 92517.9(Float), 01(String) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172338(Integer), 131(Integer), 1(Integer), 33617.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 216.0(Double), 606.0(Double), 130896.0(Double), 34.0(Double), 0.0(Double), 48700.0(Double), 32586.4(Double), 01(String) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172338(Integer), 131(Integer), 2(Integer), 28732.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 136.0(Double), 606.0(Double), 82416.0(Double), 33.0(Double), 0.0(Double), 41000.0(Double), 28916.9(Double), 01(String) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172338(Integer), 131(Integer), 3(Integer), 31036.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 210.0(Double), 544.0(Double), 114240.0(Double), 29.0(Double), 0.0(Double), 44000.0(Double), 31014.7(Double), 01(String) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer), 2022-10-19(String), 09(String), 35(String), 541.6(Float), 861.2(Float), 0.9(Float), 974867.0(Float), 01(String) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172339(Integer), 121(Integer), 1(Integer), 434446.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 433.4(Double), 986.4(Double), 427505.8(Double), 33.0(Double), 100.0(Double), 703346.0(Double), 501467.0(Double), 01(String) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172339(Integer), 121(Integer), 2(Integer), 107116.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 106.8(Double), 971.2(Double), 103724.2(Double), 21.6(Double), 99.8(Double), 157859.0(Double), 473400.0(Double), 01(String) [09:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer), 2022-10-19(String), 09(String), 35(String), 466.2(Float), 637.4(Float), 0.7(Float), 961895.0(Float), 01(String) [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172340(Integer), 112(Integer), 1(Integer), 356693.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 356.4(Double), 995.1(Double), 354653.6(Double), 31.2(Double), 85.3(Double), 472384.0(Double), 494291.0(Double), 01(String) [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172340(Integer), 112(Integer), 2(Integer), 109485.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 113.5(Double), 983.5(Double), 111627.3(Double), 21.4(Double), 94.3(Double), 164999.0(Double), 467604.0(Double), 01(String) [09:35:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 09(String), 35(String), 464.0(Float), 655.7(Float), 0.7(Float), 1728969.0(Float), 01(String) [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 1(Integer), 32266.0(Double), 0.0(Double), 32.3(Double), 0.0(Double), 39.1(Double), 617.5(Double), 24145.6(Double), 24.0(Double), 0.0(Double), 39100.0(Double), 103362.0(Double), 01(String) [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 2(Integer), 32859.0(Double), 0.0(Double), 32.9(Double), 0.0(Double), 39.8(Double), 620.7(Double), 24702.5(Double), 25.0(Double), 0.0(Double), 51200.0(Double), 117516.0(Double), 01(String) [09:35:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 3(Integer), 32348.0(Double), 0.0(Double), 32.3(Double), 0.0(Double), 39.2(Double), 623.0(Double), 24422.9(Double), 24.1(Double), 0.0(Double), 45300.0(Double), 105101.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 4(Integer), -1.0(Double), 0.0(Double), -0.0(Double), 0.0(Double), 13726.4(Double), 2206.4(Double), 3.0286388E7(Double), 619.0(Double), 0.0(Double), 67700.0(Double), 108795.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 5(Integer), 33435.0(Double), 0.0(Double), 33.4(Double), 0.0(Double), 40.9(Double), 615.5(Double), 25172.6(Double), 26.7(Double), 0.0(Double), 52200.0(Double), 119715.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 6(Integer), 33674.0(Double), 0.0(Double), 33.7(Double), 0.0(Double), 41.4(Double), 611.0(Double), 25294.0(Double), 24.4(Double), 0.0(Double), 53900.0(Double), 119714.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 7(Integer), 32229.0(Double), 0.0(Double), 32.2(Double), 0.0(Double), 39.5(Double), 616.6(Double), 24357.0(Double), 24.3(Double), 0.0(Double), 48700.0(Double), 100852.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 8(Integer), 32495.0(Double), 0.0(Double), 32.5(Double), 0.0(Double), 39.5(Double), 622.0(Double), 24569.0(Double), 24.1(Double), 0.0(Double), 38400.0(Double), 112202.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 9(Integer), 19062.0(Double), 0.0(Double), 19.1(Double), 0.0(Double), 26.8(Double), 532.3(Double), 14265.6(Double), 14.9(Double), 0.0(Double), 5100.0(Double), 94778.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 10(Integer), 33373.0(Double), 0.0(Double), 33.4(Double), 0.0(Double), 40.7(Double), 621.3(Double), 25288.3(Double), 23.7(Double), 0.0(Double), 34600.0(Double), 113978.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 11(Integer), 33526.0(Double), 0.0(Double), 33.5(Double), 0.0(Double), 40.6(Double), 624.1(Double), 25339.8(Double), 23.3(Double), 0.0(Double), 37600.0(Double), 114425.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 12(Integer), 33949.0(Double), 0.0(Double), 33.9(Double), 0.0(Double), 41.2(Double), 618.9(Double), 25497.3(Double), 24.1(Double), 0.0(Double), 41000.0(Double), 116159.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 13(Integer), 31857.0(Double), 0.0(Double), 31.9(Double), 0.0(Double), 38.1(Double), 632.1(Double), 24084.3(Double), 20.8(Double), 0.0(Double), 29000.0(Double), 114416.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 14(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 15(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 16(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 17(Integer), 29711.0(Double), 0.0(Double), 29.7(Double), 0.0(Double), 34.6(Double), 613.6(Double), 21229.4(Double), 23.7(Double), 0.0(Double), 42000.0(Double), 105050.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 18(Integer), 20595.0(Double), 0.0(Double), 20.6(Double), 0.0(Double), 33.7(Double), 610.8(Double), 20585.1(Double), 20.6(Double), 0.0(Double), 24400.0(Double), 70766.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172341(Integer), 92(Integer), 19(Integer), 32622.0(Double), 0.0(Double), 32.6(Double), 0.0(Double), 40.0(Double), 615.0(Double), 24600.0(Double), 25.1(Double), 0.0(Double), 45500.0(Double), 112140.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 09(String), 35(String), 624.4(Float), 942.2(Float), 1.0(Float), 2200501.0(Float), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 1(Integer), 33302.0(Double), 0.0(Double), 33.3(Double), 0.0(Double), 40.8(Double), 617.0(Double), 25173.6(Double), 25.5(Double), 0.0(Double), 53200.0(Double), 108782.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 2(Integer), 32792.0(Double), 0.0(Double), 32.8(Double), 0.0(Double), 40.6(Double), 614.4(Double), 24946.0(Double), 25.7(Double), 0.0(Double), 51700.0(Double), 119148.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 3(Integer), 31943.0(Double), 0.0(Double), 31.9(Double), 0.0(Double), 39.2(Double), 612.7(Double), 24016.5(Double), 25.0(Double), 0.0(Double), 49900.0(Double), 105080.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 4(Integer), 32455.0(Double), 0.0(Double), 32.5(Double), 0.0(Double), 39.7(Double), 615.6(Double), 24440.6(Double), 25.8(Double), 0.0(Double), 51100.0(Double), 117911.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 5(Integer), 31961.0(Double), 0.0(Double), 32.0(Double), 0.0(Double), 39.2(Double), 613.0(Double), 24028.3(Double), 25.3(Double), 0.0(Double), 50000.0(Double), 105534.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 6(Integer), 32493.0(Double), 0.0(Double), 32.5(Double), 0.0(Double), 39.3(Double), 618.2(Double), 24296.6(Double), 26.3(Double), 0.0(Double), 51000.0(Double), 120950.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 7(Integer), 32513.0(Double), 0.0(Double), 32.5(Double), 0.0(Double), 39.8(Double), 614.5(Double), 24455.8(Double), 27.3(Double), 0.0(Double), 51200.0(Double), 119061.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 8(Integer), 32466.0(Double), 0.0(Double), 32.5(Double), 0.0(Double), 40.1(Double), 611.7(Double), 24530.5(Double), 27.0(Double), 0.0(Double), 51100.0(Double), 107380.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 9(Integer), 32425.0(Double), 0.0(Double), 32.4(Double), 0.0(Double), 39.5(Double), 617.6(Double), 24393.9(Double), 25.2(Double), 0.0(Double), 50400.0(Double), 118411.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 10(Integer), 29387.0(Double), 0.0(Double), 29.4(Double), 0.0(Double), 37.3(Double), 585.9(Double), 21852.8(Double), 24.8(Double), 0.0(Double), 46600.0(Double), 95675.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 11(Integer), 31014.0(Double), 0.0(Double), 31.0(Double), 0.0(Double), 37.8(Double), 618.2(Double), 23368.0(Double), 25.2(Double), 0.0(Double), 46700.0(Double), 115355.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 12(Integer), 29297.0(Double), 0.0(Double), 29.3(Double), 0.0(Double), 35.0(Double), 630.0(Double), 22051.2(Double), 25.5(Double), 0.0(Double), 42900.0(Double), 95017.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 13(Integer), 30006.0(Double), 0.0(Double), 30.0(Double), 0.0(Double), 36.4(Double), 620.0(Double), 22569.2(Double), 25.7(Double), 0.0(Double), 44500.0(Double), 113870.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 14(Integer), 29109.0(Double), 0.0(Double), 29.1(Double), 0.0(Double), 35.1(Double), 624.4(Double), 21915.3(Double), 25.9(Double), 0.0(Double), 42200.0(Double), 109328.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 15(Integer), 29976.0(Double), 0.0(Double), 30.0(Double), 0.0(Double), 37.0(Double), 622.3(Double), 23023.9(Double), 27.0(Double), 0.0(Double), 40900.0(Double), 97714.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 16(Integer), 32704.0(Double), 0.0(Double), 32.7(Double), 0.0(Double), 40.4(Double), 606.0(Double), 24483.7(Double), 25.2(Double), 0.0(Double), 44600.0(Double), 117423.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 17(Integer), 32364.0(Double), 0.0(Double), 32.4(Double), 0.0(Double), 39.4(Double), 615.9(Double), 24265.1(Double), 24.7(Double), 0.0(Double), 44100.0(Double), 114762.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 18(Integer), 27406.0(Double), 0.0(Double), 27.4(Double), 0.0(Double), 31.8(Double), 613.8(Double), 19519.9(Double), 24.9(Double), 0.0(Double), 38300.0(Double), 99065.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 19(Integer), 27635.0(Double), 0.0(Double), 27.6(Double), 0.0(Double), 32.7(Double), 612.1(Double), 20016.8(Double), 24.8(Double), 0.0(Double), 39700.0(Double), 98518.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172342(Integer), 93(Integer), 20(Integer), 33143.0(Double), 0.0(Double), 33.1(Double), 0.0(Double), 40.8(Double), 614.9(Double), 25089.3(Double), 25.9(Double), 0.0(Double), 52100.0(Double), 121517.0(Double), 01(String) [09:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer), 2022-10-19(String), 09(String), 35(String), 567.6(Float), 810.1(Float), 0.8(Float), 944065.0(Float), 01(String) [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172343(Integer), 107(Integer), 1(Integer), 438129.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 440.0(Double), 992.6(Double), 436744.0(Double), 37.5(Double), 85.3(Double), 604755.0(Double), 486099.0(Double), 01(String) [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172343(Integer), 107(Integer), 2(Integer), 130235.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 132.3(Double), 1002.4(Double), 132617.5(Double), 27.3(Double), 94.5(Double), 206357.0(Double), 457967.0(Double), 01(String) [09:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer), 2022-10-19(String), 09(String), 35(String), 303.3(Float), 466.5(Float), 0.6(Float), 724659.0(Float), 01(String) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172344(Integer), 110(Integer), 1(Integer), 274797.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 295.9(Double), 933.5(Double), 276222.7(Double), 23.7(Double), 85.6(Double), 393776.0(Double), 374972.0(Double), 01(String) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172344(Integer), 110(Integer), 2(Integer), 28502.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 30.4(Double), 929.3(Double), 28250.7(Double), 36.8(Double), 89.8(Double), 72705.0(Double), 349687.0(Double), 01(String) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer), 2022-10-19(String), 09(String), 35(String), 524.7(Float), 815.1(Float), 0.8(Float), 923297.0(Float), 01(String) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172345(Integer), 122(Integer), 1(Integer), 421276.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 434.8(Double), 966.7(Double), 420321.2(Double), 36.6(Double), 91.6(Double), 666310.0(Double), 475416.0(Double), 01(String) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172345(Integer), 122(Integer), 2(Integer), 103419.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 104.5(Double), 1008.7(Double), 105409.1(Double), 23.9(Double), 94.7(Double), 148741.0(Double), 447881.0(Double), 01(String) [09:35:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:37:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [09:37:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [09:37:36] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:37:37] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [09:37:37] [DEBUG] controller.JsonController - ------------------------------------- [09:37:37] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [09:37:37] [DEBUG] controller.JsonController - ------------------------------------- [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [09:37:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:39:48] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 282 [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:39:48] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [09:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:39:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [09:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [09:39:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 42 [09:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:39:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:39:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 99 [09:41:50] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:41:52] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:41:52] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :sdjoseon, login_channel : null [09:41:52] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sdjoseon(String) [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:41:52] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:41:52] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [09:41:52] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:41:52] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/solar/slide.co [09:41:52] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:41:52] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : sdjoseon [09:41:52] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [09:41:52] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sdjoseon(String) [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sdjoseon(String) [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [09:41:52] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : sdjoseon, mappingList.size : 20 [09:41:52] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:41:52] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[sdjoseon] roles roles [0]ROLE_01 [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sdjoseon(String), 01(String), 84F75DC7B37E3A1CDD36EDFFAB1E2C65(String), WEB(String) [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.plantStatus = ? and v.ivtStatus = ? and p.seq in ( 126, 125, 124, 123, 122, 121, 120, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101 ) ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) order by p.seq desc [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String) [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [09:41:52] [DEBUG] controller.SolarController - slide.selectListFront : 쿼리조회시간 : 31 [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [09:41:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' order by plantSeq asc, ivtIdx asc [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' order by plantSeq asc, ivtIdx asc [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 133 [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:41:53] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:41:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [09:41:53] [DEBUG] controller.JsonController - ------------------------------------- [09:41:53] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [09:41:53] [DEBUG] controller.JsonController - ------------------------------------- [09:47:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:47:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [09:47:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [09:47:37] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:47:38] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [09:47:38] [DEBUG] controller.JsonController - ------------------------------------- [09:47:38] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [09:47:38] [DEBUG] controller.JsonController - ------------------------------------- [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [09:47:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:49:49] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 282 [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:49:49] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [09:49:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 42 [09:49:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:49:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:49:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 99 [09:57:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:57:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [09:57:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [09:57:38] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:57:39] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [09:57:39] [DEBUG] controller.JsonController - ------------------------------------- [09:57:39] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [09:57:39] [DEBUG] controller.JsonController - ------------------------------------- [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [09:57:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:59:49] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 297 [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [09:59:49] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [09:59:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 42 [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 117 [10:03:17] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:03:19] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:03:19] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:03:20] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:03:20] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:03:20] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:03:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:03:21] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [10:03:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:03:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:03:21] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:03:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:03:21] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/data/plant/trand_list_stat.co?plantSeq=42&inputDate=2022-10-18&type=temp&pcsIdx=1 [10:03:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:03:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [10:03:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:03:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:03:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : gwangil, mappingList.size : 1 [10:03:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:03:21] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), 5A48D6F6B28759EEF088DD4FEA830E6F(String), PHONE(String) [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-10-18(String), 42(Integer), 1(Integer), 2022-10-18(String) [10:03:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 24 [10:03:21] [DEBUG] controller.EssController - ----------------------------------------------- [10:03:21] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [10:03:21] [DEBUG] controller.EssController - ----------------------------------------------- [10:03:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:03:25] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [10:03:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:03:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:03:25] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:03:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:03:25] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co;jsessionid=A20E114E365582D2AA9B588AAD66B75A [10:03:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:03:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [10:03:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:03:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:03:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : gwangil, mappingList.size : 1 [10:03:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:03:25] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), 0822A1F2BF7678D07D9E21DA45DCC15C(String), PHONE(String) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:03:25] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:03:25] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [10:03:25] [DEBUG] controller.SignController - /ess/view.co [10:03:25] [DEBUG] controller.SignController - ....................................... [10:03:25] [DEBUG] controller.EssController - ----------------------------------------------- [10:03:25] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 42, param.plantSeq : 0 [10:03:25] [DEBUG] controller.EssController - ----------------------------------------------- [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-10-19(String), 42(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-10-18(String), 42(Integer), 0(Integer), 2022-10-17(String), 42(Integer), 0(Integer), 2022-10-19(String), 78299(Integer) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-10-19(String), 42(Integer), 2022-10-19(String), 42(Integer) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-10-12(String), 2022-10-19(String), 0(Integer), 5(Integer) [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-10-05(String) [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-10-19(String), 2022-10-19(String) [10:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:03:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:03:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-10-19(String), 42(Integer), 0(Integer), 2022-10-19(String) [10:03:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:03:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:03:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-10-10(String), 2022-10-19(String) [10:03:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:03:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:03:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-10-19(String), 42(Integer), 1(Integer), 2022-10-19(String) [10:03:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer), 2022-10-19(String), 10(String), 04(String), 564.3(Float), 1015.3(Float), 1.0(Float), 831532.0(Float), 01(String) [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 106(Integer) [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172351(Integer), 106(Integer), 1(Integer), 437237.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 447.7(Double), 954.8(Double), 427464.0(Double), 40.1(Double), 85.6(Double), 779594.0(Double), 428367.0(Double), 01(String) [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172351(Integer), 106(Integer), 2(Integer), 127079.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 132.4(Double), 953.5(Double), 126243.4(Double), 30.3(Double), 93.1(Double), 236502.0(Double), 403166.0(Double), 01(String) [10:04:44] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer) [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer), 2022-10-19(String), 10(String), 04(String), 97.6(Float), 114.7(Float), 0.7(Float), 19977.0(Float), 01(String) [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 134(Integer) [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172352(Integer), 134(Integer), 1(Integer), 47100.0(Double), 0.0(Double), 47.1(Double), 0.4(Double), 24.0(Double), 609.4(Double), 14625.6(Double), 37.9(Double), 99.0(Double), 53100.0(Double), 10098.0(Double), 01(String) [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172352(Integer), 134(Integer), 2(Integer), 50500.0(Double), 0.0(Double), 50.5(Double), 6551.6(Double), 28.4(Double), 579.4(Double), 16455.0(Double), 35.3(Double), 6455.6(Double), 61600.0(Double), 9879.0(Double), 01(String) [10:04:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer), 2022-10-19(String), 10(String), 04(String), 527.9(Float), 843.4(Float), 0.8(Float), 943978.0(Float), 01(String) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 113(Integer) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172353(Integer), 113(Integer), 1(Integer), 410264.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 420.1(Double), 980.2(Double), 411782.0(Double), 36.7(Double), 85.7(Double), 669694.0(Double), 484284.0(Double), 01(String) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172353(Integer), 113(Integer), 2(Integer), 118144.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 118.9(Double), 985.1(Double), 117128.4(Double), 24.6(Double), 92.7(Double), 174634.0(Double), 459695.0(Double), 01(String) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer), 2022-10-19(String), 10(String), 04(String), 549.2(Float), 974.0(Float), 1.0(Float), 907898.0(Float), 01(String) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 126(Integer) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172354(Integer), 126(Integer), 1(Integer), 419237.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 434.9(Double), 972.3(Double), 422853.3(Double), 46.3(Double), 100.0(Double), 730733.0(Double), 466657.0(Double), 01(String) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172354(Integer), 126(Integer), 2(Integer), 129986.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 133.2(Double), 985.1(Double), 131215.3(Double), 38.1(Double), 99.9(Double), 243316.0(Double), 441241.0(Double), 01(String) [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:04:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer), 2022-10-19(String), 10(String), 04(String), 608.1(Float), 930.1(Float), 0.9(Float), 945701.0(Float), 01(String) [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 111(Integer) [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172355(Integer), 111(Integer), 1(Integer), 481060.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 528.0(Double), 973.5(Double), 514008.0(Double), 38.9(Double), 84.6(Double), 722647.0(Double), 668991.0(Double), 01(String) [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172355(Integer), 111(Integer), 2(Integer), 127059.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 131.2(Double), 970.1(Double), 127277.1(Double), 23.2(Double), 92.9(Double), 207436.0(Double), 276710.0(Double), 01(String) [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:04:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer), 2022-10-19(String), 10(String), 04(String), 600.3(Float), 924.0(Float), 0.9(Float), 955038.0(Float), 01(String) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 105(Integer) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172356(Integer), 105(Integer), 1(Integer), 473682.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 468.9(Double), 979.8(Double), 459428.2(Double), 37.5(Double), 99.9(Double), 693169.0(Double), 490019.0(Double), 01(String) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172356(Integer), 105(Integer), 2(Integer), 126652.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 117.1(Double), 989.3(Double), 115847.0(Double), 27.5(Double), 99.6(Double), 230871.0(Double), 465019.0(Double), 01(String) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer), 2022-10-19(String), 10(String), 04(String), 599.8(Float), 916.7(Float), 0.9(Float), 926493.0(Float), 01(String) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 104(Integer) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172357(Integer), 104(Integer), 1(Integer), 469745.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 486.9(Double), 985.8(Double), 479986.0(Double), 38.2(Double), 100.0(Double), 736847.0(Double), 475190.0(Double), 01(String) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172357(Integer), 104(Integer), 2(Integer), 130073.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 129.3(Double), 1004.7(Double), 129907.7(Double), 31.3(Double), 99.9(Double), 179825.0(Double), 451303.0(Double), 01(String) [10:04:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer), 2022-10-19(String), 10(String), 04(String), 95.5(Float), 146.5(Float), 0.9(Float), 89321.4(Float), 01(String) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 132(Integer) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172358(Integer), 132(Integer), 1(Integer), 37192.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 206.0(Double), 577.0(Double), 118862.0(Double), 36.0(Double), 0.0(Double), 64200.0(Double), 30657.0(Double), 01(String) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172358(Integer), 132(Integer), 2(Integer), 27460.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 144.0(Double), 589.0(Double), 84816.0(Double), 39.0(Double), 0.0(Double), 35500.0(Double), 29789.3(Double), 01(String) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172358(Integer), 132(Integer), 3(Integer), 30845.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 172.0(Double), 571.0(Double), 98212.0(Double), 33.0(Double), 0.0(Double), 46800.0(Double), 28875.1(Double), 01(String) [10:04:58] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer), 2022-10-19(String), 10(String), 04(String), 623.6(Float), 792.1(Float), 0.8(Float), 940436.0(Float), 01(String) [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 109(Integer) [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172359(Integer), 109(Integer), 1(Integer), 494816.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 503.8(Double), 971.5(Double), 489441.7(Double), 38.5(Double), 85.2(Double), 596183.0(Double), 483529.0(Double), 01(String) [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172359(Integer), 109(Integer), 2(Integer), 128812.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 133.3(Double), 971.4(Double), 129487.6(Double), 24.0(Double), 94.2(Double), 195918.0(Double), 456907.0(Double), 01(String) [10:04:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer), 2022-10-19(String), 10(String), 05(String), 577.4(Float), 1031.4(Float), 1.0(Float), 936855.0(Float), 01(String) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 120(Integer) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172360(Integer), 120(Integer), 1(Integer), 448126.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 464.0(Double), 967.7(Double), 449012.8(Double), 35.9(Double), 100.0(Double), 773900.0(Double), 481542.0(Double), 01(String) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172360(Integer), 120(Integer), 2(Integer), 129205.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 134.9(Double), 958.1(Double), 129247.7(Double), 26.2(Double), 100.0(Double), 258277.0(Double), 455314.0(Double), 01(String) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer), 2022-10-19(String), 10(String), 05(String), 616.0(Float), 961.4(Float), 1.0(Float), 970845.0(Float), 01(String) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 103(Integer) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172361(Integer), 103(Integer), 1(Integer), 481463.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 496.2(Double), 980.1(Double), 486325.6(Double), 39.2(Double), 84.2(Double), 786459.0(Double), 499711.0(Double), 01(String) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172361(Integer), 103(Integer), 2(Integer), 134565.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 124.7(Double), 981.1(Double), 122343.2(Double), 28.8(Double), 94.0(Double), 174985.0(Double), 471134.0(Double), 01(String) [10:05:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer), 2022-10-19(String), 10(String), 05(String), 571.3(Float), 903.3(Float), 0.9(Float), 897880.0(Float), 01(String) [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 108(Integer) [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172362(Integer), 108(Integer), 1(Integer), 440633.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 455.8(Double), 978.2(Double), 445863.6(Double), 49.3(Double), 86.3(Double), 732986.0(Double), 462334.0(Double), 01(String) [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172362(Integer), 108(Integer), 2(Integer), 130853.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 121.6(Double), 985.3(Double), 119812.5(Double), 36.3(Double), 91.1(Double), 171118.0(Double), 435546.0(Double), 01(String) [10:05:02] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-10-19(String), 10(String), 05(String), 147.2(Float), 275.2(Float), 1.4(Float), 186372.0(Float), 01(String) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172363(Integer), 99(Integer), 1(Integer), 36500.0(Double), 0.0(Double), 36.5(Double), 2.6(Double), 65.9(Double), 556.1(Double), 36644.8(Double), 41.7(Double), 100.0(Double), 71500.0(Double), 43885.0(Double), 01(String) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172363(Integer), 99(Integer), 2(Integer), 37300.0(Double), 0.0(Double), 37.3(Double), 2.4(Double), 66.9(Double), 560.2(Double), 37475.2(Double), 39.3(Double), 100.0(Double), 72900.0(Double), 44510.0(Double), 01(String) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172363(Integer), 99(Integer), 3(Integer), 36100.0(Double), 0.0(Double), 36.1(Double), 2.5(Double), 64.7(Double), 561.7(Double), 36342.0(Double), 34.4(Double), 100.0(Double), 62700.0(Double), 48548.0(Double), 01(String) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172363(Integer), 99(Integer), 4(Integer), 37300.0(Double), 0.0(Double), 37.3(Double), 2.3(Double), 66.0(Double), 562.1(Double), 37096.4(Double), 30.6(Double), 100.0(Double), 68100.0(Double), 49429.0(Double), 01(String) [10:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer), 2022-10-19(String), 10(String), 05(String), 271.8(Float), 446.5(Float), 1.0(Float), 358318.8(Float), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 128(Integer) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172364(Integer), 128(Integer), 1(Integer), 60590.0(Double), 600.0(Double), 0.0(Double), -0.1(Double), 92.6(Double), 662.8(Double), 61362.0(Double), 33.1(Double), 645.4(Double), 98580.0(Double), 79769.3(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172364(Integer), 128(Integer), 2(Integer), 60186.0(Double), 599.9(Double), 0.0(Double), 0.0(Double), 93.0(Double), 657.6(Double), 61180.8(Double), 32.0(Double), 10.0(Double), 98210.0(Double), 79365.8(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172364(Integer), 128(Integer), 3(Integer), 60115.0(Double), 600.0(Double), 0.0(Double), -0.0(Double), 92.5(Double), 659.4(Double), 61011.2(Double), 31.0(Double), 645.4(Double), 99580.0(Double), 79499.5(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172364(Integer), 128(Integer), 4(Integer), 60003.0(Double), 599.9(Double), 0.0(Double), 0.0(Double), 92.1(Double), 663.3(Double), 61080.1(Double), 31.1(Double), 10.0(Double), 99270.0(Double), 78876.4(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172364(Integer), 128(Integer), 5(Integer), 30975.0(Double), 600.1(Double), 0.0(Double), -0.0(Double), 48.9(Double), 647.4(Double), 31664.3(Double), 36.9(Double), 645.4(Double), 51150.0(Double), 40808.1(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer), 2022-10-19(String), 10(String), 05(String), 67.7(Float), 96.0(Float), 1.0(Float), 110676.5(Float), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 129(Integer) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172365(Integer), 129(Integer), 1(Integer), 34640.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 152.0(Double), 546.0(Double), 82992.0(Double), 40.0(Double), 0.0(Double), 49600.0(Double), 58422.4(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172365(Integer), 129(Integer), 2(Integer), 33099.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 151.0(Double), 586.0(Double), 88486.0(Double), 40.0(Double), 0.0(Double), 46400.0(Double), 52254.1(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer), 2022-10-19(String), 10(String), 05(String), 99.3(Float), 180.7(Float), 1.2(Float), 176427.9(Float), 01(String) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 127(Integer) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172366(Integer), 127(Integer), 1(Integer), 33544.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 227.0(Double), 550.0(Double), 124850.0(Double), 32.0(Double), 0.0(Double), 60900.0(Double), 59190.8(Double), 01(String) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172366(Integer), 127(Integer), 2(Integer), 30436.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 151.0(Double), 608.0(Double), 91808.0(Double), 40.0(Double), 0.0(Double), 55000.0(Double), 54685.3(Double), 01(String) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172366(Integer), 127(Integer), 3(Integer), 35369.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 226.0(Double), 599.0(Double), 135374.0(Double), 35.0(Double), 0.0(Double), 64800.0(Double), 62551.8(Double), 01(String) [10:05:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer), 2022-10-19(String), 10(String), 05(String), 610.4(Float), 955.2(Float), 1.0(Float), 858768.0(Float), 01(String) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 102(Integer) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172367(Integer), 102(Integer), 1(Integer), 476016.0(Double), 60.2(Double), 0.0(Double), 0.0(Double), 495.4(Double), 957.5(Double), 474345.5(Double), 38.3(Double), 85.7(Double), 736326.0(Double), 443034.0(Double), 01(String) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172367(Integer), 102(Integer), 2(Integer), 134411.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 121.6(Double), 989.3(Double), 120298.9(Double), 28.0(Double), 91.5(Double), 218889.0(Double), 415734.0(Double), 01(String) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer), 2022-10-19(String), 10(String), 05(String), 610.1(Float), 1015.8(Float), 1.0(Float), 898605.0(Float), 01(String) [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 101(Integer) [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172368(Integer), 101(Integer), 1(Integer), 476183.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 501.7(Double), 942.6(Double), 472902.4(Double), 38.4(Double), 86.1(Double), 828390.0(Double), 463351.0(Double), 01(String) [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172368(Integer), 101(Integer), 2(Integer), 133919.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 125.7(Double), 975.8(Double), 122658.1(Double), 27.2(Double), 95.3(Double), 187372.0(Double), 435254.0(Double), 01(String) [10:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer), 2022-10-19(String), 10(String), 05(String), 103.9(Float), 183.0(Float), 1.2(Float), 92567.3(Float), 01(String) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 131(Integer) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172369(Integer), 131(Integer), 1(Integer), 37391.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 243.0(Double), 599.0(Double), 145557.0(Double), 41.0(Double), 0.0(Double), 66500.0(Double), 32604.2(Double), 01(String) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172369(Integer), 131(Integer), 2(Integer), 31880.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 155.0(Double), 595.0(Double), 92225.0(Double), 32.0(Double), 0.0(Double), 56200.0(Double), 28932.1(Double), 01(String) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172369(Integer), 131(Integer), 3(Integer), 34668.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 232.0(Double), 546.0(Double), 126672.0(Double), 29.0(Double), 0.0(Double), 60400.0(Double), 31031.1(Double), 01(String) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer), 2022-10-19(String), 10(String), 05(String), 594.9(Float), 1146.2(Float), 1.1(Float), 975152.0(Float), 01(String) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 121(Integer) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172370(Integer), 121(Integer), 1(Integer), 474903.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 490.0(Double), 969.1(Double), 474859.0(Double), 35.3(Double), 100.0(Double), 931289.0(Double), 501695.0(Double), 01(String) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172370(Integer), 121(Integer), 2(Integer), 120009.0(Double), 59.8(Double), 0.0(Double), 0.0(Double), 120.8(Double), 991.6(Double), 119785.3(Double), 24.0(Double), 99.9(Double), 214953.0(Double), 473457.0(Double), 01(String) [10:05:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer), 2022-10-19(String), 10(String), 05(String), 523.9(Float), 886.2(Float), 0.9(Float), 962143.0(Float), 01(String) [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 112(Integer) [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172371(Integer), 112(Integer), 1(Integer), 404250.0(Double), 60.4(Double), 0.0(Double), 0.0(Double), 409.1(Double), 988.5(Double), 404395.3(Double), 34.2(Double), 86.4(Double), 663774.0(Double), 494482.0(Double), 01(String) [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172371(Integer), 112(Integer), 2(Integer), 119650.0(Double), 60.4(Double), 0.0(Double), 0.0(Double), 124.7(Double), 979.8(Double), 122181.1(Double), 23.1(Double), 91.9(Double), 222399.0(Double), 467661.0(Double), 01(String) [10:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-10-19(String), 10(String), 05(String), 539.9(Float), 877.8(Float), 1.0(Float), 1729210.0(Float), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 1(Integer), 34105.0(Double), 0.0(Double), 34.1(Double), 0.0(Double), 41.5(Double), 617.7(Double), 25633.2(Double), 27.1(Double), 0.0(Double), 55500.0(Double), 103379.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 2(Integer), 35095.0(Double), 0.0(Double), 35.1(Double), 0.0(Double), 43.5(Double), 606.6(Double), 26388.6(Double), 28.9(Double), 0.0(Double), 67900.0(Double), 117533.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 3(Integer), 34513.0(Double), 0.0(Double), 34.5(Double), 0.0(Double), 43.0(Double), 606.6(Double), 26082.4(Double), 27.7(Double), 0.0(Double), 61900.0(Double), 105117.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 4(Integer), 35202.0(Double), 0.0(Double), 35.2(Double), 0.0(Double), 44.1(Double), 599.2(Double), 26423.3(Double), 28.7(Double), 0.0(Double), 66600.0(Double), 108812.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 5(Integer), 35798.0(Double), 0.0(Double), 35.8(Double), 0.0(Double), 44.8(Double), 602.1(Double), 26974.1(Double), 29.9(Double), 0.0(Double), 69200.0(Double), 119732.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 6(Integer), 36192.0(Double), 0.0(Double), 36.2(Double), 0.0(Double), 45.2(Double), 602.0(Double), 27210.4(Double), 27.4(Double), 0.0(Double), 71000.0(Double), 119731.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 7(Integer), 33934.0(Double), 0.0(Double), 33.9(Double), 0.0(Double), 43.4(Double), 587.6(Double), 25503.3(Double), 27.4(Double), 0.0(Double), 64800.0(Double), 100868.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 8(Integer), 34748.0(Double), 0.0(Double), 34.7(Double), 0.0(Double), 43.4(Double), 605.6(Double), 26284.5(Double), 27.8(Double), 0.0(Double), 55000.0(Double), 112219.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 9(Integer), 32508.0(Double), 0.0(Double), 32.5(Double), 0.0(Double), 41.4(Double), 590.4(Double), 24443.9(Double), 22.9(Double), 0.0(Double), 18600.0(Double), 94791.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 10(Integer), 35265.0(Double), 0.0(Double), 35.3(Double), 0.0(Double), 43.9(Double), 609.0(Double), 26733.6(Double), 27.9(Double), 0.0(Double), 51400.0(Double), 113995.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 11(Integer), 35618.0(Double), 0.0(Double), 35.6(Double), 0.0(Double), 44.3(Double), 607.7(Double), 26919.6(Double), 27.5(Double), 0.0(Double), 54600.0(Double), 114442.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 12(Integer), 36082.0(Double), 0.0(Double), 36.1(Double), 0.0(Double), 45.0(Double), 604.3(Double), 27193.5(Double), 27.5(Double), 0.0(Double), 58200.0(Double), 116176.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 13(Integer), 31857.0(Double), 0.0(Double), 31.9(Double), 0.0(Double), 38.1(Double), 632.1(Double), 24084.3(Double), 20.8(Double), 0.0(Double), 29000.0(Double), 114416.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 14(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 15(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 16(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 17(Integer), 31879.0(Double), 0.0(Double), 31.9(Double), 0.0(Double), 37.8(Double), 604.1(Double), 22835.0(Double), 26.6(Double), 0.0(Double), 57100.0(Double), 105066.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 18(Integer), 22153.0(Double), 0.0(Double), 22.2(Double), 0.0(Double), 36.7(Double), 602.9(Double), 22125.2(Double), 23.5(Double), 0.0(Double), 34900.0(Double), 70776.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172372(Integer), 92(Integer), 19(Integer), 34954.0(Double), 0.0(Double), 35.0(Double), 0.0(Double), 43.6(Double), 605.0(Double), 26378.0(Double), 28.2(Double), 0.0(Double), 62100.0(Double), 112157.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-10-19(String), 10(String), 05(String), 675.6(Float), 1261.5(Float), 1.3(Float), 2200821.0(Float), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 1(Integer), 35927.0(Double), 0.0(Double), 35.9(Double), 0.0(Double), 45.2(Double), 603.6(Double), 27281.2(Double), 28.9(Double), 0.0(Double), 70200.0(Double), 108799.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 2(Integer), 35283.0(Double), 0.0(Double), 35.3(Double), 0.0(Double), 44.6(Double), 600.9(Double), 26800.1(Double), 29.2(Double), 0.0(Double), 68500.0(Double), 119165.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 3(Integer), 34685.0(Double), 0.0(Double), 34.7(Double), 0.0(Double), 42.8(Double), 609.7(Double), 26095.2(Double), 28.5(Double), 0.0(Double), 66400.0(Double), 105097.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 4(Integer), 35013.0(Double), 0.0(Double), 35.0(Double), 0.0(Double), 44.0(Double), 600.2(Double), 26408.8(Double), 28.7(Double), 0.0(Double), 67700.0(Double), 117928.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 5(Integer), 34743.0(Double), 0.0(Double), 34.7(Double), 0.0(Double), 43.0(Double), 608.0(Double), 26144.0(Double), 28.7(Double), 0.0(Double), 66200.0(Double), 105550.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 6(Integer), 35205.0(Double), 0.0(Double), 35.2(Double), 0.0(Double), 43.2(Double), 609.8(Double), 26343.4(Double), 29.6(Double), 0.0(Double), 67500.0(Double), 120967.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 7(Integer), 35140.0(Double), 0.0(Double), 35.1(Double), 0.0(Double), 43.9(Double), 603.5(Double), 26495.1(Double), 30.0(Double), 0.0(Double), 67800.0(Double), 119078.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 8(Integer), 35257.0(Double), 0.0(Double), 35.3(Double), 0.0(Double), 43.7(Double), 607.9(Double), 26566.7(Double), 30.0(Double), 0.0(Double), 67800.0(Double), 107396.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 9(Integer), 35213.0(Double), 0.0(Double), 35.2(Double), 0.0(Double), 43.8(Double), 606.0(Double), 26542.8(Double), 28.5(Double), 0.0(Double), 66900.0(Double), 118428.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 10(Integer), 29621.0(Double), 0.0(Double), 29.6(Double), 0.0(Double), 40.2(Double), 524.3(Double), 21075.5(Double), 28.7(Double), 0.0(Double), 61000.0(Double), 95689.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 11(Integer), 33826.0(Double), 0.0(Double), 33.8(Double), 0.0(Double), 42.2(Double), 605.4(Double), 25546.5(Double), 28.5(Double), 0.0(Double), 62500.0(Double), 115371.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 12(Integer), 31562.0(Double), 0.0(Double), 31.6(Double), 0.0(Double), 39.7(Double), 593.6(Double), 23565.9(Double), 29.2(Double), 0.0(Double), 57900.0(Double), 95032.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 13(Integer), 32909.0(Double), 0.0(Double), 32.9(Double), 0.0(Double), 40.4(Double), 613.6(Double), 24788.1(Double), 29.3(Double), 0.0(Double), 60000.0(Double), 113885.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 14(Integer), 32139.0(Double), 0.0(Double), 32.1(Double), 0.0(Double), 39.3(Double), 615.4(Double), 24185.2(Double), 29.1(Double), 0.0(Double), 57200.0(Double), 109343.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 15(Integer), 33108.0(Double), 0.0(Double), 33.1(Double), 0.0(Double), 41.4(Double), 614.0(Double), 25418.2(Double), 31.2(Double), 0.0(Double), 56400.0(Double), 97729.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 16(Integer), 35442.0(Double), 0.0(Double), 35.4(Double), 0.0(Double), 43.9(Double), 606.6(Double), 26629.7(Double), 28.9(Double), 0.0(Double), 61400.0(Double), 117440.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 17(Integer), 35045.0(Double), 0.0(Double), 35.0(Double), 0.0(Double), 43.6(Double), 604.9(Double), 26373.6(Double), 28.1(Double), 0.0(Double), 60700.0(Double), 114779.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 18(Integer), 29750.0(Double), 0.0(Double), 29.8(Double), 0.0(Double), 34.8(Double), 609.9(Double), 21225.7(Double), 28.0(Double), 0.0(Double), 52400.0(Double), 99079.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 19(Integer), 30121.0(Double), 0.0(Double), 30.1(Double), 0.0(Double), 36.0(Double), 606.7(Double), 21840.0(Double), 27.8(Double), 0.0(Double), 53900.0(Double), 98532.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172373(Integer), 93(Integer), 20(Integer), 35642.0(Double), 0.0(Double), 35.6(Double), 0.0(Double), 44.6(Double), 607.0(Double), 27070.7(Double), 29.2(Double), 0.0(Double), 69100.0(Double), 121534.0(Double), 01(String) [10:05:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer), 2022-10-19(String), 10(String), 05(String), 624.1(Float), 1109.2(Float), 1.1(Float), 944364.0(Float), 01(String) [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 107(Integer) [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172374(Integer), 107(Integer), 1(Integer), 483686.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 491.2(Double), 981.5(Double), 482112.8(Double), 41.8(Double), 86.2(Double), 835190.0(Double), 486329.0(Double), 01(String) [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172374(Integer), 107(Integer), 2(Integer), 140399.0(Double), 60.3(Double), 0.0(Double), 0.0(Double), 145.7(Double), 980.7(Double), 142888.0(Double), 30.0(Double), 91.6(Double), 274024.0(Double), 458035.0(Double), 01(String) [10:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer), 2022-10-19(String), 10(String), 05(String), 336.6(Float), 628.3(Float), 0.7(Float), 724822.0(Float), 01(String) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 110(Integer) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172375(Integer), 110(Integer), 1(Integer), 299432.0(Double), 60.0(Double), 0.0(Double), 0.0(Double), 323.5(Double), 929.8(Double), 300790.3(Double), 25.6(Double), 84.1(Double), 541108.0(Double), 375120.0(Double), 01(String) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172375(Integer), 110(Integer), 2(Integer), 37144.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 38.6(Double), 934.6(Double), 36075.6(Double), 34.8(Double), 93.8(Double), 87210.0(Double), 349702.0(Double), 01(String) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer), 2022-10-19(String), 10(String), 05(String), 576.1(Float), 1090.0(Float), 1.1(Float), 923571.0(Float), 01(String) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 122(Integer) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172376(Integer), 122(Integer), 1(Integer), 460541.0(Double), 59.9(Double), 0.0(Double), 0.0(Double), 479.3(Double), 966.9(Double), 463435.2(Double), 39.1(Double), 91.6(Double), 886529.0(Double), 475636.0(Double), 01(String) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 172376(Integer), 122(Integer), 2(Integer), 115575.0(Double), 60.1(Double), 0.0(Double), 0.0(Double), 114.0(Double), 1000.0(Double), 114000.0(Double), 27.1(Double), 92.2(Double), 203462.0(Double), 447935.0(Double), 01(String) [10:05:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:07:38] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 32 [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [10:07:39] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [10:07:39] [DEBUG] controller.JsonController - ------------------------------------- [10:07:39] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_64_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [10:07:39] [DEBUG] controller.JsonController - ------------------------------------- [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [10:07:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_client a where a.seq = ? [10:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer) [10:09:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType, v.syncType from t_plant p left join t_ivtjunc v on p.seq = v.plantSeq where p.plantType in ('02', '03') and p.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [10:09:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [10:09:50] [DEBUG] controller.OMController - dashboard.selectListAdmin : 쿼리조회시간 : 312 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.* from t_ivterror d, t_plant p where d.plantSeq = p.seq and d.inputDate between ? and ? and p.clientOrderSeq = ? order by d.seq desc ) R1 LIMIT ?, ? [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-15(String), 2022-10-19(String), 301(Integer), 0(Integer), 10(Integer) [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_juncdata d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [10:09:50] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.inputHour, w.temp, w.cloud from ( select p.*, p1.oseq as prevOseq, p1.inputHour as prevInputHour, p1.inputMinute as prevMinute, p1.currPower as prevCurrPower, TRUNCATE(IFNULL(p1.todayEnergy, 0), 1) as prevTodayEnergy, p1.createDatetime as prevCreateDatetime from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, TRUNCATE(IFNULL(o.todayEnergy,0), 1) as todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.weatherCode from t_plant p, t_ivtjunc v where p.seq = v.plantSeq and v.ivtStatus='01' and p.plantStatus='01' and p.plantType in ('02', '03') and p.clientOrderSeq = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate = ? and plantSeq = p.seq ) ) p, t_ivtoverview p1 where p.plantSeq = p1.plantSeq and p1.inputDate = ? and p1.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate = ? and plantSeq = p.plantSeq and oseq < p.oseq ) )p, t_weather_2021 w where p.weatherCode = w.weatherCode and w.inputYmd=? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? and weatherCode = p.weatherCode ) and w.cloud < 7 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.inputHour, w.temp, w.cloud from ( select p.*, d.ivtIdx as prevIvtIdx, d.dcPower as prevDcPower, TRUNCATE(IFNULL(d.todayEnergy, 0), 1) as prevTodayEnergy, TRUNCATE(IFNULL(d.lifetimeEnergy, 0), 1) as prevLifetimeEnergy from ( select p.* , o.oseq as prevOseq, o.inputHour as prevInputHour, o.inputMinute as prevInputMinute from ( select p.*, d.ivtIdx, d.dcPower, TRUNCATE(IFNULL(d.todayEnergy, 0), 1) as todayEnergy, TRUNCATE(IFNULL(d.lifetimeEnergy, 0), 1) as lifetimeEnergy from ( select p.*, o.oseq, o.plantSeq, o.inputHour, o.inputMinute from ( select p.seq, p.name, p.supplyPower, p.weatherCode from t_plant p, t_ivtjunc v where p.seq = v.plantSeq and v.ivtStatus='01' and v.ivtType='03' and p.plantStatus='01' and p.plantType in ('02', '03') and p.clientOrderSeq = ? ) p, t_ivtoverview o where p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p, t_ivtdata_2022 d where p.plantSeq = d.plantSeq and d.oseq = p.oseq ) p, t_ivtoverview o where p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq and oseq < p.oseq ) ) p, t_ivtdata_2022 d where p.plantSeq = d.plantSeq and d.oseq = p.prevOseq and p.ivtIdx = d.ivtIdx )p, t_weather_2021 w where p.weatherCode = w.weatherCode and w.inputYmd=? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? and weatherCode = p.weatherCode ) and w.cloud < 7 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String), 2022-10-19(String) [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 61 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 301(Integer), 2022-10-19(String) [10:09:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 56 [10:09:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata_2022 d, ( select plantSeq, max(oseq) oseq from t_ivtoverview where inputDate = ? group by plantSeq ) s where d.plantSeq = s.plantSeq and d.oseq = s.oseq ) o where o.plantSeq = p.seq and p.plantType in ('02', '03') and p.plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [10:09:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 301(Integer) [10:09:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 117 [10:14:35] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [10:14:35] [DEBUG] controller.TestIndexController - called /test/index.co ... [10:14:35] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [10:14:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:14:38] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :user09, login_channel : null [10:14:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:14:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:14:38] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_09 [10:14:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:14:38] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/test/index.co [10:14:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:14:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : user09 [10:14:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:14:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName from t_plant p left join t_pms m on p.seq = m.plantSeq and p.plantStatus = '01' and m.pmsStatus = '01' order by p.seq desc [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 107 [10:14:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user : user09, mappingList.size : 107 [10:14:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:14:38] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[user09] roles roles [0]ROLE_09 [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String), 09(String), B6F2FC952FCA75D8269DFAE935E4D805(String), WEB(String) [10:14:38] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:14:38] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [10:14:38] [DEBUG] controller.TestIndexController - called /test/index.co ... [10:14:38] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [10:14:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:14:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-10-19(String), 0(Integer), 2022-10-19(String), 0(Integer) [10:14:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:14:42] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 73 [10:14:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [10:14:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 00(String) [10:14:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:14:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:14:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [10:14:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String) [10:14:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [10:14:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 85 [10:14:44] [DEBUG] controller.JsonController - {"data" : [{"plantSeq":"134","temp":"11.8","cloud":"1","weatherCode":"03250360"},{"plantSeq":"132","temp":"10.5","cloud":"1","weatherCode":"03123129"},{"plantSeq":"131","temp":"10.5","cloud":"1","weatherCode":"03123101"},{"plantSeq":"129","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"128","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"127","temp":"10.3","cloud":"1","weatherCode":""},{"plantSeq":"126","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"125","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"124","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"123","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"122","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"121","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"120","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"113","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"112","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"111","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"110","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"109","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"108","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"107","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"106","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"105","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"104","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"103","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"102","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"101","temp":"11.7","cloud":"1","weatherCode":"03220340"},{"plantSeq":"99","temp":"9.2","cloud":"1","weatherCode":"03250330"},{"plantSeq":"98","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"97","temp":"5.2","cloud":"1","weatherCode":"04730370"},{"plantSeq":"96","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"95","temp":"10.8","cloud":"1","weatherCode":"04113250"},{"plantSeq":"94","temp":"10.6","cloud":"1","weatherCode":"04770250"},{"plantSeq":"93","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"92","temp":"1.7","cloud":"1","weatherCode":"01760350"},{"plantSeq":"91","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"90","temp":"2.6","cloud":"1","weatherCode":"01750330"},{"plantSeq":"89","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"88","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"87","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"86","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"85","temp":"3.1","cloud":"1","weatherCode":"16150380"},{"plantSeq":"84","temp":"10.3","cloud":"1","weatherCode":"15180380"},{"plantSeq":"83","temp":"10.0","cloud":"1","weatherCode":"01820250"},{"plantSeq":"82","temp":"2.8","cloud":"1","weatherCode":"15710330"},{"plantSeq":"81","temp":"4.8","cloud":"1","weatherCode":"04170320"},{"plantSeq":"80","temp":"2.6","cloud":"5","weatherCode":"01750250"},{"plantSeq":"78","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"77","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"76","temp":"2.7","cloud":"1","weatherCode":"01790250"},{"plantSeq":"75","temp":"4.4","cloud":"1","weatherCode":"04210330"},{"plantSeq":"74","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"73","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"68","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"67","temp":"null","cloud":"0","weatherCode":"CT003005"},{"plantSeq":"64","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"60","temp":"1.9","cloud":"1","weatherCode":"16770310"},{"plantSeq":"56","temp":"8.7","cloud":"1","weatherCode":"02590370"},{"plantSeq":"55","temp":"10.9","cloud":"1","weatherCode":"10710262"},{"plantSeq":"48","temp":"13.8","cloud":"1","weatherCode":"14130320"},{"plantSeq":"45","temp":"9.2","cloud":"1","weatherCode":"15800253"},{"plantSeq":"44","temp":"2.9","cloud":"1","weatherCode":"13740250"},{"plantSeq":"42","temp":"3.1","cloud":"1","weatherCode":"16150250"},{"plantSeq":"41","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"40","temp":"11.3","cloud":"1","weatherCode":"03820250"},{"plantSeq":"39","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"34","temp":"3.4","cloud":"1","weatherCode":"04170340"},{"plantSeq":"32","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"31","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"30","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"29","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"28","temp":"9.7","cloud":"1","weatherCode":"03240370"},{"plantSeq":"27","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"26","temp":"3.6","cloud":"1","weatherCode":"16130250"},{"plantSeq":"25","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"24","temp":"3.0","cloud":"1","weatherCode":"01760250"},{"plantSeq":"22","temp":"10.4","cloud":"1","weatherCode":"02273112"},{"plantSeq":"21","temp":"8.6","cloud":"1","weatherCode":"13800350"},{"plantSeq":"20","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"19","temp":"5.2","cloud":"1","weatherCode":"13750330"},{"plantSeq":"18","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"17","temp":"8.4","cloud":"1","weatherCode":"13210114"},{"plantSeq":"16","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"15","temp":"10.7","cloud":"1","weatherCode":"12770380"},{"plantSeq":"14","temp":"12.4","cloud":"1","weatherCode":"12890320"},{"plantSeq":"13","temp":"2.5","cloud":"1","weatherCode":"04150113"},{"plantSeq":"end"}],"inputYmd":"2022-10-19","inputHour":"09"} [10:14:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-10-19(String), 2022-10-19(String) [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-10-19(String), 2022-10-19(String), 01(String), 0(Integer), 10(Integer) [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:14:44] [DEBUG] controller.JsonController - ------------------------------------- [10:14:44] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_64_2","level":"2","className":"danger"},{"name":"end"}]} [10:14:44] [DEBUG] controller.JsonController - ------------------------------------- [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-10-19(String), 2022-10-19(String) [10:14:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:14:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and m.pmsStatus = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [10:14:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-10-19(String), 2022-10-19(String) [10:14:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:14:48] [DEBUG] controller.PmsController - selectListPmsPlant : 쿼리조회시간 : 34 [10:14:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, c.name as clientTypeName from t_client a, t_code c where c.groupType='client_type' and a.clientType = c.code and a.clientType = ? order by name asc [10:14:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [10:14:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 23