[02:17:11] [DEBUG] controller.EssController - ----------------------------------------------- [02:17:11] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [02:17:11] [DEBUG] controller.EssController - ----------------------------------------------- [02:22:16] [DEBUG] controller.EssController - ----------------------------------------------- [02:22:16] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [02:22:16] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:32] [DEBUG] controller.EssController - ----------------------------------------------- [06:45:32] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [06:45:32] [DEBUG] controller.EssController - ----------------------------------------------- [07:53:12] [DEBUG] controller.EssController - ----------------------------------------------- [07:53:12] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [07:53:12] [DEBUG] controller.EssController - ----------------------------------------------- [09:01:26] [DEBUG] controller.EssController - ----------------------------------------------- [09:01:26] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [09:01:26] [DEBUG] controller.EssController - ----------------------------------------------- [09:43:41] [DEBUG] controller.EssController - ----------------------------------------------- [09:43:41] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [09:43:41] [DEBUG] controller.EssController - ----------------------------------------------- [09:54:16] [DEBUG] controller.EssController - ----------------------------------------------- [09:54:16] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [09:54:16] [DEBUG] controller.EssController - ----------------------------------------------- [10:04:53] [DEBUG] controller.EssController - ----------------------------------------------- [10:04:53] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [10:04:53] [DEBUG] controller.EssController - ----------------------------------------------- [02:17:13] [DEBUG] controller.EssController - ----------------------------------------------- [02:17:13] [DEBUG] controller.EssController - /index.co called [02:17:13] [DEBUG] controller.EssController - ----------------------------------------------- [02:17:13] [DEBUG] controller.EssController - ----------------------------------------------- [02:17:13] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 34, param.plantSeq : 0 [02:17:13] [DEBUG] controller.EssController - ----------------------------------------------- [02:17: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.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:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 34(Integer), 0(Integer), 2022-04-13(String), 34(Integer), 0(Integer), null, 34(Integer), 0(Integer), 2022-04-12(String), 34(Integer), 0(Integer), 2022-04-11(String), 34(Integer), 0(Integer), 2022-04-13(String), 58991(Integer) [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:17: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 [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-13(String), 34(Integer), 2022-04-13(String), 34(Integer) [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [02:17: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 ?, ? [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [02:17:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:17:13] [DEBUG] controller.EssController - ----------------------------------------------- [02:17:13] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [02:17:13] [DEBUG] controller.EssController - ----------------------------------------------- [02:17: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 >= ? [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 01(String), 2022-03-30(String) [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:17: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 [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 34(Integer), 0(Integer), 2022-04-13(String), 34(Integer), 0(Integer), 02(String) [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:17: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 [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 0(Integer), 2022-04-13(String), 34(Integer), 0(Integer), 2022-04-13(String) [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:17:24] [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:17:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 34(Integer), 0(Integer), 34(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [02:17:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [02:17: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 [02:17:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 1(Integer), 2022-04-13(String), 34(Integer), 1(Integer), 2022-04-13(String) [02:17:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:33:03] [DEBUG] controller.EssController - ----------------------------------------------- [02:33:03] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 34, param.plantSeq : 34 [02:33:03] [DEBUG] controller.EssController - ----------------------------------------------- [02:33:03] [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 [02:33:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-13(String), 2022-04-13(String) [02:33:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:33:03] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 0 [02:33: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 >= ? [02:33:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 01(String), 2022-03-30(String) [02:33:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:33: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 [02:33:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 0(Integer), 2022-04-13(String), 34(Integer), 0(Integer), 2022-04-13(String) [02:33:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:33: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 [02:33:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 0(Integer), 2022-04-13(String), 34(Integer), 0(Integer), 2022-04-13(String) [02:33:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [02:33:08] [DEBUG] controller.EssController - ----------------------------------------------- [02:33:08] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 34, param.plantSeq : 34 [02:33:08] [DEBUG] controller.EssController - ----------------------------------------------- [02:33:08] [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 [02:33:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-13(String), 2022-04-13(String) [02:33:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:33:08] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 16 [02:33:08] [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:33:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 01(String), 2022-03-30(String) [02:33:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [02:33: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.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 [02:33:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 34(Integer), 0(Integer), 34(Integer), 0(Integer), 2022(String), 04(String) [02:33:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [02:33:09] [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 [02:33:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 34(Integer), 0(Integer), 34(Integer), 0(Integer), 2022(String), 04(String) [02:33:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [03:57:11] [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 = ? [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:57:11] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:57:11] [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() ) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 58994(Integer), 2022-04-13(String), 03(String), 57(String), 3855889(Long), 3766975(Long), 6(Long), 0(Integer), 31423(Integer), 57(Integer), 54801(Integer), 58(Integer), 0(Integer), 0(Integer), 0(Integer), 24(Integer), 0(Integer), 6(Integer), 3839(Integer), 40(Integer), 26(Integer), 40(Integer), 939(Integer), 0(Integer), 6804(Integer), 0(Integer), 265(Integer), 206(Integer), 3462(Integer), 3437(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 307(Integer), 210(Integer), 216(Integer), 216(Integer), 207(Integer), 479(Integer), 715(Integer), 685(Integer), 694(Integer), 724(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [03:57:11] [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 = ? [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:57:11] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [03:57:11] [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() ) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 58994(Integer), 2022-04-13(String), 03(String), 57(String), 3855889(Long), 3766975(Long), 6(Long), 0(Integer), 31423(Integer), 57(Integer), 54801(Integer), 58(Integer), 0(Integer), 0(Integer), 0(Integer), 24(Integer), 0(Integer), 6(Integer), 3839(Integer), 40(Integer), 26(Integer), 40(Integer), 939(Integer), 0(Integer), 6804(Integer), 0(Integer), 265(Integer), 206(Integer), 3462(Integer), 3437(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 307(Integer), 210(Integer), 216(Integer), 216(Integer), 207(Integer), 479(Integer), 715(Integer), 685(Integer), 694(Integer), 724(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [03:57:11] [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() ) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 58994(Integer), 2022-04-13(String), 03(String), 57(String), 3815229(Long), 3724168(Long), 6(Long), 0(Integer), 54152(Integer), 56(Integer), 14141(Integer), 58(Integer), 0(Integer), 0(Integer), 0(Integer), 24(Integer), 0(Integer), 6(Integer), 3770(Integer), 20(Integer), 13(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 1(Integer), 0(Integer), 4224(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 307(Integer), 210(Integer), 216(Integer), 216(Integer), 207(Integer), 479(Integer), 715(Integer), 685(Integer), 694(Integer), 724(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [03:57:11] [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 = ? [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [03:57:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [03:57:11] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [03:57:11] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: 12687 [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:10:10] [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:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 20(Integer) [04:10:10] [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:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 20(Integer) [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:10:10] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 31 [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [04:10:10] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 31 [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [04:10:10] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 46 [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [04:10:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [04:10:10] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 46 [05:28:04] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:28:08] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:28:08] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [05:28:08] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:28:08] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:28:08] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [05:28:08] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:28:08] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [05:28:08] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:28:08] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [05:28:08] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [05:28:08] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [05:28:08] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:28:08] [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=? [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:28:08] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:28:08] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [05:28:08] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:28:08] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 7D02C2C3407FB17E70C421BD83134902(String), PHONE(String) [05:28:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [05:28:08] [DEBUG] controller.EssController - ----------------------------------------------- [05:28:08] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [05:28:08] [DEBUG] controller.EssController - ----------------------------------------------- [05:28:10] [DEBUG] controller.EssController - ----------------------------------------------- [05:28:10] [DEBUG] controller.EssController - /index.co called [05:28:10] [DEBUG] controller.EssController - ----------------------------------------------- [05:28:10] [DEBUG] controller.EssController - ----------------------------------------------- [05:28:10] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [05:28:10] [DEBUG] controller.EssController - ----------------------------------------------- [05:28:10] [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.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 [05:28:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [05:28:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:28:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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 [05:28:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-12(String), 85(Integer), 0(Integer), 2022-04-11(String), 85(Integer), 0(Integer), 2022-04-13(String), 58997(Integer) [05:28:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:28:10] [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 [05:28:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 85(Integer), 2022-04-13(String), 85(Integer) [05:28:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:28:10] [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 ?, ? [05:28:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:28:11] [DEBUG] controller.EssController - ----------------------------------------------- [05:28:11] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [05:28:11] [DEBUG] controller.EssController - ----------------------------------------------- [05:28: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 >= ? [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-30(String) [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:28:11] [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 [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 05(String) [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:28:11] [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 [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String) [05:28:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:28:12] [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 [05:28:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [05:28:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [05:28:12] [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 [05:28:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-13(String) [05:28:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:34:27] [DEBUG] controller.EssController - ----------------------------------------------- [05:34:27] [DEBUG] controller.EssController - /index.co called [05:34:27] [DEBUG] controller.EssController - ----------------------------------------------- [05:34:27] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:34:32] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:34:32] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :togyo, login_channel : null [05:34:32] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: togyo(String) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:34:32] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:34:32] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [05:34:32] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:34:32] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [05:34:32] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:34:32] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : togyo [05:34:32] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [05:34:32] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [05:34:32] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: togyo(String) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:34:32] [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=? [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: togyo(String) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:34:32] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:34:32] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: togyo, mappingList.size : 1 [05:34:32] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:34:32] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[togyo] roles roles [0]ROLE_01 [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: togyo(String), 01(String), 7E6413AE6167FEAC8BE6CF4B3861548B(String), PHONE(String) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [05:34:32] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:34:32] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [05:34:32] [DEBUG] controller.SignController - /ess/view.co [05:34:32] [DEBUG] controller.SignController - ....................................... [05:34:32] [DEBUG] controller.EssController - ----------------------------------------------- [05:34:32] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 80, param.plantSeq : 0 [05:34:32] [DEBUG] controller.EssController - ----------------------------------------------- [05:34:32] [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.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 [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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 [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), null, 80(Integer), 0(Integer), 2022-04-12(String), 80(Integer), 0(Integer), 2022-04-11(String), 80(Integer), 0(Integer), 2022-04-13(String), 58998(Integer) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:34: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.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 [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-13(String), 80(Integer), 2022-04-13(String), 80(Integer) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:34: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 21(String) [05:34:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(String) [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:34:33] [DEBUG] controller.EssController - ----------------------------------------------- [05:34:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [05:34:33] [DEBUG] controller.EssController - ----------------------------------------------- [05:34:33] [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 >= ? [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-03-30(String) [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:34:33] [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 [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), 05(String) [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:34: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 desc, d.pcsIdx asc [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String) [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:34: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.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 [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [05:34: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 [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 1(Integer), 2022-04-13(String), 80(Integer), 1(Integer), 2022-04-13(String) [05:34:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:53:12] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:53:12] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:53:12] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:53:13] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:53:13] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:53:13] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:53:22] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:53:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:53:25] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :wando, login_channel : null [05:53:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:53:25] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [05:53:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:53:25] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [05:53:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:53:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : wando [05:53:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [05:53:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [05:53:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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=? [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [05:53:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:53:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: wando, mappingList.size : 3 [05:53:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:53:25] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[wando] roles roles [0]ROLE_01 [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String), 01(String), 96E6D9B230CEFCB12D7BFF06E943E618(String), PHONE(String) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [05:53:25] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:25] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 14, param.plantSeq : 0 [05:53:25] [DEBUG] controller.EssController - ----------------------------------------------- [05:53: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.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 [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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 [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 14(Integer), 0(Integer), 2022-04-13(String), 14(Integer), 0(Integer), null, 14(Integer), 0(Integer), 2022-04-12(String), 14(Integer), 0(Integer), 2022-04-11(String), 14(Integer), 0(Integer), 2022-04-13(String), 58998(Integer) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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 [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-04-13(String), 14(Integer), 2022-04-13(String), 14(Integer) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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 ?, ? [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [05:53:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:53:26] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:26] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [05:53:26] [DEBUG] controller.EssController - ----------------------------------------------- [05:53: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 >= ? [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 01(String), 2022-03-30(String) [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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 [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 14(Integer), 0(Integer), 2022-04-13(String), 14(Integer), 0(Integer), 05(String) [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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 [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 0(Integer), 2022-04-13(String), 14(Integer), 0(Integer), 2022-04-13(String) [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:53: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 [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 14(Integer), 0(Integer), 14(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [05:53: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 [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 1(Integer), 2022-04-13(String), 14(Integer), 1(Integer), 2022-04-13(String) [05:53:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:53:30] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:30] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 16 [05:53:30] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:30] [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 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-13(String), 2022-04-13(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53:30] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:30] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 16, param.plantSeq : 16 [05:53:30] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:30] [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.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 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 16(Integer), 0(Integer), 2022-04-13(String), 16(Integer), 0(Integer), null, 16(Integer), 0(Integer), 2022-04-12(String), 16(Integer), 0(Integer), 2022-04-11(String), 16(Integer), 0(Integer), 2022-04-13(String), 58998(Integer) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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.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 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-13(String), 16(Integer), 2022-04-13(String), 16(Integer) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:53:30] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:30] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [05:53:30] [DEBUG] controller.EssController - ----------------------------------------------- [05:53: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 >= ? [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 01(String), 2022-03-30(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 16(Integer), 0(Integer), 2022-04-13(String), 16(Integer), 0(Integer), 05(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 0(Integer), 2022-04-13(String), 16(Integer), 0(Integer), 2022-04-13(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:53:30] [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 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 16(Integer), 0(Integer), 16(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [05:53: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 [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 1(Integer), 2022-04-13(String), 16(Integer), 1(Integer), 2022-04-13(String) [05:53:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:53:34] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:34] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 15 [05:53:34] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:34] [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 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-13(String), 2022-04-13(String) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53:34] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:34] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 15, param.plantSeq : 15 [05:53:34] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:34] [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.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 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 15(Integer), 0(Integer), 2022-04-13(String), 15(Integer), 0(Integer), null, 15(Integer), 0(Integer), 2022-04-12(String), 15(Integer), 0(Integer), 2022-04-11(String), 15(Integer), 0(Integer), 2022-04-13(String), 58998(Integer) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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.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 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-13(String), 15(Integer), 2022-04-13(String), 15(Integer) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:53:34] [DEBUG] controller.EssController - ----------------------------------------------- [05:53:34] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [05:53:34] [DEBUG] controller.EssController - ----------------------------------------------- [05:53: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 >= ? [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 01(String), 2022-03-30(String) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 15(Integer), 0(Integer), 2022-04-13(String), 15(Integer), 0(Integer), 05(String) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:53: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 [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 0(Integer), 2022-04-13(String), 15(Integer), 0(Integer), 2022-04-13(String) [05:53:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:53:35] [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 [05:53:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 15(Integer), 0(Integer), 15(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [05:53:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [05:53: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 [05:53:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 1(Integer), 2022-04-13(String), 15(Integer), 1(Integer), 2022-04-13(String) [05:53:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [06:27: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.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:27:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [06:27:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [06:27:53] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [06:27:54] [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:27:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [06:27:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [06:29:20] [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 = ? [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:29:20] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:29:20] [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() ) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 58999(Integer), 2022-04-13(String), 06(String), 29(String), 3815229(Long), 3724168(Long), 6(Long), 0(Integer), 54152(Integer), 56(Integer), 14141(Integer), 58(Integer), 0(Integer), 0(Integer), 0(Integer), 40(Integer), 0(Integer), 6(Integer), 3736(Integer), 30(Integer), 19(Integer), 40(Integer), 937(Integer), 0(Integer), 6813(Integer), 0(Integer), 262(Integer), 209(Integer), 3460(Integer), 3438(Integer), 0(Integer), 0(Integer), 0(Integer), 136(Integer), 512(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 295(Integer), 212(Integer), 217(Integer), 216(Integer), 206(Integer), 524(Integer), 654(Integer), 635(Integer), 648(Integer), 665(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:29:20] [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 = ? [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 20(String), 60(Integer) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:29:20] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 512,0,0,0, bms : 0,0,0,0 [06:29:20] [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() ) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 58999(Integer), 2022-04-13(String), 06(String), 29(String), 3815229(Long), 3724168(Long), 6(Long), 0(Integer), 54152(Integer), 56(Integer), 14141(Integer), 58(Integer), 0(Integer), 0(Integer), 0(Integer), 40(Integer), 0(Integer), 6(Integer), 3736(Integer), 30(Integer), 19(Integer), 40(Integer), 937(Integer), 0(Integer), 6813(Integer), 0(Integer), 262(Integer), 209(Integer), 3460(Integer), 3438(Integer), 0(Integer), 0(Integer), 0(Integer), 136(Integer), 512(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 295(Integer), 212(Integer), 217(Integer), 216(Integer), 206(Integer), 524(Integer), 654(Integer), 635(Integer), 648(Integer), 665(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:29:20] [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() ) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 58999(Integer), 2022-04-13(String), 06(String), 29(String), 3855889(Long), 3766975(Long), 5(Long), 0(Integer), 31423(Integer), 57(Integer), 54801(Integer), 58(Integer), 0(Integer), 0(Integer), 0(Integer), 40(Integer), 0(Integer), 5(Integer), 3804(Integer), 40(Integer), 26(Integer), 40(Integer), 939(Integer), 0(Integer), 6803(Integer), 0(Integer), 256(Integer), 202(Integer), 3462(Integer), 3437(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 295(Integer), 212(Integer), 217(Integer), 216(Integer), 206(Integer), 524(Integer), 654(Integer), 635(Integer), 648(Integer), 665(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:29:20] [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 = ? [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [06:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:29:20] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [06:29:20] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: 12627 [06:29:32] [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 = ? [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:29:32] [DEBUG] controller.RestAPIController - callPmsFault :: [60] [112.165.252.75] 음성 장수 is Fault PUSH [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:29:32] [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() ) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 1(Integer), 58999(Integer), 2022-04-13(String), 06(String), 29(String), 3815229(Long), 3724168(Long), 5(Long), 0(Integer), 54152(Integer), 56(Integer), 14141(Integer), 58(Integer), 0(Integer), 0(Integer), 0(Integer), 40(Integer), 0(Integer), 5(Integer), 3736(Integer), 30(Integer), 19(Integer), 40(Integer), 937(Integer), 0(Integer), 6813(Integer), 0(Integer), 262(Integer), 209(Integer), 3460(Integer), 3438(Integer), 0(Integer), 1(Integer), 0(Integer), 128(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 295(Integer), 212(Integer), 217(Integer), 216(Integer), 206(Integer), 524(Integer), 654(Integer), 635(Integer), 648(Integer), 665(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:29:32] [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 = ? [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:29:32] [DEBUG] service.CsService - [60:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [06:29:32] [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() ) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 0(Integer), 58999(Integer), 2022-04-13(String), 06(String), 29(String), 3815229(Long), 3724168(Long), 5(Long), 0(Integer), 54152(Integer), 56(Integer), 14141(Integer), 58(Integer), 0(Integer), 0(Integer), 0(Integer), 40(Integer), 0(Integer), 5(Integer), 3736(Integer), 30(Integer), 19(Integer), 40(Integer), 937(Integer), 0(Integer), 6813(Integer), 0(Integer), 262(Integer), 209(Integer), 3460(Integer), 3438(Integer), 0(Integer), 1(Integer), 0(Integer), 128(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 295(Integer), 212(Integer), 217(Integer), 216(Integer), 206(Integer), 524(Integer), 654(Integer), 635(Integer), 648(Integer), 665(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:29:32] [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() ) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 60(Integer), 2(Integer), 58999(Integer), 2022-04-13(String), 06(String), 29(String), 3855889(Long), 3766975(Long), 5(Long), 0(Integer), 31423(Integer), 57(Integer), 54801(Integer), 58(Integer), 0(Integer), 0(Integer), 0(Integer), 40(Integer), 0(Integer), 5(Integer), 3806(Integer), 40(Integer), 26(Integer), 40(Integer), 939(Integer), 0(Integer), 6803(Integer), 0(Integer), 256(Integer), 202(Integer), 3462(Integer), 3436(Integer), 3(Integer), 1(Integer), 0(Integer), 6278(Integer), 1(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 295(Integer), 212(Integer), 217(Integer), 216(Integer), 206(Integer), 524(Integer), 654(Integer), 635(Integer), 648(Integer), 665(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:29:32] [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 = ? [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 60(Integer) [06:29:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:29:32] [DEBUG] service.CsService - [60:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [06:29:32] [DEBUG] controller.RestAPIController - [60] smsMessage : 음성 장수 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: 12597 [06:31:16] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [06:31:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [06:31:21] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [06:31:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:31:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [06:31:21] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [06:31:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [06:31:21] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [06:31:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [06:31:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [06:31:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [06:31:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [06:31:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:31: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=? [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:31:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [06:31:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: gwangil, mappingList.size : 1 [06:31:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [06:31:21] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), 26DB8C6C6822E911FB644CF822A54865(String), PHONE(String) [06:31:21] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:31:21] [DEBUG] controller.EssController - ----------------------------------------------- [06:31:21] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [06:31:21] [DEBUG] controller.EssController - ----------------------------------------------- [06:31:22] [DEBUG] controller.EssController - ----------------------------------------------- [06:31:22] [DEBUG] controller.EssController - /index.co called [06:31:22] [DEBUG] controller.EssController - ----------------------------------------------- [06:31:22] [DEBUG] controller.EssController - ----------------------------------------------- [06:31:22] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 42, param.plantSeq : 0 [06:31:22] [DEBUG] controller.EssController - ----------------------------------------------- [06:31:22] [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.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:31:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [06:31:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:31:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:31:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 42(Integer), 0(Integer), 2022-04-13(String), 42(Integer), 0(Integer), null, 42(Integer), 0(Integer), 2022-04-12(String), 42(Integer), 0(Integer), 2022-04-11(String), 42(Integer), 0(Integer), 2022-04-13(String), 59000(Integer) [06:31:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:31: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.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:31:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-13(String), 42(Integer), 2022-04-13(String), 42(Integer) [06:31:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [06:31: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:31:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [06:31:23] [DEBUG] controller.EssController - ----------------------------------------------- [06:31:23] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [06:31:23] [DEBUG] controller.EssController - ----------------------------------------------- [06:31:23] [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:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-30(String) [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:31:23] [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:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 42(Integer), 0(Integer), 2022-04-13(String), 42(Integer), 0(Integer), 06(String) [06:31:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:31: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 [06:31:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-13(String), 42(Integer), 0(Integer), 2022-04-13(String) [06:31:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [06:31:24] [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:31:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [06:31:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [06:31: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 asc, d.pcsIdx asc [06:31:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-13(String), 42(Integer), 1(Integer), 2022-04-13(String) [06:31:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [06:50: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.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:50:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [06:50:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [06:50:31] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [06:50: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:50: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:50:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [06:50:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [06:50:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:50:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [06:50:33] [DEBUG] controller.JsonController - ------------------------------------- [06:50:33] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"end"}]} [06:50:33] [DEBUG] controller.JsonController - ------------------------------------- [06:50: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:50: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:50:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [06:50:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [06:50:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [06:50:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:50: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:50:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [06:50:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [06:50: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:50: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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [06:50:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [06:50: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:50:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [06:50:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:50:33] [DEBUG] controller.EssController - ----------------------------------------------- [06:50:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [06:50:33] [DEBUG] controller.EssController - ----------------------------------------------- [07:15:39] [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 [07:15:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [07:15:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [07:15:39] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 16 [07:15: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 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 [07:15:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [07:15:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:03:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:03:08] [DEBUG] controller.EssController - /index.co called [08:03:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:03:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:03:08] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 80, param.plantSeq : 0 [08:03:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:03:08] [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.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:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), null, 80(Integer), 0(Integer), 2022-04-12(String), 80(Integer), 0(Integer), 2022-04-11(String), 80(Integer), 0(Integer), 2022-04-13(String), 59009(Integer) [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:03:08] [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:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-13(String), 80(Integer), 2022-04-13(String), 80(Integer) [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:03:08] [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:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 21(String) [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(String) [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [08:03:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:03:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:03:09] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [08:03:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:03:09] [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:03:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-03-30(String) [08:03:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:03:09] [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:03:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [08:03:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:03:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [08:03:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), 08(String) [08:03:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:03:09] [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:03:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String) [08:03:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:03:09] [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:03:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [08:03:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:03:09] [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:03:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 1(Integer), 2022-04-13(String), 80(Integer), 1(Integer), 2022-04-13(String) [08:03:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:16: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 > 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 [08:16:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:16:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:16:19] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:16: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 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 [08:16:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:16:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:16: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 > 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 [08:16:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:16:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:16:22] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:16: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 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 [08:16:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:16:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:16: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.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 [08:16:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:16:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:16:53] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:16: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 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 [08:16:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:16:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:18:57] [DEBUG] controller.EssController - ----------------------------------------------- [08:18:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [08:18:57] [DEBUG] controller.EssController - ----------------------------------------------- [08:18:58] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:58] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:58] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:58] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:58] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:58] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:29: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.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 [08:29:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:29:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:29:03] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:29: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 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 [08:29:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:29:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:29:14] [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 [08:29:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:29:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:29:14] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:29:15] [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 [08:29:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:29:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:29: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 > 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 [08:29:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:29:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:29:37] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:29: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 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 [08:29:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:29:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:29: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.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 [08:29:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:29:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:29:55] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 15 [08:29: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 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 [08:29:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:29:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:31:01] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:03] [DEBUG] controller.EssController - ----------------------------------------------- [08:31:03] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [08:31:03] [DEBUG] controller.EssController - ----------------------------------------------- [08:31:04] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:04] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:04] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:04] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:05] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:05] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:05] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:31:09] [DEBUG] controller.EssController - /index.co called [08:31:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:31:09] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:15] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:31:15] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:31:15] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31:15] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:31:15] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:31:15] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:31:15] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/data/plant/trand_list_stat.co?plantSeq=85&inputDate=2022-04-13&type=temp&pcsIdx=1 [08:31:15] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:31:15] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:31:15] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:31:15] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:31:15] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31:15] [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:31:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:31:15] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:31:15] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [08:31:15] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:31:15] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), B59ADF1139CA530D111A3DFFDFB857B8(String), PHONE(String) [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:31:15] [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:31:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-13(String) [08:31:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:31:15] [DEBUG] controller.EssController - ----------------------------------------------- [08:31:15] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [08:31:15] [DEBUG] controller.EssController - ----------------------------------------------- [08:31:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:31:18] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:31:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:31:18] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:31:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:31:18] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [08:31:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:31:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:31:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:31:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:31:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31: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=? [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:31:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:31:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [08:31:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:31:18] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 6A59367D39E4675DFD0574050CCCCEAE(String), PHONE(String) [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:31:18] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:31:18] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [08:31:18] [DEBUG] controller.SignController - /ess/view.co [08:31:18] [DEBUG] controller.SignController - ....................................... [08:31:18] [DEBUG] controller.EssController - ----------------------------------------------- [08:31:18] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:31:18] [DEBUG] controller.EssController - ----------------------------------------------- [08:31: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.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:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:31:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-12(String), 85(Integer), 0(Integer), 2022-04-11(String), 85(Integer), 0(Integer), 2022-04-13(String), 59012(Integer) [08:31:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31: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.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:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 85(Integer), 2022-04-13(String), 85(Integer) [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:31:19] [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:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-30(String) [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31: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 [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 08(String) [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:31: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:31:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String) [08:31:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:31:20] [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:31:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [08:31:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:31:20] [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:31:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-13(String) [08:31:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:35:04] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [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: 92(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: 92(Integer), 2022-04-13(String), 08(String), 35(String), 8.0(Float), 12.3(Float), 0.0(Float), 1388162.0(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: 92(Integer) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 1(Integer), 511.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.7(Double), 562.7(Double), 393.9(Double), 15.3(Double), 0.0(Double), 800.0(Double), 66787.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 2(Integer), 457.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.7(Double), 561.5(Double), 393.0(Double), 15.1(Double), 0.0(Double), 700.0(Double), 79989.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 3(Integer), 466.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.8(Double), 580.3(Double), 464.2(Double), 14.7(Double), 0.0(Double), 700.0(Double), 68479.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 4(Integer), 564.0(Double), 0.0(Double), 0.6(Double), 0.0(Double), 0.8(Double), 576.2(Double), 461.0(Double), 14.8(Double), 0.0(Double), 700.0(Double), 71886.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 5(Integer), 406.0(Double), 0.0(Double), 0.4(Double), 0.0(Double), 0.6(Double), 571.8(Double), 343.1(Double), 16.2(Double), 0.0(Double), 700.0(Double), 81776.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 6(Integer), 519.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.7(Double), 574.8(Double), 402.3(Double), 14.6(Double), 0.0(Double), 700.0(Double), 81589.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 7(Integer), 400.0(Double), 0.0(Double), 0.4(Double), 0.0(Double), 0.7(Double), 567.7(Double), 397.4(Double), 14.6(Double), 0.0(Double), 600.0(Double), 66053.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 8(Integer), 457.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.8(Double), 568.5(Double), 454.8(Double), 15.0(Double), 0.0(Double), 700.0(Double), 77222.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 9(Integer), 188.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.4(Double), 450.1(Double), 180.0(Double), 15.0(Double), 0.0(Double), 400.0(Double), 65847.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 10(Integer), 575.0(Double), 0.0(Double), 0.6(Double), 0.0(Double), 0.7(Double), 572.4(Double), 400.7(Double), 14.5(Double), 0.0(Double), 800.0(Double), 78291.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 11(Integer), 342.0(Double), 0.0(Double), 0.3(Double), 0.0(Double), 0.6(Double), 567.6(Double), 340.5(Double), 14.8(Double), 0.0(Double), 700.0(Double), 78512.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 12(Integer), 407.0(Double), 0.0(Double), 0.4(Double), 0.0(Double), 0.7(Double), 579.7(Double), 405.8(Double), 14.9(Double), 0.0(Double), 700.0(Double), 79904.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 13(Integer), 563.0(Double), 0.0(Double), 0.6(Double), 0.0(Double), 0.8(Double), 584.5(Double), 467.6(Double), 14.6(Double), 0.0(Double), 900.0(Double), 79049.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 14(Integer), 350.0(Double), 0.0(Double), 0.3(Double), 0.0(Double), 0.4(Double), 523.9(Double), 209.6(Double), 14.2(Double), 0.0(Double), 500.0(Double), 77937.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 15(Integer), 469.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.7(Double), 579.8(Double), 405.9(Double), 14.1(Double), 0.0(Double), 600.0(Double), 71163.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 16(Integer), 227.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.4(Double), 451.5(Double), 180.6(Double), 15.1(Double), 0.0(Double), 400.0(Double), 67916.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 17(Integer), 289.0(Double), 0.0(Double), 0.3(Double), 0.0(Double), 0.4(Double), 579.8(Double), 231.9(Double), 14.4(Double), 0.0(Double), 600.0(Double), 72027.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 18(Integer), 351.0(Double), 0.0(Double), 0.4(Double), 0.0(Double), 0.6(Double), 581.0(Double), 348.6(Double), 14.5(Double), 0.0(Double), 400.0(Double), 48828.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18888(Integer), 92(Integer), 19(Integer), 458.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.7(Double), 567.4(Double), 397.2(Double), 14.6(Double), 0.0(Double), 700.0(Double), 74907.0(Double), 01(String) [08:35:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:09] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:35:09] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:35:09] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:09] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:35:09] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:35:09] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:35:09] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [08:35:09] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:35:09] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:35:09] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:35:09] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:35:09] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:09] [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:35:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:35:09] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:35:09] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [08:35:09] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:35:09] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), A5CF8E8B4E70C82717F83EEAE35724E9(String), PHONE(String) [08:35:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:35:09] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [08:35:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:35:11] [DEBUG] controller.EssController - ----------------------------------------------- [08:35:11] [DEBUG] controller.EssController - /index.co called [08:35:11] [DEBUG] controller.EssController - ----------------------------------------------- [08:35:11] [DEBUG] controller.EssController - ----------------------------------------------- [08:35:11] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:35:11] [DEBUG] controller.EssController - ----------------------------------------------- [08: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.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:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-12(String), 85(Integer), 0(Integer), 2022-04-11(String), 85(Integer), 0(Integer), 2022-04-13(String), 59012(Integer) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08: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 [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 85(Integer), 2022-04-13(String), 85(Integer) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08: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 ?, ? [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08: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 [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:35: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:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-30(String) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:11] [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:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 08(String) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:11] [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:35:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String) [08:35:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:35:12] [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:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:35:12] [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:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-13(String) [08:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08: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 [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-13(String), 08(String), 35(String), 7.6(Float), 14.6(Float), 0.1(Float), 29149.0(Float), 01(String) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18889(Integer), 99(Integer), 1(Integer), 1900.0(Double), 0.0(Double), 1.9(Double), 6553.4(Double), 2.7(Double), 535.2(Double), 1445.0(Double), 38.5(Double), 6474.6(Double), 3700.0(Double), 7257.0(Double), 01(String) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18889(Integer), 99(Integer), 2(Integer), 1900.0(Double), 0.0(Double), 1.9(Double), 0.3(Double), 2.6(Double), 538.6(Double), 1400.4(Double), 40.4(Double), 82.0(Double), 3700.0(Double), 7363.0(Double), 01(String) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18889(Integer), 99(Integer), 3(Integer), 1900.0(Double), 0.0(Double), 1.9(Double), 0.3(Double), 2.8(Double), 539.1(Double), 1509.6(Double), 38.9(Double), 81.0(Double), 3600.0(Double), 7188.0(Double), 01(String) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18889(Integer), 99(Integer), 4(Integer), 1900.0(Double), 0.0(Double), 1.9(Double), 0.3(Double), 2.3(Double), 540.9(Double), 1244.1(Double), 40.0(Double), 82.0(Double), 3700.0(Double), 7341.0(Double), 01(String) [08:35:15] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35: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:35:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-30(String) [08:35:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35: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 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 08(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35: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:35:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String) [08:35:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:35:20] [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:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:35:20] [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:35:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-13(String) [08:35:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:36:34] [DEBUG] controller.EssController - ----------------------------------------------- [08:36:34] [DEBUG] controller.EssController - /index.co called [08:36:34] [DEBUG] controller.EssController - ----------------------------------------------- [08:36:34] [DEBUG] controller.EssController - ----------------------------------------------- [08:36:34] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 80, param.plantSeq : 0 [08:36:34] [DEBUG] controller.EssController - ----------------------------------------------- [08:36:34] [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.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:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), null, 80(Integer), 0(Integer), 2022-04-12(String), 80(Integer), 0(Integer), 2022-04-11(String), 80(Integer), 0(Integer), 2022-04-13(String), 59012(Integer) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:36: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.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:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-13(String), 80(Integer), 2022-04-13(String), 80(Integer) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:36: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 21(String) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(String) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:36: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:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-03-30(String) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:36: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:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), 08(String) [08:36:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:36: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 desc, d.pcsIdx asc [08:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String) [08:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:36:35] [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:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [08:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:36: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:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 1(Integer), 2022-04-13(String), 80(Integer), 1(Integer), 2022-04-13(String) [08:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:51: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 > 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 [08:51:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:51:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:51:42] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:51: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 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 [08:51:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:51:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:51: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.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 [08:51:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:51:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:51:47] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:51: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 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 [08:51:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:51:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:51:56] [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 [08:51:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:51:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:51:56] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [08:51:56] [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 [08:51:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:51:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:52: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 > 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 [08:52:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:52:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:52:34] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:52: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 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 [08:52:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:52:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:52: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.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 [08:52:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:52:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:52:41] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 16 [08:52: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 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 [08:52:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:52:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:53:04] [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 [08:53:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:53:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:53:04] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 16 [08:53:05] [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 [08:53:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:53:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:53: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.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 [08:53:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [08:53:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:53:53] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:53:54] [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 [08:53:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [08:53:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [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: 92(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: 92(Integer), 2022-04-13(String), 09(String), 05(String), 2.4(Float), 370.5(Float), 0.4(Float), 1245114.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: 92(Integer) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 1(Integer), 162.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.3(Double), 540.2(Double), 162.1(Double), 15.8(Double), 0.0(Double), 900.0(Double), 66787.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 2(Integer), 166.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.3(Double), 542.9(Double), 162.9(Double), 15.8(Double), 0.0(Double), 900.0(Double), 79989.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 3(Integer), 218.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.4(Double), 546.7(Double), 218.7(Double), 15.4(Double), 0.0(Double), 800.0(Double), 68479.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 4(Integer), -1.0(Double), 0.0(Double), -0.0(Double), 0.0(Double), 6553.5(Double), 2185.0(Double), 1.4319617E7(Double), -0.1(Double), 0.0(Double), 197000.0(Double), -1.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 5(Integer), 169.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.2(Double), 460.7(Double), 92.1(Double), 16.8(Double), 0.0(Double), 800.0(Double), 81776.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 6(Integer), 220.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.4(Double), 545.2(Double), 218.1(Double), 15.1(Double), 0.0(Double), 900.0(Double), 81589.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 7(Integer), 166.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.3(Double), 525.9(Double), 157.8(Double), 15.0(Double), 0.0(Double), 700.0(Double), 66053.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 8(Integer), 271.0(Double), 0.0(Double), 0.3(Double), 0.0(Double), 0.5(Double), 538.3(Double), 269.1(Double), 15.5(Double), 0.0(Double), 900.0(Double), 77223.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 9(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 649.0(Double), 0.0(Double), 15.3(Double), 0.0(Double), 400.0(Double), 65847.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 10(Integer), 216.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.3(Double), 542.1(Double), 162.6(Double), 14.9(Double), 0.0(Double), 900.0(Double), 78292.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 11(Integer), 109.0(Double), 0.0(Double), 0.1(Double), 0.0(Double), 0.2(Double), 508.6(Double), 101.7(Double), 15.2(Double), 0.0(Double), 800.0(Double), 78513.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 12(Integer), 165.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.3(Double), 550.4(Double), 165.1(Double), 15.3(Double), 0.0(Double), 800.0(Double), 79904.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 13(Integer), 223.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.4(Double), 542.4(Double), 216.9(Double), 15.0(Double), 0.0(Double), 1100.0(Double), 79049.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 14(Integer), 165.0(Double), 0.0(Double), 0.2(Double), 0.0(Double), 0.2(Double), 423.2(Double), 84.6(Double), 14.8(Double), 0.0(Double), 700.0(Double), 77937.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 15(Integer), -1.0(Double), 0.0(Double), -0.0(Double), 0.0(Double), 6553.7(Double), 2184.5(Double), 1.4316777E7(Double), -0.1(Double), 0.0(Double), 160500.0(Double), -1.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 16(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 652.4(Double), 0.0(Double), 15.5(Double), 0.0(Double), 500.0(Double), 67916.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 17(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 654.6(Double), 0.0(Double), 14.9(Double), 0.0(Double), 600.0(Double), 72027.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 18(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 650.1(Double), 0.0(Double), 14.8(Double), 0.0(Double), 500.0(Double), 48828.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18895(Integer), 92(Integer), 19(Integer), 111.0(Double), 0.0(Double), 0.1(Double), 0.0(Double), 0.2(Double), 539.7(Double), 107.9(Double), 15.1(Double), 0.0(Double), 800.0(Double), 74907.0(Double), 01(String) [09:05:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09: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 [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-13(String), 09(String), 05(String), 18.3(Float), 20.6(Float), 0.1(Float), 29154.0(Float), 01(String) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18896(Integer), 99(Integer), 1(Integer), 4600.0(Double), 0.0(Double), 4.6(Double), 0.3(Double), 7.2(Double), 562.5(Double), 4050.0(Double), 42.8(Double), 95.0(Double), 5100.0(Double), 7258.0(Double), 01(String) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18896(Integer), 99(Integer), 2(Integer), 4600.0(Double), 0.0(Double), 4.6(Double), 0.9(Double), 7.2(Double), 553.8(Double), 3987.4(Double), 44.4(Double), 95.0(Double), 5200.0(Double), 7364.0(Double), 01(String) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18896(Integer), 99(Integer), 3(Integer), 4500.0(Double), 0.0(Double), 4.5(Double), 0.6(Double), 7.0(Double), 559.1(Double), 3913.9(Double), 42.9(Double), 95.0(Double), 5100.0(Double), 7190.0(Double), 01(String) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18896(Integer), 99(Integer), 4(Integer), 4600.0(Double), 0.0(Double), 4.8(Double), 1.4(Double), 6.9(Double), 556.4(Double), 3839.2(Double), 44.3(Double), 95.0(Double), 5200.0(Double), 7342.0(Double), 01(String) [09:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:42] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:05:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:05:46] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [09:05:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:05:46] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [09:05:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:05:46] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [09:05:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:05:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [09:05:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [09:05:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [09:05:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:46] [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:05:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:05:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:05:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [09:05:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:05:46] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 3EA0C336AD051A8ED6A8AF22361D98BB(String), PHONE(String) [09:05:46] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:46] [DEBUG] controller.EssController - ----------------------------------------------- [09:05:46] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [09:05:46] [DEBUG] controller.EssController - ----------------------------------------------- [09:05:48] [DEBUG] controller.EssController - ----------------------------------------------- [09:05:48] [DEBUG] controller.EssController - /index.co called [09:05:48] [DEBUG] controller.EssController - ----------------------------------------------- [09:05:48] [DEBUG] controller.EssController - ----------------------------------------------- [09:05:48] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [09:05:48] [DEBUG] controller.EssController - ----------------------------------------------- [09:05:48] [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.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:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-12(String), 85(Integer), 0(Integer), 2022-04-11(String), 85(Integer), 0(Integer), 2022-04-13(String), 59015(Integer) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:48] [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:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 85(Integer), 2022-04-13(String), 85(Integer) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:48] [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:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:05: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:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:05: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 >= ? [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-30(String) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05: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 [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 09(String) [09:05:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05: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 desc, d.pcsIdx asc [09:05:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String) [09:05:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:05:49] [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:05:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [09:05:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:05: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 [09:05:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-13(String) [09:05:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:06:23] [DEBUG] controller.EssController - ----------------------------------------------- [09:06:23] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [09:06:23] [DEBUG] controller.EssController - ----------------------------------------------- [09:06:23] [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 [09:06:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-13(String), 2022-04-13(String) [09:06:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:06:24] [DEBUG] controller.EssController - ----------------------------------------------- [09:06:24] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [09:06:24] [DEBUG] controller.EssController - ----------------------------------------------- [09:06: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.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:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), null, 86(Integer), 0(Integer), 2022-04-12(String), 86(Integer), 0(Integer), 2022-04-11(String), 86(Integer), 0(Integer), 2022-04-13(String), 59015(Integer) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:06: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 [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-13(String), 86(Integer), 2022-04-13(String), 86(Integer) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:06: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 ?, ? [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:06: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 >= ? [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-03-30(String) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:06: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 [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 09(String) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:06: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 [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-13(String) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:06:24] [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:06:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [09:06:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:06: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 [09:06:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-13(String), 86(Integer), 1(Integer), 2022-04-13(String) [09:06:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:07:03] [DEBUG] controller.EssController - ----------------------------------------------- [09:07:03] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [09:07:03] [DEBUG] controller.EssController - ----------------------------------------------- [09:07:05] [DEBUG] controller.EssController - ----------------------------------------------- [09:07:05] [DEBUG] controller.EssController - /index.co called [09:07:05] [DEBUG] controller.EssController - ----------------------------------------------- [09:07:05] [DEBUG] controller.EssController - ----------------------------------------------- [09:07:05] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 0 [09:07:05] [DEBUG] controller.EssController - ----------------------------------------------- [09:07:05] [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.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:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), null, 86(Integer), 0(Integer), 2022-04-12(String), 86(Integer), 0(Integer), 2022-04-11(String), 86(Integer), 0(Integer), 2022-04-13(String), 59015(Integer) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:07:05] [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:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-13(String), 86(Integer), 2022-04-13(String), 86(Integer) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:07:05] [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:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:07:05] [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:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-03-30(String) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:07:05] [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:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 09(String) [09:07:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:07: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 desc, d.pcsIdx asc [09:07:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-13(String) [09:07:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:07: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.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:07:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [09:07:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:07: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 [09:07:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-13(String), 86(Integer), 1(Integer), 2022-04-13(String) [09:07:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:13:43] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:13:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:13:48] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :tk2340, login_channel : null [09:13:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:13:48] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [09:13:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:13:48] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [09:13:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:13:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : tk2340 [09:13:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [09:13:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [09:13:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:48] [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:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:13:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: tk2340, mappingList.size : 1 [09:13:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:13:48] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[tk2340] roles roles [0]ROLE_01 [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String), 01(String), 49955C124855E60A465950FB8CFCB818(String), PHONE(String) [09:13:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:13:49] [DEBUG] controller.EssController - ----------------------------------------------- [09:13:49] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [09:13:49] [DEBUG] controller.EssController - ----------------------------------------------- [09:13:50] [DEBUG] controller.EssController - ----------------------------------------------- [09:13:50] [DEBUG] controller.EssController - /index.co called [09:13:50] [DEBUG] controller.EssController - ----------------------------------------------- [09:13:50] [DEBUG] controller.EssController - ----------------------------------------------- [09:13:50] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 41, param.plantSeq : 0 [09:13:50] [DEBUG] controller.EssController - ----------------------------------------------- [09:13:50] [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.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:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 41(Integer), 0(Integer), 2022-04-13(String), 41(Integer), 0(Integer), null, 41(Integer), 0(Integer), 2022-04-12(String), 41(Integer), 0(Integer), 2022-04-11(String), 41(Integer), 0(Integer), 2022-04-13(String), 59016(Integer) [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:51] [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:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-13(String), 41(Integer), 2022-04-13(String), 41(Integer) [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [09:13:51] [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:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:13:51] [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:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:13:51] [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:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-03-30(String) [09:13:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13:52] [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:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [09:13:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:13:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [09:13:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 41(Integer), 0(Integer), 2022-04-13(String), 41(Integer), 0(Integer), 09(String) [09:13:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:13: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 [09:13:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 0(Integer), 2022-04-13(String), 41(Integer), 0(Integer), 2022-04-13(String) [09:13:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:13:53] [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:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 41(Integer), 0(Integer), 41(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [09:13:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:13: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 [09:13:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 1(Integer), 2022-04-13(String), 41(Integer), 1(Integer), 2022-04-13(String) [09:13:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:21: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 > 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 [09:21:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [09:21:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:21:29] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:21: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 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 [09:21:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [09:21:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [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: 92(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: 92(Integer), 2022-04-13(String), 09(String), 35(String), 18.1(Float), 21.9(Float), 0.0(Float), 1388171.0(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: 92(Integer) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 1(Integer), 1062.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.4(Double), 588.1(Double), 823.3(Double), 16.1(Double), 0.0(Double), 1300.0(Double), 66788.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 2(Integer), 1057.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.5(Double), 582.9(Double), 874.3(Double), 16.2(Double), 0.0(Double), 1300.0(Double), 79990.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 3(Integer), 1055.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.6(Double), 587.2(Double), 939.5(Double), 15.8(Double), 0.0(Double), 1200.0(Double), 68479.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 4(Integer), 1125.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.5(Double), 583.9(Double), 875.8(Double), 15.8(Double), 0.0(Double), 1400.0(Double), 71887.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 5(Integer), 1047.0(Double), 0.0(Double), 1.0(Double), 0.0(Double), 1.4(Double), 573.0(Double), 802.2(Double), 17.2(Double), 0.0(Double), 1200.0(Double), 81777.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 6(Integer), 1136.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.5(Double), 594.2(Double), 891.3(Double), 15.4(Double), 0.0(Double), 1300.0(Double), 81589.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 7(Integer), 920.0(Double), 0.0(Double), 0.9(Double), 0.0(Double), 1.4(Double), 582.2(Double), 815.0(Double), 15.4(Double), 0.0(Double), 1100.0(Double), 66053.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 8(Integer), 978.0(Double), 0.0(Double), 1.0(Double), 0.0(Double), 1.4(Double), 584.1(Double), 817.8(Double), 15.7(Double), 0.0(Double), 1300.0(Double), 77223.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 9(Integer), 615.0(Double), 0.0(Double), 0.6(Double), 0.0(Double), 1.0(Double), 584.6(Double), 584.6(Double), 15.1(Double), 0.0(Double), 600.0(Double), 65847.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 10(Integer), 1135.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.4(Double), 593.5(Double), 830.9(Double), 15.1(Double), 0.0(Double), 1400.0(Double), 78292.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 11(Integer), 910.0(Double), 0.0(Double), 0.9(Double), 0.0(Double), 1.4(Double), 573.4(Double), 802.7(Double), 15.5(Double), 0.0(Double), 1200.0(Double), 78513.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 12(Integer), 1095.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.5(Double), 592.4(Double), 888.7(Double), 15.6(Double), 0.0(Double), 1300.0(Double), 79905.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 13(Integer), 1119.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.5(Double), 584.5(Double), 876.7(Double), 15.4(Double), 0.0(Double), 1500.0(Double), 79049.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 14(Integer), 890.0(Double), 0.0(Double), 0.9(Double), 0.0(Double), 1.1(Double), 586.0(Double), 644.6(Double), 15.1(Double), 0.0(Double), 1000.0(Double), 77938.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 15(Integer), 1001.0(Double), 0.0(Double), 1.0(Double), 0.0(Double), 1.4(Double), 583.5(Double), 816.9(Double), 14.9(Double), 0.0(Double), 1200.0(Double), 71163.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 16(Integer), 549.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.8(Double), 463.1(Double), 370.5(Double), 15.4(Double), 0.0(Double), 700.0(Double), 67916.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 17(Integer), 760.0(Double), 0.0(Double), 0.8(Double), 0.0(Double), 1.0(Double), 586.1(Double), 586.1(Double), 14.8(Double), 0.0(Double), 1000.0(Double), 72027.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 18(Integer), 640.0(Double), 0.0(Double), 0.6(Double), 0.0(Double), 1.1(Double), 577.7(Double), 635.5(Double), 14.6(Double), 0.0(Double), 700.0(Double), 48828.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18907(Integer), 92(Integer), 19(Integer), 1038.0(Double), 0.0(Double), 1.0(Double), 0.0(Double), 1.4(Double), 573.9(Double), 803.4(Double), 15.5(Double), 0.0(Double), 1200.0(Double), 74907.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09: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 [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-13(String), 09(String), 35(String), 12.9(Float), 29.7(Float), 0.1(Float), 29165.0(Float), 01(String) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18908(Integer), 99(Integer), 1(Integer), 3200.0(Double), 0.0(Double), 3.2(Double), 0.3(Double), 5.0(Double), 558.4(Double), 2791.8(Double), 47.4(Double), 90.0(Double), 7400.0(Double), 7261.0(Double), 01(String) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18908(Integer), 99(Integer), 2(Integer), 3300.0(Double), 0.0(Double), 3.4(Double), 0.9(Double), 4.9(Double), 549.8(Double), 2694.0(Double), 49.2(Double), 91.0(Double), 7500.0(Double), 7367.0(Double), 01(String) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18908(Integer), 99(Integer), 3(Integer), 3200.0(Double), 0.0(Double), 3.3(Double), 1.1(Double), 4.8(Double), 547.6(Double), 2628.3(Double), 47.5(Double), 92.0(Double), 7300.0(Double), 7192.0(Double), 01(String) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18908(Integer), 99(Integer), 4(Integer), 3200.0(Double), 0.0(Double), 3.3(Double), 0.9(Double), 4.6(Double), 544.9(Double), 2506.4(Double), 49.1(Double), 91.0(Double), 7500.0(Double), 7345.0(Double), 01(String) [09:35:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:47:58] [DEBUG] controller.EssController - ----------------------------------------------- [09:47:58] [DEBUG] controller.EssController - /index.co called [09:47:58] [DEBUG] controller.EssController - ----------------------------------------------- [09:47:58] [DEBUG] controller.EssController - ----------------------------------------------- [09:47:58] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 80, param.plantSeq : 0 [09:47:58] [DEBUG] controller.EssController - ----------------------------------------------- [09:47:58] [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.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:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), null, 80(Integer), 0(Integer), 2022-04-12(String), 80(Integer), 0(Integer), 2022-04-11(String), 80(Integer), 0(Integer), 2022-04-13(String), 59019(Integer) [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:47:58] [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:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-13(String), 80(Integer), 2022-04-13(String), 80(Integer) [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:47:58] [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:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 21(String) [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(String) [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [09:47:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:47:59] [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:47:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-03-30(String) [09:47:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:47:59] [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:47:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [09:47:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:47:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [09:47:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), 09(String) [09:47:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:47:59] [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:47:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-13(String) [09:47:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:47:59] [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:47:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [09:47:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:48:00] [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:48:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 1(Integer), 2022-04-13(String), 80(Integer), 1(Integer), 2022-04-13(String) [09:48:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:59: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 [09:59:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [09:59:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:59:07] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [09:59:08] [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 [09:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [09:59:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:59:44] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:59:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:59:48] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [09:59:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:59:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:59:48] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [09:59:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:59:48] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [09:59:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:59:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [09:59:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [09:59:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [09:59:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:59:48] [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:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:59:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:59:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [09:59:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:59:48] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 74D0630F754F379429624E3DA96BF735(String), PHONE(String) [09:59:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:59:48] [DEBUG] controller.EssController - ----------------------------------------------- [09:59:48] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [09:59:48] [DEBUG] controller.EssController - ----------------------------------------------- [09:59:50] [DEBUG] controller.EssController - ----------------------------------------------- [09:59:50] [DEBUG] controller.EssController - /index.co called [09:59:50] [DEBUG] controller.EssController - ----------------------------------------------- [09:59:50] [DEBUG] controller.EssController - ----------------------------------------------- [09:59:50] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [09:59:50] [DEBUG] controller.EssController - ----------------------------------------------- [09:59:50] [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.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:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-12(String), 85(Integer), 0(Integer), 2022-04-11(String), 85(Integer), 0(Integer), 2022-04-13(String), 59020(Integer) [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:59:50] [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:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 85(Integer), 2022-04-13(String), 85(Integer) [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:59:50] [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:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [09:59:50] [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:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [09:59:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:59:51] [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:59:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-30(String) [09:59:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:59:52] [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:59:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [09:59:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:59:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [09:59:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 09(String) [09:59:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:59:52] [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:59:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String) [09:59:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:59:52] [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:59:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [09:59:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:59:52] [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:59:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-13(String) [09:59:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:59: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.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 [09:59:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [09:59:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:59:55] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [09:59:56] [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 [09:59:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [09:59:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:00:02] [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 [10:00:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:00:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:00:02] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:00:02] [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 [10:00:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:00:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:00:05] [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 [10:00:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:00:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:00:05] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 16 [10:00:05] [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 [10:00:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:00:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:02:40] [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 [10:02:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:02:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:02:40] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 46 [10:02: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 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 [10:02:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:02:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:03:01] [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 [10:03:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:03:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:03:01] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [10:03:02] [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 [10:03:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:03:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:03: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 [10:03:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:03:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:03:07] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:03: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 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 [10:03:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:03:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [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.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 [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:03:25] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [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 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 [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:03:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [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: 92(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: 92(Integer), 2022-04-13(String), 10(String), 05(String), 18.1(Float), 33.8(Float), 0.0(Float), 1388185.0(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: 92(Integer) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 1(Integer), 1053.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.4(Double), 580.0(Double), 812.0(Double), 16.3(Double), 0.0(Double), 2000.0(Double), 66788.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 2(Integer), 1130.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.5(Double), 587.1(Double), 880.7(Double), 16.7(Double), 0.0(Double), 2000.0(Double), 79990.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 3(Integer), 947.0(Double), 0.0(Double), 0.9(Double), 0.0(Double), 1.4(Double), 588.1(Double), 823.3(Double), 16.3(Double), 0.0(Double), 1900.0(Double), 68480.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 4(Integer), 1125.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.4(Double), 583.0(Double), 816.2(Double), 16.4(Double), 0.0(Double), 2100.0(Double), 71888.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 5(Integer), 1061.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.4(Double), 581.0(Double), 813.4(Double), 17.8(Double), 0.0(Double), 1900.0(Double), 81777.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 6(Integer), 1192.0(Double), 0.0(Double), 1.2(Double), 0.0(Double), 1.6(Double), 589.5(Double), 943.1(Double), 15.9(Double), 0.0(Double), 2100.0(Double), 81590.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 7(Integer), 909.0(Double), 0.0(Double), 0.9(Double), 0.0(Double), 1.3(Double), 601.0(Double), 781.3(Double), 15.8(Double), 0.0(Double), 1700.0(Double), 66054.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 8(Integer), 1008.0(Double), 0.0(Double), 1677722.6(Double), 0.0(Double), 1821.6(Double), 192.0(Double), 349807.9(Double), -1560.6(Double), 0.0(Double), 1800.0(Double), 77224.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 9(Integer), 532.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.9(Double), 587.0(Double), 528.3(Double), 15.8(Double), 0.0(Double), 1100.0(Double), 65848.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 10(Integer), 1066.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.4(Double), 587.9(Double), 823.1(Double), 15.2(Double), 0.0(Double), 2100.0(Double), 78293.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 11(Integer), 939.0(Double), 0.0(Double), 0.9(Double), 0.0(Double), 1.4(Double), 585.2(Double), 819.3(Double), 16.0(Double), 0.0(Double), 1800.0(Double), 78514.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 12(Integer), 1073.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.5(Double), 595.0(Double), 892.4(Double), 16.2(Double), 0.0(Double), 1900.0(Double), 79905.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 13(Integer), 1143.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.5(Double), 595.8(Double), 893.7(Double), 15.8(Double), 0.0(Double), 2300.0(Double), 79050.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 14(Integer), 836.0(Double), 0.0(Double), 0.8(Double), 0.0(Double), 1.1(Double), 590.0(Double), 649.0(Double), 15.8(Double), 0.0(Double), 1600.0(Double), 77938.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 15(Integer), 1084.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.4(Double), 595.6(Double), 833.8(Double), 15.3(Double), 0.0(Double), 1900.0(Double), 71164.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 16(Integer), 477.0(Double), 0.0(Double), 0.5(Double), 0.0(Double), 0.7(Double), 578.2(Double), 404.7(Double), 16.1(Double), 0.0(Double), 1100.0(Double), 67917.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 17(Integer), 791.0(Double), 0.0(Double), 0.8(Double), 0.0(Double), 1.0(Double), 604.2(Double), 604.2(Double), 15.4(Double), 0.0(Double), 1500.0(Double), 72028.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 18(Integer), 649.0(Double), 0.0(Double), 0.6(Double), 0.0(Double), 1.1(Double), 584.2(Double), 642.6(Double), 14.8(Double), 0.0(Double), 1100.0(Double), 48829.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( 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: 18914(Integer), 92(Integer), 19(Integer), 1080.0(Double), 0.0(Double), 1.1(Double), 0.0(Double), 1.4(Double), 594.7(Double), 832.6(Double), 15.9(Double), 0.0(Double), 1900.0(Double), 74908.0(Double), 01(String) [10:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10: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 [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-13(String), 10(String), 05(String), 15.4(Float), 37.0(Float), 0.2(Float), 29172.0(Float), 01(String) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18915(Integer), 99(Integer), 1(Integer), 3900.0(Double), 0.0(Double), 3.9(Double), 0.3(Double), 5.9(Double), 553.5(Double), 3265.8(Double), 48.0(Double), 92.0(Double), 9200.0(Double), 7263.0(Double), 01(String) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18915(Integer), 99(Integer), 2(Integer), 3900.0(Double), 0.0(Double), 4.0(Double), 0.9(Double), 6.0(Double), 557.8(Double), 3346.8(Double), 50.3(Double), 93.0(Double), 9300.0(Double), 7369.0(Double), 01(String) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18915(Integer), 99(Integer), 3(Integer), 3900.0(Double), 0.0(Double), 4.0(Double), 1.2(Double), 5.8(Double), 562.6(Double), 3263.3(Double), 48.6(Double), 94.0(Double), 9200.0(Double), 7194.0(Double), 01(String) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18915(Integer), 99(Integer), 4(Integer), 3900.0(Double), 0.0(Double), 4.1(Double), 1.5(Double), 5.7(Double), 562.9(Double), 3208.7(Double), 49.8(Double), 93.0(Double), 9300.0(Double), 7346.0(Double), 01(String) [10:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:07: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 > 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 [10:07:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:07:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:07:21] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10: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 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 [10:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10: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 > 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 [10:07:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:07:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:07:27] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [10: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 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 [10:07:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:07:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:07:46] [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 [10:07:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 74(Integer), 2022-04-13(String), 2022-04-13(String) [10:07:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:46] [DEBUG] controller.PmsController - connectPmsAjax ---------------->> ip : 112.184.81.3, port : 502, pcsIdx : 1, pcsMaker : 12 [10:07:50] [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 [10:07:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 74(Integer), 2022-04-13(String), 2022-04-13(String) [10:07:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:50] [DEBUG] controller.PmsController - connectPmsAjax ---------------->> ip : 112.184.81.3, port : 502, pcsIdx : 2, pcsMaker : 12 [10:07: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 [10:07:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 2022-04-13(String), 2022-04-13(String) [10:07:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:57] [DEBUG] controller.PmsController - connectPmsAjax ---------------->> ip : 59.2.53.143, port : 502, pcsIdx : 1, pcsMaker : 12 [10:08: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 [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:08:17] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [10:08:17] [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:08:17] [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:08:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:08:17] [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:08:17] [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:08:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:08: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.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:08:17] [DEBUG] controller.JsonController - ------------------------------------- [10:08:17] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"end"}]} [10:08:17] [DEBUG] controller.JsonController - ------------------------------------- [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:08: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.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:08:17] [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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:08:17] [DEBUG] controller.EssController - ----------------------------------------------- [10:08:17] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:08:17] [DEBUG] controller.EssController - ----------------------------------------------- [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:08:17] [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:08:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:08:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:08: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 > 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 [10:08:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:08:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:08:22] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [10:08: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 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 [10:08:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:08:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:08: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 > 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 [10:08:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:08:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:08:24] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:08: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 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 [10:08:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:08:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:10:52] [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 [10:10:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:10:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:10:52] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:10: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 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 [10:10:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:10:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:11:11] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:11:22] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:11:22] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :admin03, login_channel : null [10:11:22] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:22] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:11:22] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_05 [10:11:22] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:11:22] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [10:11:22] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:11:22] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : admin03 [10:11:22] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:11:22] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [10:11:22] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:22] [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:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [10:11:22] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:11:22] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: admin03, mappingList.size : 79 [10:11:22] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:11:22] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[admin03] roles roles [0]ROLE_05 [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String), 05(String), 0F381E8184545BEF455898E971606DF6(String), WEB(String) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:11:22] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:11:22] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [10:11:22] [DEBUG] controller.SignController - /monitoring/dashboard.co [10:11:22] [DEBUG] controller.SignController - ....................................... [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, 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.pvPower/p.supplyPower as pvPercent, (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.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.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, 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, count(seq) as count from t_pmsdata_2022 where pcsIdx=0 and inputDate = ? group by plantSeq ) d2 where d.plantSeq = d2.plantSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? ) d on p.seq = d.plantSeq ) p left join ( select inputHour as weatherHour, weatherCode, cloud from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ?) ) w on p.weatherCode = w.weatherCode order by p.pvPercent desc [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 2022-04-13(String) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.geox, p.geoy, w.* from t_weather_2021 w, t_plant p where w.weatherCode = p.weatherCode and p.plantStatus='01' and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) order by p.seq desc [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(k.seq) as count from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 16 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:11: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-04-13(String), 2022-04-13(String), 01(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 340(Integer), 160(Integer), 340(Integer), 160(Integer), 340(Integer), 160(Integer), 340(Integer), 10(Integer), 990(Integer), 10(Integer), 990(Integer), 1(Integer), 2022-04-13(String), 2022-04-13(String), 01(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:11:23] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 15 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 31 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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.data20 < ? or d.data20 > ? or d.data21 < ? or d.data21 > ?) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-13(String), 2022-04-13(String), 01(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 31 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputYmd, inputHour, count(inputYmd) as count from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ? ) [10:11:23] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 32 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 16 [10:11: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.procStatus = ? and c.inputDate between ? and ? [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, createDatetime, count(seq) as count from t_pmsdata_statistic_hour where inputDate=? and inputHour = (select max(inputHour) from t_pmsdata_statistic_hour where inputDate = ?) and pcsIdx=0 [10:11:23] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 31 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 0 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-12(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:23] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 0 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:11:23] [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 [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:11:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [10:11: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 [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:11:29] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [10:11:29] [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:11:29] [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:11:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:11:29] [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:11:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:11: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.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:11:29] [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:11:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:11:29] [DEBUG] controller.JsonController - ------------------------------------- [10:11:29] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"end"}]} [10:11:29] [DEBUG] controller.JsonController - ------------------------------------- [10:11: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.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:11:29] [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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:11:29] [DEBUG] controller.EssController - ----------------------------------------------- [10:11:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:11:29] [DEBUG] controller.EssController - ----------------------------------------------- [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:29] [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:11:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:11:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:34] [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 [10:11:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 2022-04-13(String), 2022-04-13(String) [10:11:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:11:34] [DEBUG] controller.PlantController - 발전소 정보 : 쿼리조회시간 : 16 [10:11:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and p.seq = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [10:11:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 2022-02-22(String), 2022-04-13(String) [10:11:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:11:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, (select name from t_code where groupType ='device_etc' and code = d.typeCode) as typeName, c.name as modelName from t_device d, t_code c where d.plantSeq = ? and c.groupType = concat("device_", d.typeCode) and modelCode = c.code [10:11:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer) [10:11:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:11:34] [DEBUG] controller.PlantController - CS / Device : 쿼리조회시간 : 32 [10:11:34] [DEBUG] controller.PlantController - 코드 정보 : 쿼리조회시간 : 32 [10:11:34] [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:11:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [10:11:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [10:11:43] [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 [10:11:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 2022-04-13(String), 2022-04-13(String) [10:11:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:12:10] [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 [10:12:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 2022-04-13(String), 2022-04-13(String) [10:12:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:13:17] [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() ) [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 25(Integer), 1(Integer), 0(Integer), 2022-04-13(String), 10:13:17(String), 40(String), 40(String), 10(String), 4월11일 이후로 인터넷 안되어 안전관리자 확인시 인터넷 라인 훼손으로 2~3 일내로 복구 예정이라고 함(String), -(String), -(String), admin03(String), admin03(String) [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:13:17] [DEBUG] controller.CsController - insertProc : 1건 입력 완료 [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String) [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( 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 ) R1 LIMIT ?, ? [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String), 0(Integer), 20(Integer) [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:13:17] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 0 [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:13:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:13: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.procStatus = ? and c.inputDate between ? and ? [10:13:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String) [10:13:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:13:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( 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 ) R1 LIMIT ?, ? [10:13:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String), 0(Integer), 20(Integer) [10:13:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:13:21] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 16 [10:13:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:13:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:13:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:14:07] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = CsVo, method.len : 67 ---------------------------------------------------------------- getSeq=1579 getTimetableSeq=0 getPcsIdx=0 getPlantSeq=-1 getIsPcsFault=true getCsSeq=0 getProcClientSeq=0 getProcMemo=LG 배터리 팬 폴터로 복구 getProcStatus=20 getCsType=20 getProcType=10 getProcPeriod=0 getUpdateId=admin03 getStr2=2022-04-13 getStr1=2022-04-06 getIsBatteryFault=true getClass=class com.elt.ems.vo.CsVo [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_cs set procStatus=?, procMemo=?, procType=?, csType=?, updateId=?, updateDatetime=now() where seq=? [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), LG 배터리 팬 폴터로 복구 (String), 10(String), 20(String), admin03(String), 1579(Integer) [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:14:07] [DEBUG] controller.CsController - updateProcStatus : 1건 업데이트 완료 [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus > 10 and c.procStatus < 90 and c.inputDate between ? and ? [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-13(String) [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus > 10 and c.procStatus < 90 and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc ) R1 LIMIT ?, ? [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-13(String), 0(Integer), 20(Integer) [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [10:14:07] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 16 [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:14:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:14:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? [10:14:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String) [10:14:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:14:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( 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 ) R1 LIMIT ?, ? [10:14:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String), 0(Integer), 20(Integer) [10:14:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [10:14:10] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 16 [10:14:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:14:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:14:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:16:54] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = CsVo, method.len : 67 ---------------------------------------------------------------- getSeq=1580 getTimetableSeq=0 getPcsIdx=0 getPlantSeq=-1 getIsPcsFault=true getCsSeq=0 getProcClientSeq=0 getProcMemo=DIK PCS3 AC 상 폴터로 복구 getProcStatus=20 getCsType=20 getProcType=20 getProcPeriod=0 getUpdateId=admin03 getStr2=2022-04-13 getStr1=2022-04-06 getIsBatteryFault=true getClass=class com.elt.ems.vo.CsVo [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_cs set procStatus=?, procMemo=?, procType=?, csType=?, updateId=?, updateDatetime=now() where seq=? [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), DIK PCS3 AC 상 폴터로 복구 (String), 20(String), 20(String), admin03(String), 1580(Integer) [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:16:54] [DEBUG] controller.CsController - updateProcStatus : 1건 업데이트 완료 [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus > 10 and c.procStatus < 90 and c.inputDate between ? and ? [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-13(String) [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus > 10 and c.procStatus < 90 and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc ) R1 LIMIT ?, ? [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-13(String), 0(Integer), 20(Integer) [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [10:16:54] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 16 [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:16:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:16: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.procStatus = ? and c.inputDate between ? and ? [10:16:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String) [10:16:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:16:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( 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 ) R1 LIMIT ?, ? [10:16:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String), 0(Integer), 20(Integer) [10:16:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:16:55] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 15 [10:16:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:16:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:16:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:17:49] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = CsVo, method.len : 67 ---------------------------------------------------------------- getSeq=1581 getTimetableSeq=0 getPcsIdx=0 getPlantSeq=-1 getIsPcsFault=true getCsSeq=0 getProcClientSeq=0 getProcMemo=배터리 통신 지연으로 복구 getProcStatus=20 getCsType=20 getProcType=10 getProcPeriod=0 getUpdateId=admin03 getStr2=2022-04-13 getStr1=2022-04-06 getIsBatteryFault=true getClass=class com.elt.ems.vo.CsVo [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_cs set procStatus=?, procMemo=?, procType=?, csType=?, updateId=?, updateDatetime=now() where seq=? [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 배터리 통신 지연으로 복구 (String), 10(String), 20(String), admin03(String), 1581(Integer) [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:17:49] [DEBUG] controller.CsController - updateProcStatus : 1건 업데이트 완료 [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus > 10 and c.procStatus < 90 and c.inputDate between ? and ? [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-13(String) [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus > 10 and c.procStatus < 90 and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc ) R1 LIMIT ?, ? [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-13(String), 0(Integer), 20(Integer) [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [10:17:49] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 0 [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:17:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:17:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? [10:17:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String) [10:17:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:17:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( 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 ) R1 LIMIT ?, ? [10:17:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-13(String), 0(Integer), 20(Integer) [10:17:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:17:51] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 0 [10:17:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:17:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:17:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:18:31] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = CsVo, method.len : 67 ---------------------------------------------------------------- getSeq=1578 getTimetableSeq=0 getPcsIdx=0 getPlantSeq=-1 getIsPcsFault=true getCsSeq=0 getProcClientSeq=0 getProcMemo=배터리 통신 지연으로 복구 getProcStatus=20 getCsType=20 getProcType=20 getProcPeriod=0 getUpdateId=admin03 getStr2=2022-04-13 getStr1=2022-04-06 getIsBatteryFault=true getClass=class com.elt.ems.vo.CsVo [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_cs set procStatus=?, procMemo=?, procType=?, csType=?, updateId=?, updateDatetime=now() where seq=? [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 배터리 통신 지연으로 복구(String), 20(String), 20(String), admin03(String), 1578(Integer) [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:18:31] [DEBUG] controller.CsController - updateProcStatus : 1건 업데이트 완료 [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus > 10 and c.procStatus < 90 and c.inputDate between ? and ? [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-13(String) [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus > 10 and c.procStatus < 90 and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc ) R1 LIMIT ?, ? [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-13(String), 0(Integer), 20(Integer) [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [10:18:31] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 0 [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:18:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:18: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 [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:18:36] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [10:18: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 [10:18: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 [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:18: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 [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:18: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 [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:18: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 ?, ? [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:18:36] [DEBUG] controller.JsonController - ------------------------------------- [10:18:36] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"end"}]} [10:18:36] [DEBUG] controller.JsonController - ------------------------------------- [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:18: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 ?, ? [10:18: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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:18:36] [DEBUG] controller.EssController - ----------------------------------------------- [10:18:36] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:18:36] [DEBUG] controller.EssController - ----------------------------------------------- [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:18: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 [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:18:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:18: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 > 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 [10:18:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:18:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:18:38] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [10:18: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 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 [10:18:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:18:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:20:39] [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 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 = ? ) 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:20:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:20:40] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 187 [10:20:40] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = SolarIvtJuncOverviewVo, method.len : 138 ---------------------------------------------------------------- getRealtimeYear=2022 getLastdayHours=0.0 getTodayHours=0.0 getOseq=0 getCurrPower=0.0 getLastdayEnergy=0.0 getTodayEnergy=0.0 getInputDate=2022-04-13 getLifetimeEnergy=0.0 getPort=0 getIvtQuantity=0 getIvtStatus=01 getPlantSeq=0 getCount=0 getSeq=0 getTimetableSeq=0 getDrate=0 getIsSolarOnly=false getIsEss=false getIsSolar=false getSupplyPower=0 getPrate=0 getPlantStatus=01 getSupplyPcsPower=0 getClientOrderSeq=0 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [10:20:40] [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:20:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata 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 [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: 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 order by oseq asc, ivtIdx asc [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:20:40] [DEBUG] controller.InverterController - ------------------------------------- [10:20:40] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [10:20:40] [DEBUG] controller.InverterController - ------------------------------------- [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [10:20:40] [DEBUG] controller.InverterController - ------------------------------------- [10:20:40] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_76_1","status":"00"},{"name":"ivt_76_2","status":"01"},{"name":"ivt_76_3","status":"01"},{"name":"ivt_76_4","status":"01"},{"name":"ivt_76_5","status":"01"},{"name":"ivt_76_6","status":"01"},{"name":"ivt_76_7","status":"01"},{"name":"ivt_76_8","status":"01"},{"name":"ivt_76_9","status":"01"},{"name":"ivt_76_10","status":"01"},{"name":"ivt_76_11","status":"01"},{"name":"ivt_76_12","status":"00"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"00"},{"name":"ivt_76_15","status":"01"},{"name":"ivt_76_16","status":"01"},{"name":"ivt_76_17","status":"01"},{"name":"ivt_76_18","status":"01"},{"name":"ivt_76_19","status":"01"},{"name":"ivt_76_20","status":"01"},{"name":"ivt_77_1","status":"01"},{"name":"ivt_77_2","status":"01"},{"name":"ivt_77_3","status":"01"},{"name":"ivt_77_4","status":"01"},{"name":"ivt_77_5","status":"01"},{"name":"ivt_77_6","status":"01"},{"name":"ivt_77_7","status":"01"},{"name":"ivt_77_8","status":"01"},{"name":"ivt_77_9","status":"01"},{"name":"ivt_77_10","status":"00"},{"name":"ivt_77_11","status":"01"},{"name":"ivt_77_12","status":"01"},{"name":"ivt_77_13","status":"01"},{"name":"ivt_77_14","status":"01"},{"name":"ivt_77_15","status":"01"},{"name":"ivt_77_16","status":"01"},{"name":"ivt_77_17","status":"01"},{"name":"ivt_77_18","status":"01"},{"name":"ivt_78_1","status":"01"},{"name":"ivt_78_2","status":"01"},{"name":"ivt_78_3","status":"01"},{"name":"ivt_78_4","status":"00"},{"name":"ivt_78_5","status":"01"},{"name":"ivt_78_6","status":"01"},{"name":"ivt_78_7","status":"01"},{"name":"ivt_78_8","status":"01"},{"name":"ivt_78_9","status":"01"},{"name":"ivt_78_10","status":"01"},{"name":"ivt_78_11","status":"01"},{"name":"ivt_78_12","status":"01"},{"name":"ivt_78_13","status":"00"},{"name":"ivt_78_14","status":"01"},{"name":"ivt_78_15","status":"01"},{"name":"ivt_78_16","status":"01"},{"name":"ivt_78_17","status":"01"},{"name":"ivt_78_18","status":"01"},{"name":"ivt_92_1","status":"01"},{"name":"ivt_92_2","status":"01"},{"name":"ivt_92_3","status":"01"},{"name":"ivt_92_4","status":"01"},{"name":"ivt_92_5","status":"01"},{"name":"ivt_92_6","status":"01"},{"name":"ivt_92_7","status":"01"},{"name":"ivt_92_8","status":"01"},{"name":"ivt_92_9","status":"01"},{"name":"ivt_92_10","status":"01"},{"name":"ivt_92_11","status":"01"},{"name":"ivt_92_12","status":"01"},{"name":"ivt_92_13","status":"01"},{"name":"ivt_92_14","status":"01"},{"name":"ivt_92_15","status":"01"},{"name":"ivt_92_16","status":"01"},{"name":"ivt_92_17","status":"01"},{"name":"ivt_92_18","status":"01"},{"name":"ivt_92_19","status":"01"},{"name":"ivt_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [10:20:40] [DEBUG] controller.InverterController - ------------------------------------- [10:20:40] [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:20:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:20:40] [DEBUG] controller.EssController - ----------------------------------------------- [10:20:40] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:20:40] [DEBUG] controller.EssController - ----------------------------------------------- [10:20:40] [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' order by plantSeq [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:20:40] [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 order by o.plantSeq asc ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' ) 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:20:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:20:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [10:20:51] [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 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 = ? ) 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:20:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:20:52] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 203 [10:20:52] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = SolarIvtJuncOverviewVo, method.len : 138 ---------------------------------------------------------------- getRealtimeYear=2022 getLastdayHours=0.0 getTodayHours=0.0 getOseq=0 getCurrPower=0.0 getLastdayEnergy=0.0 getTodayEnergy=0.0 getInputDate=2022-04-13 getLifetimeEnergy=0.0 getPort=0 getIvtQuantity=0 getIvtStatus=01 getPlantSeq=0 getCount=0 getSeq=0 getTimetableSeq=0 getDrate=0 getIsSolarOnly=false getIsEss=false getIsSolar=false getSupplyPower=0 getPrate=0 getPlantStatus=01 getSupplyPcsPower=0 getClientOrderSeq=0 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [10:20:52] [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:20:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: 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 order by oseq asc, ivtIdx asc [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata 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 [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:20:52] [DEBUG] controller.InverterController - ------------------------------------- [10:20:52] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [10:20:52] [DEBUG] controller.InverterController - ------------------------------------- [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [10:20:52] [DEBUG] controller.InverterController - ------------------------------------- [10:20:52] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_76_1","status":"00"},{"name":"ivt_76_2","status":"01"},{"name":"ivt_76_3","status":"01"},{"name":"ivt_76_4","status":"01"},{"name":"ivt_76_5","status":"01"},{"name":"ivt_76_6","status":"01"},{"name":"ivt_76_7","status":"01"},{"name":"ivt_76_8","status":"01"},{"name":"ivt_76_9","status":"01"},{"name":"ivt_76_10","status":"01"},{"name":"ivt_76_11","status":"01"},{"name":"ivt_76_12","status":"00"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"00"},{"name":"ivt_76_15","status":"01"},{"name":"ivt_76_16","status":"01"},{"name":"ivt_76_17","status":"01"},{"name":"ivt_76_18","status":"01"},{"name":"ivt_76_19","status":"01"},{"name":"ivt_76_20","status":"01"},{"name":"ivt_77_1","status":"01"},{"name":"ivt_77_2","status":"01"},{"name":"ivt_77_3","status":"01"},{"name":"ivt_77_4","status":"01"},{"name":"ivt_77_5","status":"01"},{"name":"ivt_77_6","status":"01"},{"name":"ivt_77_7","status":"01"},{"name":"ivt_77_8","status":"01"},{"name":"ivt_77_9","status":"01"},{"name":"ivt_77_10","status":"00"},{"name":"ivt_77_11","status":"01"},{"name":"ivt_77_12","status":"01"},{"name":"ivt_77_13","status":"01"},{"name":"ivt_77_14","status":"01"},{"name":"ivt_77_15","status":"01"},{"name":"ivt_77_16","status":"01"},{"name":"ivt_77_17","status":"01"},{"name":"ivt_77_18","status":"01"},{"name":"ivt_78_1","status":"01"},{"name":"ivt_78_2","status":"01"},{"name":"ivt_78_3","status":"01"},{"name":"ivt_78_4","status":"00"},{"name":"ivt_78_5","status":"01"},{"name":"ivt_78_6","status":"01"},{"name":"ivt_78_7","status":"01"},{"name":"ivt_78_8","status":"01"},{"name":"ivt_78_9","status":"01"},{"name":"ivt_78_10","status":"01"},{"name":"ivt_78_11","status":"01"},{"name":"ivt_78_12","status":"01"},{"name":"ivt_78_13","status":"00"},{"name":"ivt_78_14","status":"01"},{"name":"ivt_78_15","status":"01"},{"name":"ivt_78_16","status":"01"},{"name":"ivt_78_17","status":"01"},{"name":"ivt_78_18","status":"01"},{"name":"ivt_92_1","status":"01"},{"name":"ivt_92_2","status":"01"},{"name":"ivt_92_3","status":"01"},{"name":"ivt_92_4","status":"01"},{"name":"ivt_92_5","status":"01"},{"name":"ivt_92_6","status":"01"},{"name":"ivt_92_7","status":"01"},{"name":"ivt_92_8","status":"01"},{"name":"ivt_92_9","status":"01"},{"name":"ivt_92_10","status":"01"},{"name":"ivt_92_11","status":"01"},{"name":"ivt_92_12","status":"01"},{"name":"ivt_92_13","status":"01"},{"name":"ivt_92_14","status":"01"},{"name":"ivt_92_15","status":"01"},{"name":"ivt_92_16","status":"01"},{"name":"ivt_92_17","status":"01"},{"name":"ivt_92_18","status":"01"},{"name":"ivt_92_19","status":"01"},{"name":"ivt_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [10:20:52] [DEBUG] controller.InverterController - ------------------------------------- [10:20:52] [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:20:52] [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' order by plantSeq [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:20:52] [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 order by o.plantSeq asc ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' ) 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:20:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:20:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [10:20:52] [DEBUG] controller.EssController - ----------------------------------------------- [10:20:52] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:20:52] [DEBUG] controller.EssController - ----------------------------------------------- [10:20:58] [DEBUG] controller.SolarController - ----------------------------------------------- [10:20:58] [DEBUG] controller.SolarController - /solar/view.co :: plantSeq :: 99, param.plantSeq : 99 [10:20:58] [DEBUG] controller.SolarController - ----------------------------------------------- [10:20:58] [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.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:20:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:20:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:20:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:20:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:20:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:20:58] [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 [10:20:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 2022-04-13(String) [10:20:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [10:20:58] [DEBUG] controller.SolarController - view.selectOverviewByPlantSeq1 : 쿼리조회시간 : 16 [10:20:58] [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 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 [10:20:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 18915(Integer), 2022-04-13(String), 2022-04-13(String), 99(Integer) [10:20:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [10:20:58] [DEBUG] controller.SolarController - view.selectListIvtByPlantSeq2 : 쿼리조회시간 : 0 [10:20:59] [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:20:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-03-30(String) [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:20:59] [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:20:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:20:59] [DEBUG] controller.SolarController - ----------------------------------------------- [10:20:59] [DEBUG] controller.SolarController - /solar/data_chart.co :: , param.plantSeq : 99 [10:20:59] [DEBUG] controller.SolarController - ----------------------------------------------- [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_hour where inputDate = ? and plantSeq = ? order by inputDate asc, inputHour asc [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 99(Integer) [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_day where inputDate between ? and ? and plantSeq = ? order by inputDate asc [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String), 2022-04-13(String), 99(Integer) [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:20:59] [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 [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:20:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [10:21:14] [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:21:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:21:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:21:14] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 47 [10:21:14] [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:21:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:21:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:21:14] [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:21:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:21:14] [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:21:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:21:14] [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:21:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:21:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:21:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:14] [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:21:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:21:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:21:14] [DEBUG] controller.JsonController - ------------------------------------- [10:21:14] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"end"}]} [10:21:14] [DEBUG] controller.JsonController - ------------------------------------- [10:21:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:21:14] [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:21:14] [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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:21:14] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:14] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:21:14] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:14] [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:21:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:21:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:17] [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 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 = ? ) 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:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:21:17] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 204 [10:21:17] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = SolarIvtJuncOverviewVo, method.len : 138 ---------------------------------------------------------------- getRealtimeYear=2022 getLastdayHours=0.0 getTodayHours=0.0 getOseq=0 getCurrPower=0.0 getLastdayEnergy=0.0 getTodayEnergy=0.0 getInputDate=2022-04-13 getLifetimeEnergy=0.0 getPort=0 getIvtQuantity=0 getIvtStatus=01 getPlantSeq=0 getCount=0 getSeq=0 getTimetableSeq=0 getDrate=0 getIsSolarOnly=false getIsEss=false getIsSolar=false getSupplyPower=0 getPrate=0 getPlantStatus=01 getSupplyPcsPower=0 getClientOrderSeq=0 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [10:21:17] [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:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [10:21:17] [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:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: 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 order by oseq asc, ivtIdx asc [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata 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 [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:21:17] [DEBUG] controller.InverterController - ------------------------------------- [10:21:17] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [10:21:17] [DEBUG] controller.InverterController - ------------------------------------- [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [10:21:17] [DEBUG] controller.InverterController - ------------------------------------- [10:21:17] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_76_1","status":"00"},{"name":"ivt_76_2","status":"01"},{"name":"ivt_76_3","status":"01"},{"name":"ivt_76_4","status":"01"},{"name":"ivt_76_5","status":"01"},{"name":"ivt_76_6","status":"01"},{"name":"ivt_76_7","status":"01"},{"name":"ivt_76_8","status":"01"},{"name":"ivt_76_9","status":"01"},{"name":"ivt_76_10","status":"01"},{"name":"ivt_76_11","status":"01"},{"name":"ivt_76_12","status":"00"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"00"},{"name":"ivt_76_15","status":"01"},{"name":"ivt_76_16","status":"01"},{"name":"ivt_76_17","status":"01"},{"name":"ivt_76_18","status":"01"},{"name":"ivt_76_19","status":"01"},{"name":"ivt_76_20","status":"01"},{"name":"ivt_77_1","status":"01"},{"name":"ivt_77_2","status":"01"},{"name":"ivt_77_3","status":"01"},{"name":"ivt_77_4","status":"01"},{"name":"ivt_77_5","status":"01"},{"name":"ivt_77_6","status":"01"},{"name":"ivt_77_7","status":"01"},{"name":"ivt_77_8","status":"01"},{"name":"ivt_77_9","status":"01"},{"name":"ivt_77_10","status":"00"},{"name":"ivt_77_11","status":"01"},{"name":"ivt_77_12","status":"01"},{"name":"ivt_77_13","status":"01"},{"name":"ivt_77_14","status":"01"},{"name":"ivt_77_15","status":"01"},{"name":"ivt_77_16","status":"01"},{"name":"ivt_77_17","status":"01"},{"name":"ivt_77_18","status":"01"},{"name":"ivt_78_1","status":"01"},{"name":"ivt_78_2","status":"01"},{"name":"ivt_78_3","status":"01"},{"name":"ivt_78_4","status":"00"},{"name":"ivt_78_5","status":"01"},{"name":"ivt_78_6","status":"01"},{"name":"ivt_78_7","status":"01"},{"name":"ivt_78_8","status":"01"},{"name":"ivt_78_9","status":"01"},{"name":"ivt_78_10","status":"01"},{"name":"ivt_78_11","status":"01"},{"name":"ivt_78_12","status":"01"},{"name":"ivt_78_13","status":"00"},{"name":"ivt_78_14","status":"01"},{"name":"ivt_78_15","status":"01"},{"name":"ivt_78_16","status":"01"},{"name":"ivt_78_17","status":"01"},{"name":"ivt_78_18","status":"01"},{"name":"ivt_92_1","status":"01"},{"name":"ivt_92_2","status":"01"},{"name":"ivt_92_3","status":"01"},{"name":"ivt_92_4","status":"01"},{"name":"ivt_92_5","status":"01"},{"name":"ivt_92_6","status":"01"},{"name":"ivt_92_7","status":"01"},{"name":"ivt_92_8","status":"01"},{"name":"ivt_92_9","status":"01"},{"name":"ivt_92_10","status":"01"},{"name":"ivt_92_11","status":"01"},{"name":"ivt_92_12","status":"01"},{"name":"ivt_92_13","status":"01"},{"name":"ivt_92_14","status":"01"},{"name":"ivt_92_15","status":"01"},{"name":"ivt_92_16","status":"01"},{"name":"ivt_92_17","status":"01"},{"name":"ivt_92_18","status":"01"},{"name":"ivt_92_19","status":"01"},{"name":"ivt_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [10:21:17] [DEBUG] controller.InverterController - ------------------------------------- [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:21:17] [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' order by plantSeq [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:21:17] [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 order by o.plantSeq asc ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' ) 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:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [10:21:17] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:17] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:21:17] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:19] [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 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 = ? ) 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:21:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:21:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:21:19] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 188 [10:21:19] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = SolarIvtJuncOverviewVo, method.len : 138 ---------------------------------------------------------------- getRealtimeYear=2022 getLastdayHours=0.0 getTodayHours=0.0 getOseq=0 getCurrPower=0.0 getLastdayEnergy=0.0 getTodayEnergy=0.0 getInputDate=2022-04-13 getLifetimeEnergy=0.0 getPort=0 getIvtQuantity=0 getIvtStatus=01 getPlantSeq=0 getCount=0 getSeq=0 getTimetableSeq=0 getDrate=0 getIsSolarOnly=false getIsEss=false getIsSolar=false getSupplyPower=0 getPrate=0 getPlantStatus=01 getSupplyPcsPower=0 getClientOrderSeq=0 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [10:21:20] [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:21:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [10:21: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 [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: 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 order by oseq asc, ivtIdx asc [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata 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 [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:21:20] [DEBUG] controller.InverterController - ------------------------------------- [10:21:20] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [10:21:20] [DEBUG] controller.InverterController - ------------------------------------- [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [10:21:20] [DEBUG] controller.InverterController - ------------------------------------- [10:21:20] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_76_1","status":"00"},{"name":"ivt_76_2","status":"01"},{"name":"ivt_76_3","status":"01"},{"name":"ivt_76_4","status":"01"},{"name":"ivt_76_5","status":"01"},{"name":"ivt_76_6","status":"01"},{"name":"ivt_76_7","status":"01"},{"name":"ivt_76_8","status":"01"},{"name":"ivt_76_9","status":"01"},{"name":"ivt_76_10","status":"01"},{"name":"ivt_76_11","status":"01"},{"name":"ivt_76_12","status":"00"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"00"},{"name":"ivt_76_15","status":"01"},{"name":"ivt_76_16","status":"01"},{"name":"ivt_76_17","status":"01"},{"name":"ivt_76_18","status":"01"},{"name":"ivt_76_19","status":"01"},{"name":"ivt_76_20","status":"01"},{"name":"ivt_77_1","status":"01"},{"name":"ivt_77_2","status":"01"},{"name":"ivt_77_3","status":"01"},{"name":"ivt_77_4","status":"01"},{"name":"ivt_77_5","status":"01"},{"name":"ivt_77_6","status":"01"},{"name":"ivt_77_7","status":"01"},{"name":"ivt_77_8","status":"01"},{"name":"ivt_77_9","status":"01"},{"name":"ivt_77_10","status":"00"},{"name":"ivt_77_11","status":"01"},{"name":"ivt_77_12","status":"01"},{"name":"ivt_77_13","status":"01"},{"name":"ivt_77_14","status":"01"},{"name":"ivt_77_15","status":"01"},{"name":"ivt_77_16","status":"01"},{"name":"ivt_77_17","status":"01"},{"name":"ivt_77_18","status":"01"},{"name":"ivt_78_1","status":"01"},{"name":"ivt_78_2","status":"01"},{"name":"ivt_78_3","status":"01"},{"name":"ivt_78_4","status":"00"},{"name":"ivt_78_5","status":"01"},{"name":"ivt_78_6","status":"01"},{"name":"ivt_78_7","status":"01"},{"name":"ivt_78_8","status":"01"},{"name":"ivt_78_9","status":"01"},{"name":"ivt_78_10","status":"01"},{"name":"ivt_78_11","status":"01"},{"name":"ivt_78_12","status":"01"},{"name":"ivt_78_13","status":"00"},{"name":"ivt_78_14","status":"01"},{"name":"ivt_78_15","status":"01"},{"name":"ivt_78_16","status":"01"},{"name":"ivt_78_17","status":"01"},{"name":"ivt_78_18","status":"01"},{"name":"ivt_92_1","status":"01"},{"name":"ivt_92_2","status":"01"},{"name":"ivt_92_3","status":"01"},{"name":"ivt_92_4","status":"01"},{"name":"ivt_92_5","status":"01"},{"name":"ivt_92_6","status":"01"},{"name":"ivt_92_7","status":"01"},{"name":"ivt_92_8","status":"01"},{"name":"ivt_92_9","status":"01"},{"name":"ivt_92_10","status":"01"},{"name":"ivt_92_11","status":"01"},{"name":"ivt_92_12","status":"01"},{"name":"ivt_92_13","status":"01"},{"name":"ivt_92_14","status":"01"},{"name":"ivt_92_15","status":"01"},{"name":"ivt_92_16","status":"01"},{"name":"ivt_92_17","status":"01"},{"name":"ivt_92_18","status":"01"},{"name":"ivt_92_19","status":"01"},{"name":"ivt_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [10:21:20] [DEBUG] controller.InverterController - ------------------------------------- [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:21:20] [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' order by plantSeq [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:21:20] [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 order by o.plantSeq asc ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' ) 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:21:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:21:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [10:21:20] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:20] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:21:20] [DEBUG] controller.EssController - ----------------------------------------------- [10:21: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 [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:21:21] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [10:21: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 [10:21: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 [10:21: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 [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:21: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 ?, ? [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:21: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 [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:21:21] [DEBUG] controller.JsonController - ------------------------------------- [10:21:21] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"end"}]} [10:21:21] [DEBUG] controller.JsonController - ------------------------------------- [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:21: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 ?, ? [10:21: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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:21:21] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:21] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:21:21] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21: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 [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:21:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:48] [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:21:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:21:48] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [10:21:48] [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:21:48] [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:21:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:21: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 [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:21:48] [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:21:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:48] [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:21:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:21:48] [DEBUG] controller.JsonController - ------------------------------------- [10:21:48] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"end"}]} [10:21:48] [DEBUG] controller.JsonController - ------------------------------------- [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:21:48] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:48] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:21:48] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:48] [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:21:48] [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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:48] [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:21:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:21:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:25: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 [10:25:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:25:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:25:33] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [10:25: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 [10:25: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 [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:25: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 [10:25: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 [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:25: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 ?, ? [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:25:34] [DEBUG] controller.JsonController - ------------------------------------- [10:25:34] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"end"}]} [10:25:34] [DEBUG] controller.JsonController - ------------------------------------- [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:25: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 ?, ? [10:25: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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:25: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 [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:25:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:25:34] [DEBUG] controller.EssController - ----------------------------------------------- [10:25:34] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:25:34] [DEBUG] controller.EssController - ----------------------------------------------- [10:25:50] [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:25:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:25:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:25:50] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 15 [10:25:50] [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:25:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:25:50] [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:25:50] [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:25:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:25:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:25:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:25:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:25:50] [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:25:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:25: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:25:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:25:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:25:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:25:50] [DEBUG] controller.JsonController - ------------------------------------- [10:25:50] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"end"}]} [10:25:50] [DEBUG] controller.JsonController - ------------------------------------- [10:25:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:25:50] [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:25:50] [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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:25:50] [DEBUG] controller.EssController - ----------------------------------------------- [10:25:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:25:50] [DEBUG] controller.EssController - ----------------------------------------------- [10:25:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:25:50] [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:25:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:25:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:25: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.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 [10:25:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:25:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:25:55] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [10:25: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 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 [10:25:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:25:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:25:58] [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 [10:25:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:25:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:25:58] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:25:58] [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 [10:25:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:25:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, 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.pvPower/p.supplyPower as pvPercent, (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.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.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, 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, count(seq) as count from t_pmsdata_2022 where pcsIdx=0 and inputDate = ? group by plantSeq ) d2 where d.plantSeq = d2.plantSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? ) d on p.seq = d.plantSeq ) p left join ( select inputHour as weatherHour, weatherCode, cloud from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ?) ) w on p.weatherCode = w.weatherCode order by p.pvPercent desc [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.geox, p.geoy, w.* from t_weather_2021 w, t_plant p where w.weatherCode = p.weatherCode and p.plantStatus='01' and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) order by p.seq desc [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(k.seq) as count from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 32 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:26:10] [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-04-13(String), 2022-04-13(String), 01(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputYmd, inputHour, count(inputYmd) as count from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ? ) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 16 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 15 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, createDatetime, count(seq) as count from t_pmsdata_statistic_hour where inputDate=? and inputHour = (select max(inputHour) from t_pmsdata_statistic_hour where inputDate = ?) and pcsIdx=0 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 340(Integer), 160(Integer), 340(Integer), 160(Integer), 340(Integer), 160(Integer), 340(Integer), 10(Integer), 990(Integer), 10(Integer), 990(Integer), 1(Integer), 2022-04-13(String), 2022-04-13(String), 01(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 0 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 32 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-12(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 16 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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.data20 < ? or d.data20 > ? or d.data21 < ? or d.data21 > ?) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-13(String), 2022-04-13(String), 01(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 31 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 31 [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:26:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:26:10] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 31 [10:26:11] [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 [10:26:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:26:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [10:27: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 = ? [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer) [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:27:38] [DEBUG] controller.RestAPIController - callPmsFault :: [90] [112.167.79.246] 영월 백광태양광 is Fault PUSH [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:27: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() ) [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 1(Integer), 59023(Integer), 2022-04-13(String), 10(String), 27(String), 7761590(Long), 7340190(Long), 2457(Long), 13(Integer), 112(Integer), 158(Integer), 118(Integer), 28342(Integer), 0(Integer), 0(Integer), 0(Integer), 7988(Integer), 0(Integer), 2457(Integer), 4366(Integer), 340(Integer), 259(Integer), 39(Integer), 952(Integer), 0(Integer), 8281(Integer), 0(Integer), 262(Integer), 22(Integer), 34(Integer), 34(Integer), 2(Integer), 64(Integer), 256(Integer), 403(Integer), 0(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 227(Integer), 228(Integer), 240(Integer), 0(Integer), 0(Integer), 435(Integer), 475(Integer), 457(Integer), 0(Integer), 0(Integer), 64(Integer), 0(Integer), 0(Integer), 0(Integer), 256(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:27: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 = ? [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 90(Integer) [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:27:38] [DEBUG] service.CsService - [90:1] CS가 이미 접수되었습니다. pcs: 0,0,0,0, bms : 64,0,0,0 [10:27: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() ) [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 0(Integer), 59023(Integer), 2022-04-13(String), 10(String), 27(String), 7761590(Long), 7340190(Long), 2457(Long), 13(Integer), 112(Integer), 158(Integer), 118(Integer), 28342(Integer), 0(Integer), 0(Integer), 0(Integer), 7988(Integer), 0(Integer), 2457(Integer), 4366(Integer), 340(Integer), 259(Integer), 39(Integer), 952(Integer), 0(Integer), 8281(Integer), 0(Integer), 262(Integer), 22(Integer), 34(Integer), 34(Integer), 2(Integer), 64(Integer), 256(Integer), 403(Integer), 0(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 4(Integer), 227(Integer), 228(Integer), 240(Integer), 0(Integer), 0(Integer), 435(Integer), 475(Integer), 457(Integer), 0(Integer), 0(Integer), 64(Integer), 0(Integer), 0(Integer), 0(Integer), 256(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [10:27:38] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:27:38] [DEBUG] controller.RestAPIController - [90] smsMessage : 영월 백광태양광 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: 12567 [10:29:14] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:29:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:29:18] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [10:29:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:29:18] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:29:18] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:29:18] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [10:29:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:29:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [10:29:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:29:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:29:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29: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=? [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:29:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:29:18] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [10:29:18] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:29:18] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), D62A79FB13E274CAB9C1AEB98C435E05(String), PHONE(String) [10:29:18] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:29:18] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:18] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:29:18] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:20] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:20] [DEBUG] controller.EssController - /index.co called [10:29:20] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:20] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:20] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [10:29:20] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:20] [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.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:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-12(String), 85(Integer), 0(Integer), 2022-04-11(String), 85(Integer), 0(Integer), 2022-04-13(String), 59023(Integer) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29: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.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:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-13(String), 85(Integer), 2022-04-13(String), 85(Integer) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:29:20] [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:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-30(String) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29:20] [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:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 10(String) [10:29:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29: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 desc, d.pcsIdx asc [10:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-13(String) [10:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:29:21] [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:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [10:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:29: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:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-13(String) [10:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:31:20] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:31:26] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:31:26] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :hansol, login_channel : null [10:31:26] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hansol(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:26] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:31:26] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:31:26] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:31:26] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [10:31:26] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:31:26] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : hansol [10:31:26] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:31:26] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:31:26] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hansol(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31: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=? [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hansol(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:26] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:31:26] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: hansol, mappingList.size : 1 [10:31:26] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:31:26] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[hansol] roles roles [0]ROLE_01 [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hansol(String), 01(String), A12171824AB931522FCE8AA3E487F107(String), PHONE(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:31:26] [DEBUG] controller.EssController - ----------------------------------------------- [10:31:26] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 73, param.plantSeq : 0 [10:31:26] [DEBUG] controller.EssController - ----------------------------------------------- [10:31: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.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:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName , ( select sum(a.todayPvPower) from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a ) as todayPvPower 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:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 73(Integer), 0(Integer), 2022-04-13(String), 73(Integer), 0(Integer), null, 73(Integer), 0(Integer), 2022-04-12(String), 73(Integer), 0(Integer), 2022-04-11(String), 73(Integer), 0(Integer), 2022-04-13(String), 59024(Integer) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31: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 [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 2022-04-13(String), 73(Integer), 2022-04-13(String), 73(Integer) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:31: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 ?, ? [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 2022-04-06(String), 2022-04-13(String), 0(Integer), 5(Integer) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:31: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:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:31: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:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 01(String), 2022-03-30(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31: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:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 01(String), 2022-04-13(String), 2022-04-13(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select sum(a.todayPvPower) as todayPvPower from ( select max(todayPvPower) todayPvPower from t_pmsdata_statistic_hour h where h.inputDate = ? and h.plantSeq = ? and h.pcsIdx=? union all select round(avg(pvPower)*(count(seq)/6)) as todayPvPower from t_pmsdata_2022 d where d.inputDate = ? and d.plantSeq = ? and d.pcsIdx=? and inputHour = ? ) a [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 73(Integer), 0(Integer), 2022-04-13(String), 73(Integer), 0(Integer), 10(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31: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 [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 0(Integer), 2022-04-13(String), 73(Integer), 0(Integer), 2022-04-13(String) [10:31:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:31: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:31:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 73(Integer), 0(Integer), 73(Integer), 0(Integer), 2022-04-04(String), 2022-04-13(String) [10:31:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:31: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:31:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 1(Integer), 2022-04-13(String), 73(Integer), 1(Integer), 2022-04-13(String) [10:31:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:48] [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:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 20(Integer) [10:31:48] [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:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 20(Integer) [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [10:31:48] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 62 [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [10:31:48] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 78 [10:31:48] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 78 [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:31:48] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 78 [10: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 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-13(String), 10(String), 35(String), 72.4(Float), 71.6(Float), 0.1(Float), 1313288.0(Float), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 1(Integer), 4067.0(Double), 0.0(Double), 4.1(Double), 0.0(Double), 5.0(Double), 610.0(Double), 3049.8(Double), 16.0(Double), 0.0(Double), 2900.0(Double), 66789.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 2(Integer), 4163.0(Double), 0.0(Double), 4.2(Double), 0.0(Double), 5.2(Double), 606.5(Double), 3153.6(Double), 17.0(Double), 0.0(Double), 2900.0(Double), 79991.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 3(Integer), 3980.0(Double), 0.0(Double), 4.0(Double), 0.0(Double), 5.2(Double), 595.3(Double), 3095.6(Double), 16.2(Double), 0.0(Double), 2700.0(Double), 68481.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 4(Integer), 3931.0(Double), 0.0(Double), 3.9(Double), 0.0(Double), 4.8(Double), 608.0(Double), 2918.4(Double), 16.7(Double), 0.0(Double), 2900.0(Double), 71888.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 5(Integer), 3901.0(Double), 0.0(Double), 3.9(Double), 0.0(Double), 5.1(Double), 595.6(Double), 3037.7(Double), 18.1(Double), 0.0(Double), 2700.0(Double), 81778.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 6(Integer), 4239.0(Double), 0.0(Double), 4.2(Double), 0.0(Double), 5.2(Double), 617.6(Double), 3211.5(Double), 15.8(Double), 0.0(Double), 3000.0(Double), 81591.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 7(Integer), 3909.0(Double), 0.0(Double), 3.9(Double), 0.0(Double), 4.8(Double), 612.5(Double), 2940.2(Double), 15.8(Double), 0.0(Double), 2500.0(Double), 66055.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 8(Integer), 3944.0(Double), 0.0(Double), 3.9(Double), 0.0(Double), 5.0(Double), 603.6(Double), 3018.0(Double), 16.5(Double), 0.0(Double), 2700.0(Double), 77224.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 9(Integer), 2954.0(Double), 0.0(Double), 3.0(Double), 0.0(Double), 4.1(Double), 613.8(Double), 2516.6(Double), 16.2(Double), 0.0(Double), 1600.0(Double), 65848.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 10(Integer), 4138.0(Double), 0.0(Double), 4.1(Double), 0.0(Double), 5.0(Double), 612.0(Double), 3060.0(Double), 15.1(Double), 0.0(Double), 3000.0(Double), 78294.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 11(Integer), 3990.0(Double), 0.0(Double), 4.0(Double), 0.0(Double), 5.1(Double), 604.6(Double), 3083.5(Double), 16.4(Double), 0.0(Double), 2600.0(Double), 78514.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 12(Integer), 4024.0(Double), 0.0(Double), 4.0(Double), 0.0(Double), 5.1(Double), 604.3(Double), 3081.9(Double), 16.4(Double), 0.0(Double), 2800.0(Double), 79906.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 13(Integer), 4230.0(Double), 0.0(Double), 4.2(Double), 0.0(Double), 5.2(Double), 606.4(Double), 3153.1(Double), 16.1(Double), 0.0(Double), 3200.0(Double), 79051.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 14(Integer), 3916.0(Double), 0.0(Double), 3.9(Double), 0.0(Double), 4.7(Double), 615.5(Double), 2892.8(Double), 16.1(Double), 0.0(Double), 2400.0(Double), 77939.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 15(Integer), 3896.0(Double), 0.0(Double), 3.9(Double), 0.0(Double), 4.6(Double), 612.6(Double), 2817.8(Double), 15.1(Double), 0.0(Double), 2700.0(Double), 71165.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 16(Integer), 2966.0(Double), 0.0(Double), 3.0(Double), 0.0(Double), 3.7(Double), 598.7(Double), 2215.3(Double), 16.7(Double), 0.0(Double), 1600.0(Double), 67917.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 17(Integer), 3610.0(Double), 0.0(Double), 3.6(Double), 0.0(Double), 4.3(Double), 595.8(Double), 2561.9(Double), 15.6(Double), 0.0(Double), 2200.0(Double), 72029.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 18(Integer), 2533.0(Double), 0.0(Double), 2.5(Double), 0.0(Double), 4.1(Double), 612.5(Double), 2511.4(Double), 15.0(Double), 0.0(Double), 1700.0(Double), 48829.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18926(Integer), 92(Integer), 19(Integer), 4021.0(Double), 0.0(Double), -0.0(Double), 0.0(Double), 13132.6(Double), 4377.5(Double), 5.7488392E7(Double), -0.1(Double), 0.0(Double), 25500.0(Double), -1.0(Double), 01(String) [10:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10: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 [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-13(String), 10(String), 35(String), 24.2(Float), 46.8(Float), 0.2(Float), 29181.0(Float), 01(String) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18927(Integer), 99(Integer), 1(Integer), 6000.0(Double), 0.0(Double), 6.0(Double), 1.0(Double), 9.6(Double), 565.0(Double), 5423.7(Double), 50.7(Double), 96.0(Double), 11600.0(Double), 7265.0(Double), 01(String) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18927(Integer), 99(Integer), 2(Integer), 6100.0(Double), 0.0(Double), 6.1(Double), 0.9(Double), 9.8(Double), 565.9(Double), 5546.1(Double), 52.3(Double), 97.0(Double), 11800.0(Double), 7371.0(Double), 01(String) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18927(Integer), 99(Integer), 3(Integer), 6000.0(Double), 0.0(Double), 6.1(Double), 1.5(Double), 9.8(Double), 563.3(Double), 5520.7(Double), 50.8(Double), 97.0(Double), 11600.0(Double), 7196.0(Double), 01(String) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 18927(Integer), 99(Integer), 4(Integer), 6100.0(Double), 0.0(Double), 6.2(Double), 1.2(Double), 9.7(Double), 563.9(Double), 5470.2(Double), 51.9(Double), 97.0(Double), 11800.0(Double), 7349.0(Double), 01(String) [10:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:36: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 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 = ? ) 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:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:36:45] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 203 [10:36:45] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = SolarIvtJuncOverviewVo, method.len : 138 ---------------------------------------------------------------- getRealtimeYear=2022 getLastdayHours=0.0 getTodayHours=0.0 getOseq=0 getCurrPower=0.0 getLastdayEnergy=0.0 getTodayEnergy=0.0 getInputDate=2022-04-13 getLifetimeEnergy=0.0 getPort=0 getIvtQuantity=0 getIvtStatus=01 getPlantSeq=0 getCount=0 getSeq=0 getTimetableSeq=0 getDrate=0 getIsSolarOnly=false getIsEss=false getIsSolar=false getSupplyPower=0 getPrate=0 getPlantStatus=01 getSupplyPcsPower=0 getClientOrderSeq=0 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [10:36:45] [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:36:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata 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 [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: 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 order by oseq asc, ivtIdx asc [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:36:45] [DEBUG] controller.InverterController - ------------------------------------- [10:36:45] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [10:36:45] [DEBUG] controller.InverterController - ------------------------------------- [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [10:36:45] [DEBUG] controller.InverterController - ------------------------------------- [10:36:45] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_76_1","status":"01"},{"name":"ivt_76_2","status":"01"},{"name":"ivt_76_3","status":"01"},{"name":"ivt_76_4","status":"01"},{"name":"ivt_76_5","status":"01"},{"name":"ivt_76_6","status":"01"},{"name":"ivt_76_7","status":"01"},{"name":"ivt_76_8","status":"01"},{"name":"ivt_76_9","status":"01"},{"name":"ivt_76_10","status":"01"},{"name":"ivt_76_11","status":"01"},{"name":"ivt_76_12","status":"01"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"01"},{"name":"ivt_76_15","status":"01"},{"name":"ivt_76_16","status":"01"},{"name":"ivt_76_17","status":"01"},{"name":"ivt_76_18","status":"01"},{"name":"ivt_76_19","status":"01"},{"name":"ivt_76_20","status":"01"},{"name":"ivt_77_1","status":"01"},{"name":"ivt_77_2","status":"01"},{"name":"ivt_77_3","status":"01"},{"name":"ivt_77_4","status":"01"},{"name":"ivt_77_5","status":"01"},{"name":"ivt_77_6","status":"01"},{"name":"ivt_77_7","status":"01"},{"name":"ivt_77_8","status":"01"},{"name":"ivt_77_9","status":"01"},{"name":"ivt_77_10","status":"00"},{"name":"ivt_77_11","status":"01"},{"name":"ivt_77_12","status":"01"},{"name":"ivt_77_13","status":"01"},{"name":"ivt_77_14","status":"01"},{"name":"ivt_77_15","status":"01"},{"name":"ivt_77_16","status":"01"},{"name":"ivt_77_17","status":"01"},{"name":"ivt_77_18","status":"01"},{"name":"ivt_78_1","status":"01"},{"name":"ivt_78_2","status":"01"},{"name":"ivt_78_3","status":"01"},{"name":"ivt_78_4","status":"00"},{"name":"ivt_78_5","status":"01"},{"name":"ivt_78_6","status":"01"},{"name":"ivt_78_7","status":"01"},{"name":"ivt_78_8","status":"01"},{"name":"ivt_78_9","status":"01"},{"name":"ivt_78_10","status":"01"},{"name":"ivt_78_11","status":"01"},{"name":"ivt_78_12","status":"01"},{"name":"ivt_78_13","status":"00"},{"name":"ivt_78_14","status":"01"},{"name":"ivt_78_15","status":"01"},{"name":"ivt_78_16","status":"01"},{"name":"ivt_78_17","status":"01"},{"name":"ivt_78_18","status":"01"},{"name":"ivt_92_1","status":"01"},{"name":"ivt_92_2","status":"01"},{"name":"ivt_92_3","status":"01"},{"name":"ivt_92_4","status":"01"},{"name":"ivt_92_5","status":"01"},{"name":"ivt_92_6","status":"01"},{"name":"ivt_92_7","status":"01"},{"name":"ivt_92_8","status":"01"},{"name":"ivt_92_9","status":"01"},{"name":"ivt_92_10","status":"01"},{"name":"ivt_92_11","status":"01"},{"name":"ivt_92_12","status":"01"},{"name":"ivt_92_13","status":"01"},{"name":"ivt_92_14","status":"01"},{"name":"ivt_92_15","status":"01"},{"name":"ivt_92_16","status":"01"},{"name":"ivt_92_17","status":"01"},{"name":"ivt_92_18","status":"01"},{"name":"ivt_92_19","status":"01"},{"name":"ivt_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [10:36:45] [DEBUG] controller.InverterController - ------------------------------------- [10:36: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 [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:36:45] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:45] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:36:45] [DEBUG] controller.EssController - ----------------------------------------------- [10:36: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' order by plantSeq [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:36: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 order by o.plantSeq asc ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' ) 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:36:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [10:36: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.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:36:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:36:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:36:47] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [10:36:48] [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:36:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:36:48] [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:36:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:36:48] [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:36:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:36: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 [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:36:48] [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:36:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 17 [10:36:48] [DEBUG] controller.JsonController - ------------------------------------- [10:36:48] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [10:36:48] [DEBUG] controller.JsonController - ------------------------------------- [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:36:48] [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:36:48] [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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:36:48] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:48] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:36:48] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:48] [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:36:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:36:50] [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 [10:36:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:36:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:50] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:36:50] [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 [10:36:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:36:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:51] [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 [10:36:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String) [10:36:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:51] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [10:36:51] [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 [10:36:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-13(String), 2022-04-13(String) [10:36:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:37: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=? 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:37:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 0(Integer) [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:37:07] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 16 [10:37:07] [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:37:07] [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:37:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:37:07] [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:37:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:37: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.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:37:07] [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:37:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 17 [10:37:07] [DEBUG] controller.JsonController - ------------------------------------- [10:37:07] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_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_90_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_95_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [10:37:07] [DEBUG] controller.JsonController - ------------------------------------- [10:37: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.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:37:07] [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-04-13(String), 2022-04-13(String), 01(String), 0(Integer), 10(Integer) [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:37:07] [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:37:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:37:07] [DEBUG] controller.EssController - ----------------------------------------------- [10:37:07] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:37:07] [DEBUG] controller.EssController - ----------------------------------------------- [10:37:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:37:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_login_2021 set updateTime = curtime() where id = ? and sessionId= ? [10:37:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String), 0F381E8184545BEF455898E971606DF6(String) [10:37:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:37:14] [DEBUG] controller.EssController - ----------------------------------------------- [10:37:14] [DEBUG] controller.EssController - /index.co called [10:37:14] [DEBUG] controller.EssController - ----------------------------------------------- [10:37:14] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:51:05] [DEBUG] controller.EssController - ----------------------------------------------- [10:51:05] [DEBUG] controller.EssController - /index.co called [10:51:05] [DEBUG] controller.EssController - ----------------------------------------------- [10:51:05] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:51:14] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:51:14] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :user09, login_channel : null [10:51:14] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:14] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:51:14] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_09 [10:51:14] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:51:14] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co;jsessionid=7DDBEE0D82E12D3EE00845A2D7B5E0B4 [10:51:14] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:51:14] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : user09 [10:51:14] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:51:14] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [10:51:14] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:14] [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:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [10:51:14] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:51:14] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: user09, mappingList.size : 79 [10:51:14] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:51:14] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[user09] roles roles [0]ROLE_09 [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String), 09(String), 70164ABBB4F077D948D8003144D188EC(String), WEB(String) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:51:14] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:51:14] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [10:51:14] [DEBUG] controller.SignController - /monitoring/dashboard.co [10:51:14] [DEBUG] controller.SignController - ....................................... [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, 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.pvPower/p.supplyPower as pvPercent, (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.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.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, 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, count(seq) as count from t_pmsdata_2022 where pcsIdx=0 and inputDate = ? group by plantSeq ) d2 where d.plantSeq = d2.plantSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? ) d on p.seq = d.plantSeq ) p left join ( select inputHour as weatherHour, weatherCode, cloud from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ?) ) w on p.weatherCode = w.weatherCode order by p.pvPercent desc [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String), 0(Integer), 2022-04-13(String), 2022-04-13(String) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.geox, p.geoy, w.* from t_weather_2021 w, t_plant p where w.weatherCode = p.weatherCode and p.plantStatus='01' and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) order by p.seq desc [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(k.seq) as count from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 00(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 01(String) [10:51:15] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:51:15] [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-04-13(String), 2022-04-13(String), 01(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 15 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 16 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputYmd, inputHour, count(inputYmd) as count from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ? ) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 16 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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 = ? [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, createDatetime, count(seq) as count from t_pmsdata_statistic_hour where inputDate=? and inputHour = (select max(inputHour) from t_pmsdata_statistic_hour where inputDate = ?) and pcsIdx=0 [10:51:15] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 31 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 340(Integer), 160(Integer), 340(Integer), 160(Integer), 340(Integer), 160(Integer), 340(Integer), 10(Integer), 990(Integer), 10(Integer), 990(Integer), 1(Integer), 2022-04-13(String), 2022-04-13(String), 01(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 16 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count 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.data20 < ? or d.data20 > ? or d.data21 < ? or d.data21 > ?) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-13(String), 2022-04-13(String), 01(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-12(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 15 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 47 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:51:15] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 31 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-13(String), 2022-04-13(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:15] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 31 [10:51:15] [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 [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [10:51:17] [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 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 = ? ) 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:51:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:51:18] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 203 [10:51:18] [DEBUG] vo.BaseVo - ---------------------------------------------------------------- # Debug Print :: ClassName = SolarIvtJuncOverviewVo, method.len : 138 ---------------------------------------------------------------- getRealtimeYear=2022 getLastdayHours=0.0 getTodayHours=0.0 getOseq=0 getCurrPower=0.0 getLastdayEnergy=0.0 getTodayEnergy=0.0 getInputDate=2022-04-13 getLifetimeEnergy=0.0 getPort=0 getIvtQuantity=0 getIvtStatus=01 getPlantSeq=0 getCount=0 getSeq=0 getTimetableSeq=0 getDrate=0 getIsSolarOnly=false getIsEss=false getIsSolar=false getSupplyPower=0 getPrate=0 getPlantStatus=01 getSupplyPcsPower=0 getClientOrderSeq=0 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [10:51:18] [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:51:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: 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 order by oseq asc, ivtIdx asc [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:51: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 [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.* from t_plant p, ( select d.* from t_ivtdata 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 [10:51:18] [DEBUG] controller.InverterController - ------------------------------------- [10:51:18] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [10:51:18] [DEBUG] controller.InverterController - ------------------------------------- [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String) [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 23 [10:51:18] [DEBUG] controller.InverterController - ------------------------------------- [10:51:18] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_92_1","status":"01"},{"name":"ivt_92_2","status":"01"},{"name":"ivt_92_3","status":"01"},{"name":"ivt_92_4","status":"01"},{"name":"ivt_92_5","status":"01"},{"name":"ivt_92_6","status":"01"},{"name":"ivt_92_7","status":"01"},{"name":"ivt_92_8","status":"01"},{"name":"ivt_92_9","status":"01"},{"name":"ivt_92_10","status":"01"},{"name":"ivt_92_11","status":"01"},{"name":"ivt_92_12","status":"01"},{"name":"ivt_92_13","status":"01"},{"name":"ivt_92_14","status":"01"},{"name":"ivt_92_15","status":"01"},{"name":"ivt_92_16","status":"01"},{"name":"ivt_92_17","status":"01"},{"name":"ivt_92_18","status":"01"},{"name":"ivt_92_19","status":"01"},{"name":"ivt_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [10:51:18] [DEBUG] controller.InverterController - ------------------------------------- [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:51:18] [DEBUG] controller.EssController - ----------------------------------------------- [10:51:18] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:51:18] [DEBUG] controller.EssController - ----------------------------------------------- [10:51:18] [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' order by plantSeq [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String) [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [10:51:18] [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 order by o.plantSeq asc ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' ) 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:51:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-13(String), 2022-04-13(String), 2022-04-13(String) [10:51:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [10:51: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 [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-13(String), 2022-04-13(String) [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:32] [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 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 = ? and p.plantStatus = ? and v.ivtStatus = ? ) 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) ) 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 inputHour = p.inputHour and inputMinute like concat('%', substring(p.inputMinute, 1, 1), '%') and plantSeq = ? ) order by p.seq desc, p.oseq asc [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 01(String), 92(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 92(Integer) [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:51:32] [DEBUG] controller.MonitoringController - solar_overview.selectListByPlantSeq : 쿼리조회시간 : 203 [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, p.plantType, p.supplyPower, i.* from t_plant p, t_ivtjunc i where p.seq = i.plantSeq and p.seq = ? [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.inputHour, o.inputMinute, d.* from t_ivtoverview o, t_ivtdata d where o.oseq = d.oseq and o.plantSeq = d.plantSeq and o.plantSeq = ? and o.inputDate = ? order by o.oseq asc, d.ivtIdx asc [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-13(String) [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 95 [10:51:32] [DEBUG] controller.InverterController - ------------------------------------- [10:51:32] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_18888_1","status":"01"},{"name":"ivt_18888_2","status":"01"},{"name":"ivt_18888_3","status":"01"},{"name":"ivt_18888_4","status":"01"},{"name":"ivt_18888_5","status":"01"},{"name":"ivt_18888_6","status":"01"},{"name":"ivt_18888_7","status":"01"},{"name":"ivt_18888_8","status":"01"},{"name":"ivt_18888_9","status":"01"},{"name":"ivt_18888_10","status":"01"},{"name":"ivt_18888_11","status":"01"},{"name":"ivt_18888_12","status":"01"},{"name":"ivt_18888_13","status":"01"},{"name":"ivt_18888_14","status":"01"},{"name":"ivt_18888_15","status":"01"},{"name":"ivt_18888_16","status":"01"},{"name":"ivt_18888_17","status":"01"},{"name":"ivt_18888_18","status":"01"},{"name":"ivt_18888_19","status":"01"},{"name":"ivt_18895_1","status":"01"},{"name":"ivt_18895_2","status":"01"},{"name":"ivt_18895_3","status":"01"},{"name":"ivt_18895_4","status":"01"},{"name":"ivt_18895_5","status":"01"},{"name":"ivt_18895_6","status":"01"},{"name":"ivt_18895_7","status":"01"},{"name":"ivt_18895_8","status":"01"},{"name":"ivt_18895_9","status":"01"},{"name":"ivt_18895_10","status":"01"},{"name":"ivt_18895_11","status":"01"},{"name":"ivt_18895_12","status":"01"},{"name":"ivt_18895_13","status":"01"},{"name":"ivt_18895_14","status":"01"},{"name":"ivt_18895_15","status":"01"},{"name":"ivt_18895_16","status":"01"},{"name":"ivt_18895_17","status":"01"},{"name":"ivt_18895_18","status":"01"},{"name":"ivt_18895_19","status":"01"},{"name":"ivt_18907_1","status":"01"},{"name":"ivt_18907_2","status":"01"},{"name":"ivt_18907_3","status":"01"},{"name":"ivt_18907_4","status":"01"},{"name":"ivt_18907_5","status":"01"},{"name":"ivt_18907_6","status":"01"},{"name":"ivt_18907_7","status":"01"},{"name":"ivt_18907_8","status":"01"},{"name":"ivt_18907_9","status":"01"},{"name":"ivt_18907_10","status":"01"},{"name":"ivt_18907_11","status":"01"},{"name":"ivt_18907_12","status":"01"},{"name":"ivt_18907_13","status":"01"},{"name":"ivt_18907_14","status":"01"},{"name":"ivt_18907_15","status":"01"},{"name":"ivt_18907_16","status":"01"},{"name":"ivt_18907_17","status":"01"},{"name":"ivt_18907_18","status":"01"},{"name":"ivt_18907_19","status":"01"},{"name":"ivt_18914_1","status":"01"},{"name":"ivt_18914_2","status":"01"},{"name":"ivt_18914_3","status":"01"},{"name":"ivt_18914_4","status":"01"},{"name":"ivt_18914_5","status":"01"},{"name":"ivt_18914_6","status":"01"},{"name":"ivt_18914_7","status":"01"},{"name":"ivt_18914_8","status":"01"},{"name":"ivt_18914_9","status":"01"},{"name":"ivt_18914_10","status":"01"},{"name":"ivt_18914_11","status":"01"},{"name":"ivt_18914_12","status":"01"},{"name":"ivt_18914_13","status":"01"},{"name":"ivt_18914_14","status":"01"},{"name":"ivt_18914_15","status":"01"},{"name":"ivt_18914_16","status":"01"},{"name":"ivt_18914_17","status":"01"},{"name":"ivt_18914_18","status":"01"},{"name":"ivt_18914_19","status":"01"},{"name":"ivt_18926_1","status":"01"},{"name":"ivt_18926_2","status":"01"},{"name":"ivt_18926_3","status":"01"},{"name":"ivt_18926_4","status":"01"},{"name":"ivt_18926_5","status":"01"},{"name":"ivt_18926_6","status":"01"},{"name":"ivt_18926_7","status":"01"},{"name":"ivt_18926_8","status":"01"},{"name":"ivt_18926_9","status":"01"},{"name":"ivt_18926_10","status":"01"},{"name":"ivt_18926_11","status":"01"},{"name":"ivt_18926_12","status":"01"},{"name":"ivt_18926_13","status":"01"},{"name":"ivt_18926_14","status":"01"},{"name":"ivt_18926_15","status":"01"},{"name":"ivt_18926_16","status":"01"},{"name":"ivt_18926_17","status":"01"},{"name":"ivt_18926_18","status":"01"},{"name":"ivt_18926_19","status":"01"},{"name":"end"}]} [10:51:32] [DEBUG] controller.InverterController - ------------------------------------- [10:51:32] [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 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 = ? and p.plantStatus = ? and v.ivtStatus = ? ) 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) ) 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 inputHour = p.inputHour and inputMinute like concat('%', substring(p.inputMinute, 1, 1), '%') and plantSeq = ? ) order by p.seq desc, p.oseq asc [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 01(String), 92(Integer), 2022-04-13(String), 2022-04-13(String), 2022-04-13(String), 92(Integer) [10:51:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5