[01:05:46] [DEBUG] controller.EssController - ----------------------------------------------- [01:05:46] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [01:05:46] [DEBUG] controller.EssController - ----------------------------------------------- [01:54:44] [DEBUG] controller.EssController - ----------------------------------------------- [01:54:44] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [01:54:44] [DEBUG] controller.EssController - ----------------------------------------------- [03:12:08] [DEBUG] controller.EssController - ----------------------------------------------- [03:12:08] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [03:12:08] [DEBUG] controller.EssController - ----------------------------------------------- [03:44:58] [DEBUG] controller.EssController - ----------------------------------------------- [03:44:58] [DEBUG] controller.EssController - error : code : 404, req : http://49.50.166.247/emsa/error.co, param : code=404 [03:44:58] [DEBUG] controller.EssController - ----------------------------------------------- [04:08:12] [DEBUG] controller.EssController - ----------------------------------------------- [04:08:12] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [04:08:12] [DEBUG] controller.EssController - ----------------------------------------------- [04:09:24] [DEBUG] controller.EssController - ----------------------------------------------- [04:09:24] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [04:09:24] [DEBUG] controller.EssController - ----------------------------------------------- [04:32:31] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [04:32:36] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [04:32:36] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [04:32:36] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:32:36] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [04:32:36] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [04:32:36] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [04:32:36] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [04:32:36] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [04:32:36] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [04:32:36] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [04:32:36] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [04:32:36] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:32:36] [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=? [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:32:36] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [04:32:36] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: gwangil, mappingList.size : 1 [04:32:36] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [04:32:36] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), 55441EF7B19EF6D0ACA1525B5784CD84(String), PHONE(String) [04:32:36] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [04:32:36] [DEBUG] controller.EssController - ----------------------------------------------- [04:32:36] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [04:32:36] [DEBUG] controller.EssController - ----------------------------------------------- [04:32:37] [DEBUG] controller.EssController - ----------------------------------------------- [04:32:37] [DEBUG] controller.EssController - /index.co called [04:32:37] [DEBUG] controller.EssController - ----------------------------------------------- [04:32:38] [DEBUG] controller.EssController - ----------------------------------------------- [04:32:38] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 42, param.plantSeq : 0 [04:32:38] [DEBUG] controller.EssController - ----------------------------------------------- [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:32:38] [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 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), null, 42(Integer), 0(Integer), 2022-04-05(String), 42(Integer), 0(Integer), 2022-04-04(String), 42(Integer), 0(Integer), 2022-04-06(String), 58282(Integer) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:32: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.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 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 42(Integer), 2022-04-06(String), 42(Integer) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [04:32:38] [DEBUG] controller.EssController - ----------------------------------------------- [04:32:38] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [04:32:38] [DEBUG] controller.EssController - ----------------------------------------------- [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [04:32:38] [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 [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 04(String) [04:32:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [04:32:39] [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 [04:32:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [04:32:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [04:32:39] [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 [04:32:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [04:32:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [04:32:39] [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 [04:32:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [04:32:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [05:30:13] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:30:16] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:30:16] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :wando, login_channel : null [05:30:16] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:16] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:30:16] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [05:30:16] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:30:16] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [05:30:16] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:30:16] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : wando [05:30:16] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [05:30:16] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [05:30:16] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:16] [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:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [05:30:16] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:30:16] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: wando, mappingList.size : 3 [05:30:16] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:30:16] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[wando] roles roles [0]ROLE_01 [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String), 01(String), 79345A3372998FC3BB9CB1746FD47BDD(String), PHONE(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [05:30:16] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:16] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 14, param.plantSeq : 0 [05:30:16] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:16] [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:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:16] [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:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 14(Integer), 0(Integer), 2022-04-06(String), 14(Integer), 0(Integer), null, 14(Integer), 0(Integer), 2022-04-05(String), 14(Integer), 0(Integer), 2022-04-04(String), 14(Integer), 0(Integer), 2022-04-06(String), 58283(Integer) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:16] [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:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-04-06(String), 14(Integer), 2022-04-06(String), 14(Integer) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:16] [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:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:30:16] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:16] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [05:30:16] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:16] [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:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 01(String), 2022-03-23(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:16] [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:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [05:30:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:30:16] [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:30:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 14(Integer), 0(Integer), 2022-04-06(String), 14(Integer), 0(Integer), 05(String) [05:30:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:17] [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:30:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 0(Integer), 2022-04-06(String), 14(Integer), 0(Integer), 2022-04-06(String) [05:30:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:30:17] [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:30:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 14(Integer), 0(Integer), 14(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [05:30:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [05:30:17] [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:30:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 1(Integer), 2022-04-06(String), 14(Integer), 1(Integer), 2022-04-06(String) [05:30:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:30:21] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:21] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 16 [05:30:21] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:21] [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:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-06(String), 2022-04-06(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:21] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:21] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 16, param.plantSeq : 16 [05:30:21] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:21] [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:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:21] [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:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 16(Integer), 0(Integer), 2022-04-06(String), 16(Integer), 0(Integer), null, 16(Integer), 0(Integer), 2022-04-05(String), 16(Integer), 0(Integer), 2022-04-04(String), 16(Integer), 0(Integer), 2022-04-06(String), 58283(Integer) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30: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.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:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-06(String), 16(Integer), 2022-04-06(String), 16(Integer) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:30:21] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:21] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [05:30:21] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:21] [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:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 01(String), 2022-03-23(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:21] [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:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:30:21] [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:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 16(Integer), 0(Integer), 2022-04-06(String), 16(Integer), 0(Integer), 05(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30: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 [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 0(Integer), 2022-04-06(String), 16(Integer), 0(Integer), 2022-04-06(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:30: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 [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 16(Integer), 0(Integer), 16(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [05:30: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 [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 1(Integer), 2022-04-06(String), 16(Integer), 1(Integer), 2022-04-06(String) [05:30:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:30:25] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:25] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 15 [05:30:25] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:25] [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:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-06(String), 2022-04-06(String) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:25] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:25] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 15, param.plantSeq : 15 [05:30:25] [DEBUG] controller.EssController - ----------------------------------------------- [05:30: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:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30: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:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 15(Integer), 0(Integer), 2022-04-06(String), 15(Integer), 0(Integer), null, 15(Integer), 0(Integer), 2022-04-05(String), 15(Integer), 0(Integer), 2022-04-04(String), 15(Integer), 0(Integer), 2022-04-06(String), 58284(Integer) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30: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:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-06(String), 15(Integer), 2022-04-06(String), 15(Integer) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30: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:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [05:30: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:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:30:25] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:25] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [05:30:25] [DEBUG] controller.EssController - ----------------------------------------------- [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 01(String), 2022-03-23(String) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [05:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [05:30:25] [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:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 15(Integer), 0(Integer), 2022-04-06(String), 15(Integer), 0(Integer), 05(String) [05:30:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30: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:30:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 0(Integer), 2022-04-06(String), 15(Integer), 0(Integer), 2022-04-06(String) [05:30:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [05:30: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:30:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 15(Integer), 0(Integer), 15(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [05:30:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [05:30: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:30:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 1(Integer), 2022-04-06(String), 15(Integer), 1(Integer), 2022-04-06(String) [05:30:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [06:20:23] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [06:20:23] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:17] [DEBUG] controller.EssController - ----------------------------------------------- [08:18:17] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [08:18:17] [DEBUG] controller.EssController - ----------------------------------------------- [08:18:34] [DEBUG] controller.EssController - ----------------------------------------------- [08:18:34] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [08:18:34] [DEBUG] controller.EssController - ----------------------------------------------- [08:19:12] [DEBUG] controller.EssController - ----------------------------------------------- [08:19:12] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [08:19:12] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:34] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:26:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:26:39] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:26:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:26:39] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:26:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:26:39] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [08:26:39] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:26:39] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:26:39] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:26:39] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:26:39] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:39] [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:26:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:26:39] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:26:39] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [08:26:39] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:26:39] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 012C94A8AFA99E3F343A29CA9A2231E2(String), PHONE(String) [08:26:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:26:39] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:39] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [08:26:39] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:41] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:41] [DEBUG] controller.EssController - /index.co called [08:26:41] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:41] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:41] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:26:41] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:41] [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:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58297(Integer) [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:26:41] [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:26:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [08:26:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:26:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [08:26:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:26:42] [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:26:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 08(String) [08:26:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:42] [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:26:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [08:26:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:26:42] [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:26:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [08:26:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:26:42] [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:26:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [08:26:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:26:45] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:45] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [08:26:45] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String) [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:45] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:45] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [08:26:45] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:45] [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:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), null, 86(Integer), 0(Integer), 2022-04-05(String), 86(Integer), 0(Integer), 2022-04-04(String), 86(Integer), 0(Integer), 2022-04-06(String), 58297(Integer) [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 86(Integer), 2022-04-06(String), 86(Integer) [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [08:26:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:26:46] [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:26:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-03-23(String) [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:46] [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:26:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:26:46] [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:26:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 08(String) [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String) [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-06(String), 86(Integer), 1(Integer), 2022-04-06(String) [08:26:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:26:52] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:52] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [08:26:52] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String) [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:52] [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:26:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 08(String), 86(Integer), 0(Integer), 2022-04-05(String), 86(Integer), 0(Integer), 2022-04-04(String), 86(Integer), 0(Integer), 2022-04-06(String), 58297(Integer) [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:26:52] [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:26:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-03-23(String) [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26: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 [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [08:26:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:26: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 [08:26:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [08:26:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:28:54] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:28:54] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:28:54] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:54] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:28:54] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:28:54] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:28:54] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co;jsessionid=D8DE9A473589AB76226E9D3F6E27C6B6 [08:28:54] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:28:54] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:28:54] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:28:54] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:28:54] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:54] [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:28:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:28:54] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:28:54] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [08:28:54] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:28:54] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), EC5B0CEB17764FB989A4B2A79C092D73(String), PHONE(String) [08:28:54] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:28:54] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:28:54] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [08:28:54] [DEBUG] controller.SignController - /ess/view.co [08:28:54] [DEBUG] controller.SignController - ....................................... [08:28:55] [DEBUG] controller.EssController - ----------------------------------------------- [08:28:55] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:28:55] [DEBUG] controller.EssController - ----------------------------------------------- [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:55] [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:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58297(Integer) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:28:55] [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:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 08(String) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [08:28:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [08:28:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:29:21] [DEBUG] controller.EssController - ----------------------------------------------- [08:29:21] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [08:29:21] [DEBUG] controller.EssController - ----------------------------------------------- [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29:21] [DEBUG] controller.EssController - ----------------------------------------------- [08:29:21] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [08:29:21] [DEBUG] controller.EssController - ----------------------------------------------- [08:29:21] [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:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29:21] [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:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), null, 86(Integer), 0(Integer), 2022-04-05(String), 86(Integer), 0(Integer), 2022-04-04(String), 86(Integer), 0(Integer), 2022-04-06(String), 58297(Integer) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29: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.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:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 86(Integer), 2022-04-06(String), 86(Integer) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:29:21] [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:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-03-23(String) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29:21] [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:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:29:21] [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:29:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 08(String) [08:29:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29:22] [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:29:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String) [08:29:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:29:22] [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:29:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [08:29:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:29:22] [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:29:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-06(String), 86(Integer), 1(Integer), 2022-04-06(String) [08:29:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:29:24] [DEBUG] controller.EssController - ----------------------------------------------- [08:29:24] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [08:29:24] [DEBUG] controller.EssController - ----------------------------------------------- [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String) [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29: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 [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 08(String), 86(Integer), 0(Integer), 2022-04-05(String), 86(Integer), 0(Integer), 2022-04-04(String), 86(Integer), 0(Integer), 2022-04-06(String), 58297(Integer) [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-03-23(String) [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:29: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 [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [08:29:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:29:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:29:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [08:29:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:04:25] [DEBUG] controller.EssController - ----------------------------------------------- [09:04:25] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [09:04:25] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 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:11:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [09:11:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:11:32] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:11: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 [09:11:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [09:11:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:04:02] [DEBUG] controller.EssController - ----------------------------------------------- [10:04:02] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:04:02] [DEBUG] controller.EssController - ----------------------------------------------- [10:06:55] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:06:59] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:07:00] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:07:00] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:07:33] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:07:35] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:07:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:07:38] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [10:07:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:07:38] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:07:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:07:38] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [10:07:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:07:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [10:07:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:07:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:07:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:07:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:07:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [10:07:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:07:38] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), C304ED9CC93A3D8D7F23B2AD22F268E8(String), PHONE(String) [10:07:38] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:07:38] [DEBUG] controller.EssController - ----------------------------------------------- [10:07:38] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:07:38] [DEBUG] controller.EssController - ----------------------------------------------- [10:07:40] [DEBUG] controller.EssController - ----------------------------------------------- [10:07:40] [DEBUG] controller.EssController - /index.co called [10:07:40] [DEBUG] controller.EssController - ----------------------------------------------- [10:07:40] [DEBUG] controller.EssController - ----------------------------------------------- [10:07:40] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [10:07:40] [DEBUG] controller.EssController - ----------------------------------------------- [10:07:40] [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:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:40] [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:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58307(Integer) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07: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.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:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:40] [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:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:07:40] [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:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:40] [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:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:07:40] [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:07:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String) [10:07:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:41] [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:07:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [10:07:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:07:41] [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:07:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:07:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:07:41] [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:07:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [10:07:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:07:55] [DEBUG] controller.EssController - ----------------------------------------------- [10:07:55] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [10:07:55] [DEBUG] controller.EssController - ----------------------------------------------- [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:55] [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:07:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58307(Integer) [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:07:55] [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:07:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:07:55] [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:07:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:07:55] [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:07:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:07:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:08:09] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:08:43] [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:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [10:08:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:08:43] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [10:08:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [10:08:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:20:21] [DEBUG] controller.EssController - ----------------------------------------------- [10:20:21] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:20:21] [DEBUG] controller.EssController - ----------------------------------------------- [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:23] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:23] [DEBUG] controller.EssController - /index.co called [10:21:23] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:23] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:23] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [10:21:23] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:23] [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:21:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:21:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:23] [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:21:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58309(Integer) [10:21:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.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:21:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [10:21:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:21: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 >= ? [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21: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 [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:21: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 [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21: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 desc, d.pcsIdx asc [10:21:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [10:21:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:21:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:21:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:21:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:21: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 [10:21:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [10:21:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:21:33] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:33] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [10:21:33] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:33] [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:21:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [10:21:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:33] [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:21:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58309(Integer) [10:21:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:21:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:21:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:21: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 >= ? [10:21:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:21:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21: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 [10:21:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:21:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:21:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:21:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:21:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:22:59] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:23:04] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:23:04] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [10:23:04] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:23:04] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:23:04] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:23:04] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:23:04] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [10:23:04] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:23:04] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [10:23:04] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:23:04] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:23:04] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:23:04] [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:23:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:23:04] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:23:04] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: gwangil, mappingList.size : 1 [10:23:04] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:23:04] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), 6C05BA2B3A97D4C108555E43250836D7(String), PHONE(String) [10:23:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:23:04] [DEBUG] controller.EssController - ----------------------------------------------- [10:23:04] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:23:04] [DEBUG] controller.EssController - ----------------------------------------------- [10:23:06] [DEBUG] controller.EssController - ----------------------------------------------- [10:23:06] [DEBUG] controller.EssController - /index.co called [10:23:06] [DEBUG] controller.EssController - ----------------------------------------------- [10:23:06] [DEBUG] controller.EssController - ----------------------------------------------- [10:23:06] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 42, param.plantSeq : 0 [10:23:06] [DEBUG] controller.EssController - ----------------------------------------------- [10:23:06] [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:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:23:06] [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:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), null, 42(Integer), 0(Integer), 2022-04-05(String), 42(Integer), 0(Integer), 2022-04-04(String), 42(Integer), 0(Integer), 2022-04-06(String), 58309(Integer) [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:23:06] [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:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 42(Integer), 2022-04-06(String), 42(Integer) [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [10:23:06] [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:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:23:06] [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:23:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:23:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:23:07] [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:23:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 10(String) [10:23:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:23:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:23:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [10:23:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:23:07] [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:23:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:23:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:23:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:23:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [10:23:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:23: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 >= ? [10:23:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [10:23:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:23: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 [10:23:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:23:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:23: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 [10:23:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 10(String) [10:23:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:23: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 [10:23:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [10:23:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:23: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 [10:23:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:23:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:23: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 [10:23:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [10:23:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:31:30] [DEBUG] controller.EssController - ----------------------------------------------- [10:31:30] [DEBUG] controller.EssController - /index.co called [10:31:30] [DEBUG] controller.EssController - ----------------------------------------------- [10:31:30] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:31:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:31:46] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :togyo, login_channel : null [10:31:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: togyo(String) [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:31:46] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:31:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:31:46] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [10:31:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:31:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : togyo [10:31:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:31:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:31:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: togyo(String) [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31: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=? [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: togyo(String) [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:31:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: togyo, mappingList.size : 1 [10:31:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:31:46] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[togyo] roles roles [0]ROLE_01 [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: togyo(String), 01(String), 64BB6498BAD09AB0A377F3EF334F3744(String), PHONE(String) [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:31:46] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:31:46] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [10:31:46] [DEBUG] controller.SignController - /ess/view.co [10:31:46] [DEBUG] controller.SignController - ....................................... [10:31:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:31:46] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 80, param.plantSeq : 0 [10:31:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:31:46] [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:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:46] [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:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 80(Integer), 0(Integer), 2022-04-06(String), 80(Integer), 0(Integer), null, 80(Integer), 0(Integer), 2022-04-05(String), 80(Integer), 0(Integer), 2022-04-04(String), 80(Integer), 0(Integer), 2022-04-06(String), 58310(Integer) [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:46] [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:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-06(String), 80(Integer), 2022-04-06(String), 80(Integer) [10:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:46] [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:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 21(String) [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(String) [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:31:47] [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:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:31:47] [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:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-03-23(String) [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:47] [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:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:31:47] [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:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 80(Integer), 0(Integer), 2022-04-06(String), 80(Integer), 0(Integer), 10(String) [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-04-06(String), 80(Integer), 0(Integer), 2022-04-06(String) [10:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 1(Integer), 2022-04-06(String), 80(Integer), 1(Integer), 2022-04-06(String) [10:31:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:36:19] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:36:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:36:28] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [10:36:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:36:28] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:36:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:36:28] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [10:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [10:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [10:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:36:28] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 27BC550231E546109137E094C6F5279E(String), PHONE(String) [10:36:28] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:36:28] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:36:28] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:30] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:30] [DEBUG] controller.EssController - /index.co called [10:36:30] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:30] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:30] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [10:36:30] [DEBUG] controller.EssController - ----------------------------------------------- [10:36: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 [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36: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 [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58310(Integer) [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36: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 [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36: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 ?, ? [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:36:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:36:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [10:36:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:36:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:31] [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:36:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:36:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:36:31] [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:36:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String) [10:36:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:36:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [10:36:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:36:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:36:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:36:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:36:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:36:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [10:36:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:36:35] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:35] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [10:36:35] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:35] [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:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:35] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:35] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [10:36:35] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:35] [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:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:35] [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:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), null, 86(Integer), 0(Integer), 2022-04-05(String), 86(Integer), 0(Integer), 2022-04-04(String), 86(Integer), 0(Integer), 2022-04-06(String), 58310(Integer) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.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:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 86(Integer), 2022-04-06(String), 86(Integer) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:36:35] [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:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-03-23(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:35] [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:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:36:35] [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:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 10(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10: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 [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10: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 [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:36:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:36:36] [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:36:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-06(String), 86(Integer), 1(Integer), 2022-04-06(String) [10:36:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:36:40] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:40] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [10:36:40] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:40] [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:36:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String) [10:36:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:40] [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:36:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 10(String), 86(Integer), 0(Integer), 2022-04-05(String), 86(Integer), 0(Integer), 2022-04-04(String), 86(Integer), 0(Integer), 2022-04-06(String), 58310(Integer) [10:36:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:36:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:36:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:36:41] [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:36:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-03-23(String) [10:36:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:41] [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:36:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:36:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:36:41] [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:36:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:36:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:36:43] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:43] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 85 [10:36:43] [DEBUG] controller.EssController - ----------------------------------------------- [10:36: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:36:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:44] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:44] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [10:36:44] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:44] [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:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:44] [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:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58310(Integer) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:44] [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:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.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:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:36:44] [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:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:44] [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:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:36:44] [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:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:36:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:36:45] [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:36:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [10:36:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:36:46] [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:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [10:36:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:46] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [10:36:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:46] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [10:36:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:36: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:36:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [10:36:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:46] [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:36:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58310(Integer) [10:36:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:36:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:36:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:36:47] [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:36:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:36:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:47] [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:36:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:36:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:36:47] [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:36:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:36:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [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 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:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:59] [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:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 0(Integer) [10:36:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:36:59] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [10:37:00] [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:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:37:00] [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:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [10:37:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:37:00] [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:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [10:37:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:37:00] [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:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String), 0(Integer), 10(Integer) [10:37:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 15 [10:37:00] [DEBUG] controller.JsonController - ------------------------------------- [10:37:00] [DEBUG] controller.JsonController - { "data" : [{"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:37:00] [DEBUG] controller.JsonController - ------------------------------------- [10:37:00] [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:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [10:37:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 58 [10:37:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:37:00] [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:00] [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-06(String), 2022-04-06(String), 01(String), 0(Integer), 10(Integer) [10:37:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:37:00] [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:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [10:37:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:37:01] [DEBUG] controller.EssController - ----------------------------------------------- [10:37:01] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:37:01] [DEBUG] controller.EssController - ----------------------------------------------- [10:45:24] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:45:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:45:28] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [10:45:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:45:28] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:45:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:45:28] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [10:45:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:45:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [10:45:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:45:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:45:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:45:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:45:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [10:45:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:45:28] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), CB3C078845A11D14E65FA8676160B77D(String), PHONE(String) [10:45:28] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [10:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [10:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [10:45:32] [DEBUG] controller.EssController - ----------------------------------------------- [10:45:32] [DEBUG] controller.EssController - /index.co called [10:45:32] [DEBUG] controller.EssController - ----------------------------------------------- [10:45:32] [DEBUG] controller.EssController - ----------------------------------------------- [10:45:32] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [10:45:32] [DEBUG] controller.EssController - ----------------------------------------------- [10:45: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 [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45: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 [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58311(Integer) [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45: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 [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45: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 ?, ? [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:45:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45: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 [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:45: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 [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String) [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45: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 [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:45: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 [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:45: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 [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [10:45:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:45:38] [DEBUG] controller.EssController - ----------------------------------------------- [10:45:38] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [10:45:38] [DEBUG] controller.EssController - ----------------------------------------------- [10:45:38] [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:45:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [10:45:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45:38] [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:45:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58311(Integer) [10:45:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:45:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:45:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:45:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [10:45:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:45:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:45:38] [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:45:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:45:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:45:39] [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:45:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:45:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:46:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:46:46] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [10:46:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:46: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:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String) [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:46:46] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [10:46:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:46:46] [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:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:46] [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:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), null, 86(Integer), 0(Integer), 2022-04-05(String), 86(Integer), 0(Integer), 2022-04-04(String), 86(Integer), 0(Integer), 2022-04-06(String), 58311(Integer) [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:46] [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:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-06(String), 86(Integer), 2022-04-06(String), 86(Integer) [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:46] [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:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:46:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:46:47] [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:46:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-03-23(String) [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:47] [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:46:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:46:47] [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:46:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 10(String) [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-06(String), 86(Integer), 0(Integer), 2022-04-06(String) [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:46:47] [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:46:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-06(String), 86(Integer), 1(Integer), 2022-04-06(String) [10:46:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:46:49] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:46:49] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:46:49] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:46:49] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:46:50] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:46:50] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:46:54] [DEBUG] controller.EssController - ----------------------------------------------- [10:46:54] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 85 [10:46:54] [DEBUG] controller.EssController - ----------------------------------------------- [10:46:54] [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:46:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:55] [DEBUG] controller.EssController - ----------------------------------------------- [10:46:55] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [10:46:55] [DEBUG] controller.EssController - ----------------------------------------------- [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:55] [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:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58311(Integer) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:46:55] [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:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:55] [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:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:46:55] [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:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 10(String) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:46:55] [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:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [10:46:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:46:55] [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:46:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [10:46:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:46:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:46:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [10:46:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:58:43] [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:58:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [10:58:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:58:43] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [10:58:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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:58:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [10:58:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:58: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 [10:58:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [10:58:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:58:47] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [10:58:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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:58:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [10:58:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [11:00: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.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 [11:00:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [11:00:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [11:00:11] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [11:00: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 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 [11:00:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [11:00:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [11:00:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 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 [11:00:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [11:00:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [11:00:20] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [11:00: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 [11:00:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [11:00:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [11:03:46] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:03:49] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:03:49] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :sungjin2, login_channel : null [11:03:49] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sungjin2(String) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:49] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:03:49] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [11:03:49] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:03:49] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [11:03:49] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:03:49] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : sungjin2 [11:03:49] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [11:03:49] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [11:03:49] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sungjin2(String) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:49] [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=? [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sungjin2(String) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:49] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:03:49] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: sungjin2, mappingList.size : 1 [11:03:49] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:03:49] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[sungjin2] roles roles [0]ROLE_01 [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sungjin2(String), 01(String), C12190F21B644DCC6562B89B7EBBD8E3(String), WEB(String) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:03:49] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:03:49] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [11:03:49] [DEBUG] controller.SignController - /ess/view.co [11:03:49] [DEBUG] controller.SignController - ....................................... [11:03:49] [DEBUG] controller.EssController - ----------------------------------------------- [11:03:49] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 56, param.plantSeq : 0 [11:03:49] [DEBUG] controller.EssController - ----------------------------------------------- [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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 [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:49] [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 [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 56(Integer), 0(Integer), 2022-04-06(String), 56(Integer), 0(Integer), null, 56(Integer), 0(Integer), 2022-04-05(String), 56(Integer), 0(Integer), 2022-04-04(String), 56(Integer), 0(Integer), 2022-04-06(String), 58313(Integer) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 56(Integer), 2022-04-06(String), 56(Integer) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:03:49] [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 >= ? [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:49] [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 [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 56(Integer), 0(Integer), 2022-04-06(String), 56(Integer), 0(Integer), 11(String) [11:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [11:03:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 0(Integer), 2022-04-06(String), 56(Integer), 0(Integer), 2022-04-06(String) [11:03:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:03:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [11:03:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 56(Integer), 0(Integer), 56(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:03:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:03:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [11:03:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 1(Integer), 2022-04-06(String), 56(Integer), 1(Integer), 2022-04-06(String) [11:03:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:03:53] [DEBUG] controller.EssController - ----------------------------------------------- [11:03:53] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 56, param.plantSeq : 56 [11:03:53] [DEBUG] controller.EssController - ----------------------------------------------- [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 2022-04-06(String) [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:53] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 31 [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03: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 [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 0(Integer), 2022-04-06(String), 56(Integer), 0(Integer), 2022-04-06(String) [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:03: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 [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 0(Integer), 2022-04-06(String), 56(Integer), 0(Integer), 2022-04-06(String) [11:03:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:03:57] [DEBUG] controller.EssController - ----------------------------------------------- [11:03:57] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 56, param.plantSeq : 56 [11:03:57] [DEBUG] controller.EssController - ----------------------------------------------- [11:03: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 [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 2022-04-06(String) [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:57] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 31 [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 56(Integer), 0(Integer), 56(Integer), 0(Integer), 2022(String), 04(String) [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [11:03:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 56(Integer), 0(Integer), 56(Integer), 0(Integer), 2022(String), 04(String) [11:03:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [11:04:08] [DEBUG] controller.EssController - ----------------------------------------------- [11:04:08] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 56, param.plantSeq : 56 [11:04:08] [DEBUG] controller.EssController - ----------------------------------------------- [11:04: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 [11:04:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 2022-04-06(String) [11:04:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:04: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 [11:04:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 56(Integer), 0(Integer), 2022-04-06(String), 56(Integer), 0(Integer), 11(String), 56(Integer), 0(Integer), 2022-04-05(String), 56(Integer), 0(Integer), 2022-04-04(String), 56(Integer), 0(Integer), 2022-04-06(String), 58313(Integer) [11:04:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:04:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:04:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:04:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:04: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 >= ? [11:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:04: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 [11:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 56(Integer), 0(Integer), 56(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:04: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 [11:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 56(Integer), 0(Integer), 56(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:04:17] [DEBUG] controller.EssController - ----------------------------------------------- [11:04:17] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 56, param.plantSeq : 0 [11:04:17] [DEBUG] controller.EssController - ----------------------------------------------- [11:04:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [11:04:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-05(String), 2022-04-05(String) [11:04:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:04:17] [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 [11:04:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String), 56(Integer), 0(Integer), 2022-04-05(String), 56(Integer), 0(Integer), null, 56(Integer), 0(Integer), 2022-04-04(String), 56(Integer), 0(Integer), 2022-04-03(String), 56(Integer), 0(Integer), 2022-04-05(String), 58272(Integer) [11:04:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:04:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:04:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String) [11:04:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:04: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 >= ? [11:04:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:04:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:04:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [11:04:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String), 56(Integer), 0(Integer), 56(Integer), 0(Integer), 2022-03-27(String), 2022-04-05(String) [11:04:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [11:04:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [11:04:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String), 56(Integer), 0(Integer), 56(Integer), 0(Integer), 2022-03-27(String), 2022-04-05(String) [11:04:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [11:06: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 [11:06:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [11:06:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [11:06:02] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [11:06: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 [11:06:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [11:06:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [11:06:27] [DEBUG] controller.EssController - ----------------------------------------------- [11:06:27] [DEBUG] controller.EssController - /ess/kesco.co :: plantSeq :: 56, param.plantSeq : 56 [11:06:27] [DEBUG] controller.EssController - ----------------------------------------------- [11:06:27] [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 [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 2022-04-06(String) [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as name, k.* from t_plant p left join t_kesco k on p.seq = k.plantSeq where p.plantStatus='01' and p.seq = ? order by p.seq desc [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer) [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputDate, count(seq) as totalCount, SUM(CASE WHEN sendStatus ='01' THEN 1 ELSE 0 END) as succCount, SUM(CASE WHEN sendStatus ='01' THEN 0 ELSE 1 END) as failCount from t_kesco_data where inputDate between ? and ? and plantSeq = ? group by inputDate order by inputDate asc [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-01(String), 2022-04-30(String), 56(Integer) [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:06:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:06:33] [DEBUG] controller.EssController - /ess/kesco.co :: plantSeq :: 56, param.plantSeq : 0 [11:06:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:06:33] [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 [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 2022-04-06(String) [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as name, k.* from t_plant p left join t_kesco k on p.seq = k.plantSeq where p.plantStatus='01' and p.seq = ? order by p.seq desc [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer) [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputDate, count(seq) as totalCount, SUM(CASE WHEN sendStatus ='01' THEN 1 ELSE 0 END) as succCount, SUM(CASE WHEN sendStatus ='01' THEN 0 ELSE 1 END) as failCount from t_kesco_data where inputDate between ? and ? and plantSeq = ? group by inputDate order by inputDate asc [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-03-01(String), 2022-03-31(String), 56(Integer) [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 31 [11:06: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 >= ? [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:06:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:46] [DEBUG] controller.EssController - ----------------------------------------------- [11:06:46] [DEBUG] controller.EssController - /ess/kesco.co :: plantSeq :: 56, param.plantSeq : 0 [11:06:46] [DEBUG] controller.EssController - ----------------------------------------------- [11:06: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 [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 2022-04-06(String) [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as name, k.* from t_plant p left join t_kesco k on p.seq = k.plantSeq where p.plantStatus='01' and p.seq = ? order by p.seq desc [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer) [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputDate, count(seq) as totalCount, SUM(CASE WHEN sendStatus ='01' THEN 1 ELSE 0 END) as succCount, SUM(CASE WHEN sendStatus ='01' THEN 0 ELSE 1 END) as failCount from t_kesco_data where inputDate between ? and ? and plantSeq = ? group by inputDate order by inputDate asc [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-02-01(String), 2022-02-28(String), 56(Integer) [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 28 [11:06:46] [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 >= ? [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:06:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:50] [DEBUG] controller.EssController - ----------------------------------------------- [11:06:50] [DEBUG] controller.EssController - /ess/kesco.co :: plantSeq :: 56, param.plantSeq : 0 [11:06:50] [DEBUG] controller.EssController - ----------------------------------------------- [11:06: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 [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 2022-04-06(String) [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as name, k.* from t_plant p left join t_kesco k on p.seq = k.plantSeq where p.plantStatus='01' and p.seq = ? order by p.seq desc [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer) [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputDate, count(seq) as totalCount, SUM(CASE WHEN sendStatus ='01' THEN 1 ELSE 0 END) as succCount, SUM(CASE WHEN sendStatus ='01' THEN 0 ELSE 1 END) as failCount from t_kesco_data where inputDate between ? and ? and plantSeq = ? group by inputDate order by inputDate asc [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-01-01(String), 2022-01-31(String), 56(Integer) [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 31 [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:06:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:56] [DEBUG] controller.EssController - ----------------------------------------------- [11:06:56] [DEBUG] controller.EssController - /ess/kesco.co :: plantSeq :: 56, param.plantSeq : 0 [11:06:56] [DEBUG] controller.EssController - ----------------------------------------------- [11:06:56] [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 [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 2022-04-06(String), 2022-04-06(String) [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as name, k.* from t_plant p left join t_kesco k on p.seq = k.plantSeq where p.plantStatus='01' and p.seq = ? order by p.seq desc [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer) [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputDate, count(seq) as totalCount, SUM(CASE WHEN sendStatus ='01' THEN 1 ELSE 0 END) as succCount, SUM(CASE WHEN sendStatus ='01' THEN 0 ELSE 1 END) as failCount from t_kesco_data where inputDate between ? and ? and plantSeq = ? group by inputDate order by inputDate asc [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-03-01(String), 2022-03-31(String), 56(Integer) [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 31 [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 56(Integer), 01(String), 2022-03-23(String) [11:06:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_login_2021 set updateTime = curtime() where id = ? and sessionId= ? [11:07:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: sungjin2(String), C12190F21B644DCC6562B89B7EBBD8E3(String) [11:07:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:07:07] [DEBUG] controller.EssController - ----------------------------------------------- [11:07:07] [DEBUG] controller.EssController - /index.co called [11:07:07] [DEBUG] controller.EssController - ----------------------------------------------- [11:07:07] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:09:25] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [11:09:25] [DEBUG] controller.TestIndexController - called /test/index.co ... [11:09:25] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [11:09:32] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:32] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:32] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:32] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:32] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:32] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:33] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:33] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:09:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:09:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:10:01] [DEBUG] controller.EssController - ----------------------------------------------- [11:10:01] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:10:01] [DEBUG] controller.EssController - ----------------------------------------------- [11:10:22] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:10:31] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:10:31] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:10:31] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:10:32] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:10:32] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:10:32] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:11:30] [DEBUG] controller.EssController - ----------------------------------------------- [11:11:30] [DEBUG] controller.EssController - error : code : 405, req : http://emsa.eltenergy.com/error.co, param : code=405 [11:11:30] [DEBUG] controller.EssController - ----------------------------------------------- [11:15:54] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:15:59] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:15:59] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [11:15:59] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:15:59] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:15:59] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [11:15:59] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:15:59] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [11:15:59] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:15:59] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [11:15:59] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [11:15:59] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [11:15:59] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:15:59] [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=? [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:15:59] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:15:59] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [11:15:59] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:15:59] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 9C399F8906FDE5FE8EAAC61F8EDDD70D(String), PHONE(String) [11:15:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:15:59] [DEBUG] controller.EssController - ----------------------------------------------- [11:15:59] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:15:59] [DEBUG] controller.EssController - ----------------------------------------------- [11:16:01] [DEBUG] controller.EssController - ----------------------------------------------- [11:16:01] [DEBUG] controller.EssController - /index.co called [11:16:01] [DEBUG] controller.EssController - ----------------------------------------------- [11:16:01] [DEBUG] controller.EssController - ----------------------------------------------- [11:16:01] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [11:16:01] [DEBUG] controller.EssController - ----------------------------------------------- [11:16:01] [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 [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:16:01] [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 [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58314(Integer) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:16: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.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 [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:16:01] [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 ?, ? [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:16:01] [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 >= ? [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:16:01] [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 [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:16:01] [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 [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 11(String) [11:16:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:16:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [11:16:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [11:16:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:16:02] [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 [11:16:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:16:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:16:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [11:16:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [11:16:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:16:07] [DEBUG] controller.EssController - ----------------------------------------------- [11:16:07] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [11:16:07] [DEBUG] controller.EssController - ----------------------------------------------- [11:16:07] [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 [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:16:07] [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 [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 11(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58314(Integer) [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:16:07] [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 [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:16:07] [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 [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:18:20] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:31:24] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:31:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:31:28] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [11:31:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:31:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:31:28] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [11:31:28] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:31:28] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [11:31:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:31:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [11:31:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [11:31:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [11:31:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:31:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:31:28] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: gwangil, mappingList.size : 1 [11:31:28] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:31:28] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), BBBCFF2888A051E23D881C9FA0F9CA6B(String), PHONE(String) [11:31:28] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:31:28] [DEBUG] controller.EssController - ----------------------------------------------- [11:31:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:31:28] [DEBUG] controller.EssController - ----------------------------------------------- [11:31:29] [DEBUG] controller.EssController - ----------------------------------------------- [11:31:29] [DEBUG] controller.EssController - /index.co called [11:31:29] [DEBUG] controller.EssController - ----------------------------------------------- [11:31:29] [DEBUG] controller.EssController - ----------------------------------------------- [11:31:29] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 42, param.plantSeq : 0 [11:31:29] [DEBUG] controller.EssController - ----------------------------------------------- [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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 [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:31:29] [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 [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), null, 42(Integer), 0(Integer), 2022-04-05(String), 42(Integer), 0(Integer), 2022-04-04(String), 42(Integer), 0(Integer), 2022-04-06(String), 58316(Integer) [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 42(Integer), 2022-04-06(String), 42(Integer) [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:31:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:31: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 >= ? [11:31:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [11:31:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:31: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 [11:31:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [11:31:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:31: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 [11:31:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 11(String) [11:31:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:31:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [11:31:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [11:31:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:31:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [11:31:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:31:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:31:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [11:31:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [11:31:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [11:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [11:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [11:31:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [11:31:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:31:46] [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 [11:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 11(String) [11:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [11:31:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [11:31:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:31:47] [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 [11:31:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:31:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [11:31:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [11:31:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:32:59] [DEBUG] controller.EssController - ----------------------------------------------- [11:32:59] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:32:59] [DEBUG] controller.EssController - ----------------------------------------------- [11:33:10] [DEBUG] controller.EssController - ----------------------------------------------- [11:33:10] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:33:10] [DEBUG] controller.EssController - ----------------------------------------------- [11:33:21] [DEBUG] controller.EssController - ----------------------------------------------- [11:33:21] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:33:21] [DEBUG] controller.EssController - ----------------------------------------------- [11:35:05] [DEBUG] controller.EssController - ----------------------------------------------- [11:35:05] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:35:05] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:27] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:37:27] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:39] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:37:40] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:40] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:37:40] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:45] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:37:45] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [11:37:45] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37:45] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:37:45] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [11:37:45] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:37:45] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [11:37:45] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:37:45] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [11:37:45] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [11:37:45] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [11:37:45] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:37:45] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:37:45] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [11:37:45] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:37:45] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), D909F3FE0CE81EFFA28810E8B4A87DEB(String), PHONE(String) [11:37:45] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:37:45] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:45] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:37:45] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:47] [DEBUG] controller.EssController - /index.co called [11:37:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:47] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [11:37:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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 [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37:47] [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 [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58316(Integer) [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:37:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:37: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 >= ? [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37: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 [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:37: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 [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 11(String) [11:37:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37: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 [11:37:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [11:37:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:37: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 [11:37:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:37:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:37: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 [11:37:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [11:37:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:37:51] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:51] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:37:51] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:54] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:54] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [11:37:54] [DEBUG] controller.EssController - ----------------------------------------------- [11:37:54] [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 [11:37:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [11:37:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37:54] [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 [11:37:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 11(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58316(Integer) [11:37:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:37:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:37:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:37:55] [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 >= ? [11:37:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [11:37:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:37:55] [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 [11:37:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:37:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:37:55] [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 [11:37:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:37:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:38:09] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:38:16] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:38:16] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :tk2340, login_channel : null [11:38:16] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:38:17] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:38:17] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [11:38:17] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:38:17] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [11:38:17] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:38:17] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : tk2340 [11:38:17] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [11:38:17] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [11:38:17] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:38:17] [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=? [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:38:17] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:38:17] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: tk2340, mappingList.size : 1 [11:38:17] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:38:17] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[tk2340] roles roles [0]ROLE_01 [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String), 01(String), 54ED5B75DA1106F78BDCC2BA4CBF356A(String), PHONE(String) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:38:17] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:38:17] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [11:38:17] [DEBUG] controller.SignController - /ess/view.co [11:38:17] [DEBUG] controller.SignController - ....................................... [11:38:17] [DEBUG] controller.EssController - ----------------------------------------------- [11:38:17] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 41, param.plantSeq : 0 [11:38:17] [DEBUG] controller.EssController - ----------------------------------------------- [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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 [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:38:17] [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 [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), null, 41(Integer), 0(Integer), 2022-04-05(String), 41(Integer), 0(Integer), 2022-04-04(String), 41(Integer), 0(Integer), 2022-04-06(String), 58316(Integer) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 41(Integer), 2022-04-06(String), 41(Integer) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:38:21] [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 >= ? [11:38:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-03-23(String) [11:38:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:38:21] [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 [11:38:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [11:38:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:38:22] [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 [11:38:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), 11(String) [11:38:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:38: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 [11:38:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String) [11:38:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:38:28] [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 [11:38:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 41(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:38:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:38:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [11:38:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 1(Integer), 2022-04-06(String), 41(Integer), 1(Integer), 2022-04-06(String) [11:38:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:38:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [11:38:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [11:38:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:38:51] [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 [11:38:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:38:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:39:13] [DEBUG] controller.EssController - ----------------------------------------------- [11:39:13] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:39:13] [DEBUG] controller.EssController - ----------------------------------------------- [11:39:29] [DEBUG] controller.EssController - ----------------------------------------------- [11:39:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:39:29] [DEBUG] controller.EssController - ----------------------------------------------- [11:40:27] [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 = ? [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:40:27] [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 = ? [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String), 0(Integer), 20(Integer) [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String), 0(Integer), 20(Integer) [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [11:40:27] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 78 [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 58 [11:40:27] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 78 [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [11:40:27] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 93 [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [11:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 58 [11:40:27] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 109 [11:42:32] [DEBUG] controller.EssController - ----------------------------------------------- [11:42:32] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:42:32] [DEBUG] controller.EssController - ----------------------------------------------- [11:43:11] [DEBUG] controller.EssController - ----------------------------------------------- [11:43:11] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:43:11] [DEBUG] controller.EssController - ----------------------------------------------- [11:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [11:44:10] [DEBUG] controller.EssController - ----------------------------------------------- [11:44:10] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:44:10] [DEBUG] controller.EssController - ----------------------------------------------- [11:44:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:44:47] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:44:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:45:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:45:47] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:45:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:46:26] [DEBUG] controller.EssController - ----------------------------------------------- [11:46:26] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:46:26] [DEBUG] controller.EssController - ----------------------------------------------- [11:47:01] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [11:47:01] [DEBUG] controller.TestIndexController - called /test/index.co ... [11:47:01] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [11:47:04] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:47:04] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :user09, login_channel : null [11:47:04] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:05] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:47:05] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_09 [11:47:05] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:47:05] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/test/index.co [11:47:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:47:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : user09 [11:47:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [11:47:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [11:47:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:05] [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 [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [11:47:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:47:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: user09, mappingList.size : 79 [11:47:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:47:05] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[user09] roles roles [0]ROLE_09 [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String), 09(String), 2D588ADE04E0634F807898B1076EEAC4(String), WEB(String) [11:47:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:47:05] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [11:47:05] [DEBUG] controller.TestIndexController - called /test/index.co ... [11:47:05] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:08] [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 [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 2022-04-06(String) [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [11:47:08] [DEBUG] vo.PowerExpectVo - PowerExpectVo.initMap.trateMap [11:47:08] [DEBUG] vo.PowerExpectVo - PowerExpectVo.initMap.srateMap [11:47:08] [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 [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 56 [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:47:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [11:47:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:47:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:47:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:47:11] [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 = ? [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [11:47:11] [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 = ? [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:47:11] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [11:47:11] [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 = ? [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:47:11] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [11:47:11] [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 = ? [11:47:11] [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-06(String), 2022-04-06(String), 01(String) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 56 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [11:47:11] [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 = ? ) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 132 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 44 [11:47:11] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 174 [11:47:11] [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 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [11:47:11] [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 = ? [11:47:11] [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 = ? [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-06(String), 2022-04-06(String), 01(String) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 87 [11:47:11] [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-06(String), 2022-04-06(String), 01(String) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [11:47:11] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 266 [11:47:11] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 139 [11:47: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.procStatus = ? and c.inputDate between ? and ? [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 212 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:11] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 118 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:47: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 [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [11:47:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [11:47: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 [11:47:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 0(Integer) [11:47:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [11:47:14] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 100 [11:47:15] [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 [11:47:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:47:15] [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 [11:47:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [11:47:15] [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 [11:47:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [11:47:15] [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 [11:47:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [11:47:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:47:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 58 [11:47:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:47:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 15 [11:47:15] [DEBUG] controller.JsonController - ------------------------------------- [11:47:15] [DEBUG] controller.JsonController - { "data" : [{"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"}]} [11:47:15] [DEBUG] controller.JsonController - ------------------------------------- [11:47:15] [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 ?, ? [11:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String), 0(Integer), 10(Integer) [11:47:16] [DEBUG] controller.EssController - ----------------------------------------------- [11:47:16] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:47:16] [DEBUG] controller.EssController - ----------------------------------------------- [11:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [11:47:16] [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 ?, ? [11:47:16] [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-06(String), 2022-04-06(String), 01(String), 0(Integer), 10(Integer) [11:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:47:16] [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 [11:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [11:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:49:28] [DEBUG] controller.EssController - ----------------------------------------------- [11:49:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:49:28] [DEBUG] controller.EssController - ----------------------------------------------- [11:49:59] [DEBUG] controller.EssController - ----------------------------------------------- [11:49:59] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:49:59] [DEBUG] controller.EssController - ----------------------------------------------- [11:50:19] [DEBUG] controller.EssController - ----------------------------------------------- [11:50:19] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:50:19] [DEBUG] controller.EssController - ----------------------------------------------- [11:50:27] [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 = ? [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String), 0(Integer), 20(Integer) [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [11:50:27] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 109 [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [11:50:27] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 125 [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select groupType, groupCode, code, name from t_code order by groupType asc, code*1 asc [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [11:50:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 106 [11:50:27] [DEBUG] service.CodeService - CodeService.reload --[com.elt.ems.vo.CodeVo@a7599dce, com.elt.ems.vo.CodeVo@a7599dcf, com.elt.ems.vo.CodeVo@7ffc34e7, com.elt.ems.vo.CodeVo@7ffc3506, com.elt.ems.vo.CodeVo@7ffc3507, com.elt.ems.vo.CodeVo@7ffc3525, com.elt.ems.vo.CodeVo@7ffc3544, com.elt.ems.vo.CodeVo@5e6a78d0, com.elt.ems.vo.CodeVo@5e6a78ef, com.elt.ems.vo.CodeVo@5e6a79a9, com.elt.ems.vo.CodeVo@5e6a79c8, com.elt.ems.vo.CodeVo@66ec3819, com.elt.ems.vo.CodeVo@66ec381a, com.elt.ems.vo.CodeVo@6cdb1c75, com.elt.ems.vo.CodeVo@6cdb1c94, com.elt.ems.vo.CodeVo@6cdb1cb3, com.elt.ems.vo.CodeVo@6cdb1cd2, com.elt.ems.vo.CodeVo@6cdb1cf1, com.elt.ems.vo.CodeVo@6cdb1d10, com.elt.ems.vo.CodeVo@6cdb1d6d, com.elt.ems.vo.CodeVo@d95aa516, com.elt.ems.vo.CodeVo@d968bc97, com.elt.ems.vo.CodeVo@d968bcb6, com.elt.ems.vo.CodeVo@d968bcd5, com.elt.ems.vo.CodeVo@d976d418, com.elt.ems.vo.CodeVo@d976d437, com.elt.ems.vo.CodeVo@d976d456, com.elt.ems.vo.CodeVo@ae76bab3, com.elt.ems.vo.CodeVo@ae76bad2, com.elt.ems.vo.CodeVo@ae76baf1, com.elt.ems.vo.CodeVo@ae76bb10, com.elt.ems.vo.CodeVo@ae76bb2f, com.elt.ems.vo.CodeVo@4bbf703f, com.elt.ems.vo.CodeVo@4bbf70bb, com.elt.ems.vo.CodeVo@4bbf70bc, com.elt.ems.vo.CodeVo@4bbf70bd, com.elt.ems.vo.CodeVo@4320e83e, com.elt.ems.vo.CodeVo@4320e840, com.elt.ems.vo.CodeVo@4320e85b, com.elt.ems.vo.CodeVo@4320e899, com.elt.ems.vo.CodeVo@4320e953, com.elt.ems.vo.CodeVo@826b4853, com.elt.ems.vo.CodeVo@826b4854, com.elt.ems.vo.CodeVo@826b4855, com.elt.ems.vo.CodeVo@826b4856, com.elt.ems.vo.CodeVo@826b4871, com.elt.ems.vo.CodeVo@826b4890, com.elt.ems.vo.CodeVo@826b48b0, com.elt.ems.vo.CodeVo@826b48cf, com.elt.ems.vo.CodeVo@826b48d0, com.elt.ems.vo.CodeVo@346041ce, com.elt.ems.vo.CodeVo@346041cf, com.elt.ems.vo.CodeVo@84ca8e33, com.elt.ems.vo.CodeVo@84ca8e34, com.elt.ems.vo.CodeVo@17b414d2, com.elt.ems.vo.CodeVo@17b414f1, com.elt.ems.vo.CodeVo@17b414f2, com.elt.ems.vo.CodeVo@17b414f3, com.elt.ems.vo.CodeVo@9df085a0, com.elt.ems.vo.CodeVo@9df085a1, com.elt.ems.vo.CodeVo@9df085a3, com.elt.ems.vo.CodeVo@9df085a4, com.elt.ems.vo.CodeVo@e743084c, com.elt.ems.vo.CodeVo@e743084d, com.elt.ems.vo.CodeVo@e7430854, com.elt.ems.vo.CodeVo@e7430855, com.elt.ems.vo.CodeVo@b704187a, com.elt.ems.vo.CodeVo@b704187b, com.elt.ems.vo.CodeVo@b704187c, com.elt.ems.vo.CodeVo@b704187d, com.elt.ems.vo.CodeVo@b704187e, com.elt.ems.vo.CodeVo@eb074899, com.elt.ems.vo.CodeVo@eb07489a, com.elt.ems.vo.CodeVo@8333bf52, com.elt.ems.vo.CodeVo@8333bf53, com.elt.ems.vo.CodeVo@8333bf54, com.elt.ems.vo.CodeVo@8333c068, com.elt.ems.vo.CodeVo@87f31403, com.elt.ems.vo.CodeVo@87f31422, com.elt.ems.vo.CodeVo@6095ad6b, com.elt.ems.vo.CodeVo@6095ad6c, com.elt.ems.vo.CodeVo@ae8ec684, com.elt.ems.vo.CodeVo@ae8ec685, com.elt.ems.vo.CodeVo@1db527e3, com.elt.ems.vo.CodeVo@1db52802, com.elt.ems.vo.CodeVo@1db5285f, com.elt.ems.vo.CodeVo@1db5287e, com.elt.ems.vo.CodeVo@1db5289d, com.elt.ems.vo.CodeVo@1db528db, com.elt.ems.vo.CodeVo@47956d5b, com.elt.ems.vo.CodeVo@47956d7a, com.elt.ems.vo.CodeVo@47956d99, com.elt.ems.vo.CodeVo@47956db8, com.elt.ems.vo.CodeVo@47956dd7, com.elt.ems.vo.CodeVo@47956e53, com.elt.ems.vo.CodeVo@3283d7b0, com.elt.ems.vo.CodeVo@3283d7b1, com.elt.ems.vo.CodeVo@7ca1cf82, com.elt.ems.vo.CodeVo@7ca1cf83, com.elt.ems.vo.CodeVo@83f54a90, com.elt.ems.vo.CodeVo@83f54a91, com.elt.ems.vo.CodeVo@83f54a92, com.elt.ems.vo.CodeVo@83f54a94, com.elt.ems.vo.CodeVo@83f54a98, com.elt.ems.vo.CodeVo@e20321f9, com.elt.ems.vo.CodeVo@e20321fa] [11:50:42] [DEBUG] controller.EssController - ----------------------------------------------- [11:50:42] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:50:42] [DEBUG] controller.EssController - ----------------------------------------------- [11:50:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:50:47] [DEBUG] controller.EssController - /index.co called [11:50:47] [DEBUG] controller.EssController - ----------------------------------------------- [11:50:48] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:50:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:50:53] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :tk2340, login_channel : null [11:50:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:50:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:50:53] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [11:50:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [11:50:53] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [11:50:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:50:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : tk2340 [11:50:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [11:50:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [11:50:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:50:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:50:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: tk2340, mappingList.size : 1 [11:50:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [11:50:53] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[tk2340] roles roles [0]ROLE_01 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String), 01(String), E1DBDBA346C467FD7FE2908DB8E8067D(String), PHONE(String) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:50:53] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [11:50:53] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [11:50:53] [DEBUG] controller.SignController - /ess/view.co [11:50:53] [DEBUG] controller.SignController - ....................................... [11:50:53] [DEBUG] controller.EssController - ----------------------------------------------- [11:50:53] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 41, param.plantSeq : 0 [11:50:53] [DEBUG] controller.EssController - ----------------------------------------------- [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:50:53] [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 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), null, 41(Integer), 0(Integer), 2022-04-05(String), 41(Integer), 0(Integer), 2022-04-04(String), 41(Integer), 0(Integer), 2022-04-06(String), 58318(Integer) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 41(Integer), 2022-04-06(String), 41(Integer) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [11:50:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:50:55] [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 >= ? [11:50:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-03-23(String) [11:50:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:50:55] [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 [11:50:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [11:50:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [11:50:55] [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 [11:50:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), 11(String) [11:50:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:50:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [11:50:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String) [11:50:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:50:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.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 [11:50:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 41(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [11:50:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:50:57] [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 [11:50:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 1(Integer), 2022-04-06(String), 41(Integer), 1(Integer), 2022-04-06(String) [11:50:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:51:16] [DEBUG] controller.EssController - ----------------------------------------------- [11:51:16] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [11:51:16] [DEBUG] controller.EssController - ----------------------------------------------- [11:58: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 [11:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [11:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [11:58:40] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 62 [11:58: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 [11:58:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [11:58:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [11:58:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [11:58:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String) [11:58:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:58:47] [DEBUG] controller.PmsController - connectPmsAjax ---------------->> ip : 220.83.114.67, port : 502, pcsIdx : 1, pcsMaker : 12 [12:02:07] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:07] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [12:02:07] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:09] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [12:02:14] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:02:14] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [12:02:14] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:14] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:02:14] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [12:02:14] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:02:14] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [12:02:14] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:02:14] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [12:02:14] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [12:02:14] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [12:02:14] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:14] [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=? [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:14] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:02:14] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: gwangil, mappingList.size : 1 [12:02:14] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:02:14] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), AC9A6DAEF01CF50A1158B707422B400B(String), PHONE(String) [12:02:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [12:02:14] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:14] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [12:02:14] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:16] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:16] [DEBUG] controller.EssController - /index.co called [12:02:16] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:16] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:16] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 42, param.plantSeq : 0 [12:02:16] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:16] [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 [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:16] [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 [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), null, 42(Integer), 0(Integer), 2022-04-05(String), 42(Integer), 0(Integer), 2022-04-04(String), 42(Integer), 0(Integer), 2022-04-06(String), 58319(Integer) [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:16] [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 [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 42(Integer), 2022-04-06(String), 42(Integer) [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [12:02:16] [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 ?, ? [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [12:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:02:17] [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 [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 12(String) [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:17] [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 [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:02:17] [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 [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [12:02:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [12:02:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [12:02:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [12:02:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:02:39] [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 >= ? [12:02:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [12:02:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:39] [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 [12:02:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [12:02:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:02:39] [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 [12:02:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 12(String) [12:02:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:39] [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 [12:02:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [12:02:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:02:40] [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 [12:02:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [12:02:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [12:02:41] [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 [12:02:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [12:02:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:02:41] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [12:02:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:02:46] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [12:02:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:02:46] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [12:02:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:02:46] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [12:02:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:02:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [12:02:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [12:02:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [12:02:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02: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=? [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [12:02:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:02:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [12:02:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:02:46] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 8899920A62931FBCEFF37FBA5CCD0533(String), PHONE(String) [12:02:46] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [12:02:46] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:46] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [12:02:46] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:47] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:47] [DEBUG] controller.EssController - /index.co called [12:02:47] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:47] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:47] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [12:02:47] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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 [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:47] [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 [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58319(Integer) [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [12:02:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [12:02: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 >= ? [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02: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 [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:02: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 [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 12(String) [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [12:02:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:02: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 [12:02:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [12:02:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [12:02: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 [12:02:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [12:02:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:02:52] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:52] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [12:02:52] [DEBUG] controller.EssController - ----------------------------------------------- [12:02:52] [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 [12:02:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [12:02:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:53] [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 [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 12(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58319(Integer) [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:02: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 [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [12:02: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 [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [12:02:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [12:05:12] [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 [12:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [12:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:05:12] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 62 [12:05: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 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 [12:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [12:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:13:06] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [12:13:06] [DEBUG] controller.TestIndexController - called /test/index.co ... [12:13:06] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [12:13:51] [DEBUG] controller.EssController - ----------------------------------------------- [12:13:51] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [12:13:51] [DEBUG] controller.EssController - ----------------------------------------------- [12:16:46] [DEBUG] controller.EssController - ----------------------------------------------- [12:16:46] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [12:16:46] [DEBUG] controller.EssController - ----------------------------------------------- [12:28:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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 [12:28:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [12:28:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:28:09] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 78 [12:28: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 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 [12:28:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [12:28:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:33: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 [12:33:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [12:33:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:33:24] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 62 [12:33: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 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 [12:33:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [12:33:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:33:48] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [12:33:55] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:33:55] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :admin03, login_channel : null [12:33:55] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String) [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:33:55] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:33:55] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_05 [12:33:55] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:33:55] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/plant/view.co?seq=42 [12:33:55] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:33:55] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : admin03 [12:33:55] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [12:33:55] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [12:33:55] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String) [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:33:55] [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 [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [12:33:55] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:33:55] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: admin03, mappingList.size : 79 [12:33:55] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:33:55] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[admin03] roles roles [0]ROLE_05 [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String), 05(String), 5ABB4D3E364B0D657CF4EAABFC8CD8B8(String), PHONE(String) [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String) [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:33:55] [DEBUG] controller.PlantController - 발전소 정보 : 쿼리조회시간 : 47 [12:33:55] [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 [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-02-15(String), 2022-04-06(String) [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [12:33:55] [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 [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer) [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [12:33:55] [DEBUG] controller.PlantController - CS / Device : 쿼리조회시간 : 125 [12:33:55] [DEBUG] controller.PlantController - 코드 정보 : 쿼리조회시간 : 172 [12:33:55] [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 [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [12:33:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [12:34:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [12:34:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String) [12:34:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:34:51] [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() ) [12:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 0(Integer), 2022-04-06(String), 12:34:51(String), 40(String), 20(String), 70(String), DIK PCS 펌웨어 작업(String), -(String), -(String), admin03(String), admin03(String) [12:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [12:34:51] [DEBUG] controller.CsController - insertProc : 1건 입력 완료 [12:34: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 > 10 and c.procStatus < 90 and c.inputDate between ? and ? [12:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-03-30(String), 2022-04-06(String) [12:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:34: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 > 10 and c.procStatus < 90 and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc ) R1 LIMIT ?, ? [12:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-03-30(String), 2022-04-06(String), 0(Integer), 20(Integer) [12:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [12:34:51] [DEBUG] controller.CsController - selectList : 쿼리조회시간 : 31 [12:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [12:34:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [12:34:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [12:34: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=? 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 [12:34:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 0(Integer) [12:34:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [12:34:55] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 47 [12:34:57] [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 [12:34:57] [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 [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:34:57] [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 [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [12:34:57] [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 [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 15 [12:34:57] [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 ?, ? [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String), 0(Integer), 10(Integer) [12:34:57] [DEBUG] controller.JsonController - ------------------------------------- [12:34:57] [DEBUG] controller.JsonController - { "data" : [{"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"}]} [12:34:57] [DEBUG] controller.JsonController - ------------------------------------- [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [12:34:57] [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 ?, ? [12:34:57] [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-06(String), 2022-04-06(String), 01(String), 0(Integer), 10(Integer) [12:34:57] [DEBUG] controller.EssController - ----------------------------------------------- [12:34:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [12:34:57] [DEBUG] controller.EssController - ----------------------------------------------- [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:34:57] [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 [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [12:34:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [12:34: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 [12:34:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [12:34:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:34:58] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [12:34:59] [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 [12:34:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [12:34:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:39:46] [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 [12:39:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [12:39:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:39:46] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [12:39: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 [12:39:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [12:39:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:40:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 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 [12:40:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [12:40:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:40:18] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [12:40: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 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 [12:40:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [12:40:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:40: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 [12:40:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [12:40:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:40:21] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [12:40: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 [12:40:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [12:40:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:42: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 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 [12:42:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [12:42:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:42:15] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 62 [12:42: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 [12:42:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [12:42:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [12:48:14] [DEBUG] controller.EssController - ----------------------------------------------- [12:48:14] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [12:48:14] [DEBUG] controller.EssController - ----------------------------------------------- [12:48:21] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [12:48:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:48:25] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [12:48:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:48:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:48:25] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [12:48:25] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [12:48:25] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [12:48:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:48:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [12:48:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [12:48:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [12:48:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:48: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=? [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:48:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:48:25] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: gwangil, mappingList.size : 1 [12:48:25] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [12:48:25] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), A93A6C027AE097CE23E9E1359AC0B8D6(String), PHONE(String) [12:48:25] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [12:48:25] [DEBUG] controller.EssController - ----------------------------------------------- [12:48:25] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [12:48:25] [DEBUG] controller.EssController - ----------------------------------------------- [12:48:26] [DEBUG] controller.EssController - ----------------------------------------------- [12:48:26] [DEBUG] controller.EssController - /index.co called [12:48:26] [DEBUG] controller.EssController - ----------------------------------------------- [12:48:27] [DEBUG] controller.EssController - ----------------------------------------------- [12:48:27] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 42, param.plantSeq : 0 [12:48:27] [DEBUG] controller.EssController - ----------------------------------------------- [12:48:27] [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 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:48:27] [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 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), null, 42(Integer), 0(Integer), 2022-04-05(String), 42(Integer), 0(Integer), 2022-04-04(String), 42(Integer), 0(Integer), 2022-04-06(String), 58323(Integer) [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:48: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.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 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 42(Integer), 2022-04-06(String), 42(Integer) [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [12:48:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:48:28] [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 [12:48:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 12(String) [12:48:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:48:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [12:48:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [12:48:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:48:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [12:48:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [12:48:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [12:48:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [12:48:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [12:48:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:57:19] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [12:57:19] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [12:57:19] [DEBUG] controller.SignController - /ess/view.co [12:57:19] [DEBUG] controller.SignController - ....................................... [12:57:19] [DEBUG] controller.EssController - ----------------------------------------------- [12:57:19] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [12:57:19] [DEBUG] controller.EssController - ----------------------------------------------- [12:57:19] [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 [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:57:19] [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 [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58324(Integer) [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.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 [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:57: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 ?, ? [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [12:57:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [12:57: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 >= ? [12:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [12:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:57: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 [12:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [12:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [12:57: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 [12:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 12(String) [12:57:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:57: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 [12:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [12:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:57:22] [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 [12:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [12:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [12:57:22] [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 [12:57:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [12:57:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 12 [12:57:23] [DEBUG] controller.EssController - ----------------------------------------------- [12:57:23] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [12:57:23] [DEBUG] controller.EssController - ----------------------------------------------- [12:57: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 [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:57:23] [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 [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 12(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58324(Integer) [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [12:57: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 >= ? [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [12:57:23] [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 [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [12:57:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [12:57: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 [12:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [12:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [12:57:29] [DEBUG] controller.EssController - ----------------------------------------------- [12:57:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [12:57:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:00] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [13:21:04] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:21:04] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :hyojung, login_channel : null [13:21:04] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hyojung(String) [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:05] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:21:05] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [13:21:05] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:21:05] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [13:21:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:21:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : hyojung [13:21:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [13:21:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [13:21:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hyojung(String) [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:05] [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=? [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hyojung(String) [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:21:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: hyojung, mappingList.size : 1 [13:21:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:21:05] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[hyojung] roles roles [0]ROLE_01 [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hyojung(String), 01(String), 6C2EA08B536F692108A789E5F2824E15(String), PHONE(String) [13:21:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [13:21:05] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:05] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:21:05] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:08] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:08] [DEBUG] controller.EssController - /index.co called [13:21:08] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:08] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:08] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 17, param.plantSeq : 0 [13:21:08] [DEBUG] controller.EssController - ----------------------------------------------- [13:21: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 [13:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [13:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21: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 [13:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 17(Integer), 0(Integer), 2022-04-06(String), 17(Integer), 0(Integer), null, 17(Integer), 0(Integer), 2022-04-05(String), 17(Integer), 0(Integer), 2022-04-04(String), 17(Integer), 0(Integer), 2022-04-06(String), 58327(Integer) [13:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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 [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17(Integer), 2022-04-06(String), 17(Integer), 2022-04-06(String), 17(Integer) [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:09] [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 ?, ? [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String) [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 11(String) [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:21: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 >= ? [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17(Integer), 01(String), 2022-03-23(String) [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21: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 [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [13:21: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 [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 17(Integer), 0(Integer), 2022-04-06(String), 17(Integer), 0(Integer), 13(String) [13:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:10] [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 [13:21:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17(Integer), 0(Integer), 2022-04-06(String), 17(Integer), 0(Integer), 2022-04-06(String) [13:21:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [13:21:10] [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 [13:21:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 17(Integer), 0(Integer), 17(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [13:21:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [13:21:10] [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 [13:21:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17(Integer), 1(Integer), 2022-04-06(String), 17(Integer), 1(Integer), 2022-04-06(String) [13:21:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [13:21:33] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [13:21:40] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:21:40] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [13:21:40] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:40] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:21:40] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [13:21:40] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:21:40] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [13:21:40] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:21:40] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [13:21:40] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [13:21:40] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [13:21:40] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:40] [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=? [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:21:40] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:21:40] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [13:21:40] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:21:40] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 79B454A5C75609A4C4B5EF6BF08F8F7C(String), PHONE(String) [13:21:40] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [13:21:40] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:40] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:21:40] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:44] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:44] [DEBUG] controller.EssController - /index.co called [13:21:44] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:44] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:44] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [13:21:44] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:44] [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 [13:21:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [13:21:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:44] [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 [13:21:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58327(Integer) [13:21:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:44] [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 [13:21:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [13:21:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [13:21:46] [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 [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 13(String) [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [13:21:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [13:21:50] [DEBUG] controller.EssController - ----------------------------------------------- [13:21:50] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [13:21:50] [DEBUG] controller.EssController - ----------------------------------------------- [13:21: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 [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21: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 [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 13(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58327(Integer) [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [13:21:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:21:51] [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 [13:21:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [13:21:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [13:21:51] [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 [13:21:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [13:21:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [13:37:09] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [13:37:15] [DEBUG] controller.TestIndexController - called /test/index.co ... [13:37:15] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [13:37:19] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:37:19] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :user09, login_channel : null [13:37:19] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:37:19] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:37:19] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_09 [13:37:19] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:37:19] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/test/index.co [13:37:19] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:37:19] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : user09 [13:37:19] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [13:37:19] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [13:37:19] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:37:19] [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 [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [13:37:19] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:37:19] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: user09, mappingList.size : 79 [13:37:19] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:37:19] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[user09] roles roles [0]ROLE_09 [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String), 09(String), 6E254CB7833DC9BD2D896D53BAF1E120(String), WEB(String) [13:37:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [13:37:19] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [13:37:19] [DEBUG] controller.TestIndexController - called /test/index.co ... [13:37:19] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [13:37:26] [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 [13:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [13:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [13:37:26] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 237 [13:37:26] [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-06 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 [13:37:26] [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 [13:37:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [13:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [13:37:27] [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 [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:37:27] [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 [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:37:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:37:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:37:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:37:27] [DEBUG] controller.InverterController - ------------------------------------- [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 56 [13:37:27] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [13:37:27] [DEBUG] controller.InverterController - ------------------------------------- [13:37:27] [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":"end"}]} [13:37:27] [DEBUG] controller.InverterController - ------------------------------------- [13:37:27] [DEBUG] controller.InverterController - ------------------------------------- [13:37:27] [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 [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [13:37:27] [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 [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [13:37:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 35 [13:37:59] [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.plantStatus = ? and p.plantType = ? ) 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 [13:37:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [13:37:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 51 [13:37:59] [DEBUG] controller.PlantController - selectListPmsPlant : 쿼리조회시간 : 74 [13:37:59] [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 [13:37:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [13:37:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [13:38: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.plantStatus = ? and p.plantType = ? ) 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 [13:38:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 02(String), 2022-04-06(String), 2022-04-06(String) [13:38:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [13:38:03] [DEBUG] controller.PlantController - selectListPmsPlant : 쿼리조회시간 : 122 [13:38:03] [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 [13:38:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [13:38:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [13:38:09] [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 [13:38:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String) [13:38:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:09] [DEBUG] controller.PlantController - 발전소 정보 : 쿼리조회시간 : 16 [13:38:09] [DEBUG] controller.PlantController - 코드 정보 : 쿼리조회시간 : 18 [13:38:09] [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 [13:38:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [13:38:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:15] [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 [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 2022-04-06(String) [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [13:38:15] [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 [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:38:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:38:16] [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 = ? [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [13:38:16] [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 = ? [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:16] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:38:16] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [13:38:16] [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 = ? [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:16] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [13:38:16] [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 = ? [13:38:16] [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-06(String), 2022-04-06(String), 01(String) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:38:16] [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 [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:16] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 379 [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [13:38:16] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 152 [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:16] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 86 [13:38:16] [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 = ? ) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [13:38:16] [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 = ? [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-06(String), 2022-04-06(String), 01(String) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:16] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 41 [13:38:16] [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 = ? [13:38:16] [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-06(String), 2022-04-06(String), 01(String) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:16] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 411 [13:38:16] [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 ? [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:16] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 130 [13:38:16] [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 [13:38:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [13:38:17] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 330 [13:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:17] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 96 [13:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [13:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String) [13:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:38:17] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 567 [13:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [13:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:38: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.plantStatus = ? and p.plantType = ? ) 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 [13:38:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [13:38:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 51 [13:38:50] [DEBUG] controller.PlantController - selectListPmsPlant : 쿼리조회시간 : 62 [13:38:50] [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 [13:38:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [13:38:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [13:38:54] [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.plantStatus = ? and p.plantType = ? ) 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 [13:38:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 02(String), 2022-04-06(String), 2022-04-06(String) [13:38:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [13:38:54] [DEBUG] controller.PlantController - selectListPmsPlant : 쿼리조회시간 : 144 [13:38:54] [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 [13:38:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [13:38:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [13:43:50] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [13:43:50] [DEBUG] controller.TestIndexController - called /test/index.co ... [13:43:50] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:55] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:56] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:57] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:43:58] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:43:58] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:27] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:28] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:30] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:30] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:30] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:30] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:29] [DEBUG] controller.EssController - ----------------------------------------------- [13:45:30] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:45:30] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:12] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:12] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:51:12] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:14] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:14] [DEBUG] controller.EssController - /index.co called [13:51:14] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:14] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:14] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [13:51:14] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:14] [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 [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51:14] [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 [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58330(Integer) [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51: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.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 [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [13: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 [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:51:14] [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 >= ? [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [13:51:15] [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 [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 13(String) [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51: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 desc, d.pcsIdx asc [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [13:51:15] [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 [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [13:51: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 [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [13:51:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [13:51:20] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:20] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [13:51:20] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:20] [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 [13:51:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [13:51:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51: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 [13:51:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 13(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58330(Integer) [13:51:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [13:51:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:51:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:51: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 >= ? [13:51:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [13:51:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51: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 [13:51:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [13:51:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [13:51: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 [13:51:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [13:51:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [13:51:44] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [13:51:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:51:48] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [13:51:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:51:48] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [13:51:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [13:51:48] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [13:51:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:51:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [13:51:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [13:51:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [13:51:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51: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=? [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:51:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: gwangil, mappingList.size : 1 [13:51:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [13:51:48] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), 7466839F9C6CA746239D6A0521428B0D(String), PHONE(String) [13:51:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [13:51:48] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:48] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [13:51:48] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:50] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:50] [DEBUG] controller.EssController - /index.co called [13:51:50] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:50] [DEBUG] controller.EssController - ----------------------------------------------- [13:51:50] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 42, param.plantSeq : 0 [13:51:50] [DEBUG] controller.EssController - ----------------------------------------------- [13:51: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 [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51: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 [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), null, 42(Integer), 0(Integer), 2022-04-05(String), 42(Integer), 0(Integer), 2022-04-04(String), 42(Integer), 0(Integer), 2022-04-06(String), 58330(Integer) [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51: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 [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 42(Integer), 2022-04-06(String), 42(Integer) [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [13:51: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 ?, ? [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [13:51:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [13:51:51] [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 [13:51:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 13(String) [13:51:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [13:51:51] [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 [13:51:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [13:51:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [13:51:51] [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 [13:51:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [13:51:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [13:51:51] [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 [13:51:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [13:51:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 13 [14:00:51] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:00:51] [DEBUG] controller.TestIndexController - called /test/index.co ... [14:00:51] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:00:54] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:55] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:56] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:00:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:00:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:01: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 [14:01:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:01:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:01:07] [DEBUG] controller.EssController - ----------------------------------------------- [14:01:07] [DEBUG] controller.EssController - error : code : 500, req : http://emsa.eltenergy.com/error.co, param : code=500 [14:01:07] [DEBUG] controller.EssController - ----------------------------------------------- [14:02:11] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:02:11] [DEBUG] controller.TestIndexController - called /test/index.co ... [14:02:11] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:02:12] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:02:12] [DEBUG] controller.TestIndexController - called /test/index.co ... [14:02:12] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:02:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:02:13] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :user09, login_channel : null [14:02:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:02:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:02:13] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_09 [14:02:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:02:13] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/test/index.co [14:02:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:02:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : user09 [14:02:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [14:02:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [14:02:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:02:13] [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 [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [14:02:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:02:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: user09, mappingList.size : 79 [14:02:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:02:13] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[user09] roles roles [0]ROLE_09 [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String), 09(String), E05E25828E0857F6A232354FD8B1C7DB(String), WEB(String) [14:02:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:02:13] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:02:13] [DEBUG] controller.TestIndexController - called /test/index.co ... [14:02:13] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.plantStatus = ? order by p.seq desc [14:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [14:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:02:16] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 62 [14:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select groupType, groupCode, code, name from t_code order by groupType asc, code*1 asc [14:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [14:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 106 [14:02:16] [DEBUG] service.CodeService - CodeService.reload --[com.elt.ems.vo.CodeVo@a7599dce, com.elt.ems.vo.CodeVo@a7599dcf, com.elt.ems.vo.CodeVo@7ffc34e7, com.elt.ems.vo.CodeVo@7ffc3506, com.elt.ems.vo.CodeVo@7ffc3507, com.elt.ems.vo.CodeVo@7ffc3525, com.elt.ems.vo.CodeVo@7ffc3544, com.elt.ems.vo.CodeVo@5e6a78d0, com.elt.ems.vo.CodeVo@5e6a78ef, com.elt.ems.vo.CodeVo@5e6a79a9, com.elt.ems.vo.CodeVo@5e6a79c8, com.elt.ems.vo.CodeVo@66ec3819, com.elt.ems.vo.CodeVo@66ec381a, com.elt.ems.vo.CodeVo@6cdb1c75, com.elt.ems.vo.CodeVo@6cdb1c94, com.elt.ems.vo.CodeVo@6cdb1cb3, com.elt.ems.vo.CodeVo@6cdb1cd2, com.elt.ems.vo.CodeVo@6cdb1cf1, com.elt.ems.vo.CodeVo@6cdb1d10, com.elt.ems.vo.CodeVo@6cdb1d6d, com.elt.ems.vo.CodeVo@d95aa516, com.elt.ems.vo.CodeVo@d968bc97, com.elt.ems.vo.CodeVo@d968bcb6, com.elt.ems.vo.CodeVo@d968bcd5, com.elt.ems.vo.CodeVo@d976d418, com.elt.ems.vo.CodeVo@d976d437, com.elt.ems.vo.CodeVo@d976d456, com.elt.ems.vo.CodeVo@ae76bab3, com.elt.ems.vo.CodeVo@ae76bad2, com.elt.ems.vo.CodeVo@ae76baf1, com.elt.ems.vo.CodeVo@ae76bb10, com.elt.ems.vo.CodeVo@ae76bb2f, com.elt.ems.vo.CodeVo@4bbf703f, com.elt.ems.vo.CodeVo@4bbf70bb, com.elt.ems.vo.CodeVo@4bbf70bc, com.elt.ems.vo.CodeVo@4bbf70bd, com.elt.ems.vo.CodeVo@4320e83e, com.elt.ems.vo.CodeVo@4320e840, com.elt.ems.vo.CodeVo@4320e85b, com.elt.ems.vo.CodeVo@4320e899, com.elt.ems.vo.CodeVo@4320e953, com.elt.ems.vo.CodeVo@826b4853, com.elt.ems.vo.CodeVo@826b4854, com.elt.ems.vo.CodeVo@826b4855, com.elt.ems.vo.CodeVo@826b4856, com.elt.ems.vo.CodeVo@826b4871, com.elt.ems.vo.CodeVo@826b4890, com.elt.ems.vo.CodeVo@826b48b0, com.elt.ems.vo.CodeVo@826b48cf, com.elt.ems.vo.CodeVo@826b48d0, com.elt.ems.vo.CodeVo@346041ce, com.elt.ems.vo.CodeVo@346041cf, com.elt.ems.vo.CodeVo@84ca8e33, com.elt.ems.vo.CodeVo@84ca8e34, com.elt.ems.vo.CodeVo@17b414d2, com.elt.ems.vo.CodeVo@17b414f1, com.elt.ems.vo.CodeVo@17b414f2, com.elt.ems.vo.CodeVo@17b414f3, com.elt.ems.vo.CodeVo@9df085a0, com.elt.ems.vo.CodeVo@9df085a1, com.elt.ems.vo.CodeVo@9df085a3, com.elt.ems.vo.CodeVo@9df085a4, com.elt.ems.vo.CodeVo@e743084c, com.elt.ems.vo.CodeVo@e743084d, com.elt.ems.vo.CodeVo@e7430854, com.elt.ems.vo.CodeVo@e7430855, com.elt.ems.vo.CodeVo@b704187a, com.elt.ems.vo.CodeVo@b704187b, com.elt.ems.vo.CodeVo@b704187c, com.elt.ems.vo.CodeVo@b704187d, com.elt.ems.vo.CodeVo@b704187e, com.elt.ems.vo.CodeVo@eb074899, com.elt.ems.vo.CodeVo@eb07489a, com.elt.ems.vo.CodeVo@8333bf52, com.elt.ems.vo.CodeVo@8333bf53, com.elt.ems.vo.CodeVo@8333bf54, com.elt.ems.vo.CodeVo@8333c068, com.elt.ems.vo.CodeVo@87f31403, com.elt.ems.vo.CodeVo@87f31422, com.elt.ems.vo.CodeVo@6095ad6b, com.elt.ems.vo.CodeVo@6095ad6c, com.elt.ems.vo.CodeVo@ae8ec684, com.elt.ems.vo.CodeVo@ae8ec685, com.elt.ems.vo.CodeVo@1db527e3, com.elt.ems.vo.CodeVo@1db52802, com.elt.ems.vo.CodeVo@1db5285f, com.elt.ems.vo.CodeVo@1db5287e, com.elt.ems.vo.CodeVo@1db5289d, com.elt.ems.vo.CodeVo@1db528db, com.elt.ems.vo.CodeVo@47956d5b, com.elt.ems.vo.CodeVo@47956d7a, com.elt.ems.vo.CodeVo@47956d99, com.elt.ems.vo.CodeVo@47956db8, com.elt.ems.vo.CodeVo@47956dd7, com.elt.ems.vo.CodeVo@47956e53, com.elt.ems.vo.CodeVo@3283d7b0, com.elt.ems.vo.CodeVo@3283d7b1, com.elt.ems.vo.CodeVo@7ca1cf82, com.elt.ems.vo.CodeVo@7ca1cf83, com.elt.ems.vo.CodeVo@83f54a90, com.elt.ems.vo.CodeVo@83f54a91, com.elt.ems.vo.CodeVo@83f54a92, com.elt.ems.vo.CodeVo@83f54a94, com.elt.ems.vo.CodeVo@83f54a98, com.elt.ems.vo.CodeVo@e20321f9, com.elt.ems.vo.CodeVo@e20321fa] [14:02:16] [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 [14:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:02:19] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.name like concat('%', ?, '%') order by p.seq desc [14:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 5호(String) [14:02:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:02:30] [DEBUG] controller.PlantController - /json/plant/search.co : datastring [14:02:30] [DEBUG] controller.PlantController - [14:02:59] [DEBUG] controller.EssController - ----------------------------------------------- [14:02:59] [DEBUG] controller.EssController - error : code : 500, req : http://emsa.eltenergy.com/error.co, param : code=500 [14:02:59] [DEBUG] controller.EssController - ----------------------------------------------- [14:03:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [14:03:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:03:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:03:03] [DEBUG] controller.EssController - ----------------------------------------------- [14:03:03] [DEBUG] controller.EssController - error : code : 500, req : http://emsa.eltenergy.com/error.co, param : code=500 [14:03:03] [DEBUG] controller.EssController - ----------------------------------------------- [14:03:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.name like concat('%', ?, '%') order by p.seq desc [14:03:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 이엘티(String) [14:03:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:03:10] [DEBUG] controller.PlantController - /json/plant/search.co : datastring [14:03:10] [DEBUG] controller.PlantController - [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtjunc ( plantSeq, url1, url2, port, ivtStatus, ivtMaker, ivtQuantity, link, key1, key2, ivtType, syncType, updateId, updateDatetime, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now(), now() ) [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), (String), (String), 0(Integer), 01(String), 13(String), 2(Integer), (String), (String), (String), 01(String), 02(String), user09(String) [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_plant set plantType = ?, updateId = ?, updateDatetime = now() where seq = ? [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 02(String), user09(String), 99(Integer) [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:03:26] [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.plantStatus = ? order by p.seq desc [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [14:03:26] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 47 [14:03:26] [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 [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:03:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:03:43] [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 [14:03:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:03:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:03:44] [DEBUG] controller.EssController - ----------------------------------------------- [14:03:44] [DEBUG] controller.EssController - error : code : 500, req : http://emsa.eltenergy.com/error.co, param : code=500 [14:03:44] [DEBUG] controller.EssController - ----------------------------------------------- [14:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [14:03:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:03:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:03:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:03:50] [DEBUG] controller.EssController - error : code : 500, req : http://emsa.eltenergy.com/error.co, param : code=500 [14:03:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:04: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.plantStatus = ? order by p.seq desc [14:04:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [14:04:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [14:04:05] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 63 [14:04:05] [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 [14:04:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:04:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:04:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [14:04:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:04:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:04:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [14:04:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:04:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:04:16] [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 [14:04:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String) [14:04:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:05:59] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [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 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [14:07:12] [DEBUG] vo.PowerExpectVo - PowerExpectVo.initMap.trateMap [14:07:12] [DEBUG] vo.PowerExpectVo - PowerExpectVo.initMap.srateMap [14:07:12] [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 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:07:12] [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 = ? [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [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 = ? [14:07:12] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [14:07:12] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [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 = ? [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [14:07:12] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 93 [14:07:12] [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 = ? ) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 16 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [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 = ? [14:07:12] [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-06(String), 2022-04-06(String), 01(String) [14:07:12] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 93 [14:07:12] [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 = ? [14:07:12] [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-06(String), 2022-04-06(String), 01(String) [14:07:12] [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 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 140 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 47 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:12] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 63 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [14:07:12] [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 = ? [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-06(String), 2022-04-06(String), 01(String) [14:07:12] [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 [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String) [14:07:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:13] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 62 [14:07:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [14:07:13] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 47 [14:07:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:07:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:07:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:07:13] [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 ? [14:07:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [14:07:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:13] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 188 [14:07:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select groupType, count(code) count from t_code group by groupType order by groupType asc [14:07:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [14:07:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 29 [14:07:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select groupType, groupCode, code, name from t_code order by groupType asc, code*1 asc [14:07:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [14:07:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 107 [14:07:19] [DEBUG] service.CodeService - CodeService.reload --[com.elt.ems.vo.CodeVo@a7599dce, com.elt.ems.vo.CodeVo@a7599dcf, com.elt.ems.vo.CodeVo@7ffc34e7, com.elt.ems.vo.CodeVo@7ffc3506, com.elt.ems.vo.CodeVo@7ffc3507, com.elt.ems.vo.CodeVo@7ffc3525, com.elt.ems.vo.CodeVo@7ffc3544, com.elt.ems.vo.CodeVo@5e6a78d0, com.elt.ems.vo.CodeVo@5e6a78ef, com.elt.ems.vo.CodeVo@5e6a79a9, com.elt.ems.vo.CodeVo@5e6a79c8, com.elt.ems.vo.CodeVo@66ec3819, com.elt.ems.vo.CodeVo@66ec381a, com.elt.ems.vo.CodeVo@6cdb1c75, com.elt.ems.vo.CodeVo@6cdb1c94, com.elt.ems.vo.CodeVo@6cdb1cb3, com.elt.ems.vo.CodeVo@6cdb1cd2, com.elt.ems.vo.CodeVo@6cdb1cf1, com.elt.ems.vo.CodeVo@6cdb1d10, com.elt.ems.vo.CodeVo@6cdb1d6d, com.elt.ems.vo.CodeVo@d95aa516, com.elt.ems.vo.CodeVo@d968bc97, com.elt.ems.vo.CodeVo@d968bcb6, com.elt.ems.vo.CodeVo@d968bcd5, com.elt.ems.vo.CodeVo@d976d418, com.elt.ems.vo.CodeVo@d976d437, com.elt.ems.vo.CodeVo@d976d456, com.elt.ems.vo.CodeVo@ae76bab3, com.elt.ems.vo.CodeVo@ae76bad2, com.elt.ems.vo.CodeVo@ae76baf1, com.elt.ems.vo.CodeVo@ae76bb10, com.elt.ems.vo.CodeVo@ae76bb2f, com.elt.ems.vo.CodeVo@4bbf703f, com.elt.ems.vo.CodeVo@4bbf70bb, com.elt.ems.vo.CodeVo@4bbf70bc, com.elt.ems.vo.CodeVo@4bbf70bd, com.elt.ems.vo.CodeVo@4320e83e, com.elt.ems.vo.CodeVo@4320e840, com.elt.ems.vo.CodeVo@4320e85b, com.elt.ems.vo.CodeVo@4320e899, com.elt.ems.vo.CodeVo@4320e953, com.elt.ems.vo.CodeVo@826b4853, com.elt.ems.vo.CodeVo@826b4854, com.elt.ems.vo.CodeVo@826b4855, com.elt.ems.vo.CodeVo@826b4856, com.elt.ems.vo.CodeVo@826b4871, com.elt.ems.vo.CodeVo@826b4890, com.elt.ems.vo.CodeVo@826b48b0, com.elt.ems.vo.CodeVo@826b48cf, com.elt.ems.vo.CodeVo@826b48d0, com.elt.ems.vo.CodeVo@346041ce, com.elt.ems.vo.CodeVo@346041cf, com.elt.ems.vo.CodeVo@346041d0, com.elt.ems.vo.CodeVo@84ca8e33, com.elt.ems.vo.CodeVo@84ca8e34, com.elt.ems.vo.CodeVo@17b414d2, com.elt.ems.vo.CodeVo@17b414f1, com.elt.ems.vo.CodeVo@17b414f2, com.elt.ems.vo.CodeVo@17b414f3, com.elt.ems.vo.CodeVo@9df085a0, com.elt.ems.vo.CodeVo@9df085a1, com.elt.ems.vo.CodeVo@9df085a3, com.elt.ems.vo.CodeVo@9df085a4, com.elt.ems.vo.CodeVo@e743084c, com.elt.ems.vo.CodeVo@e743084d, com.elt.ems.vo.CodeVo@e7430854, com.elt.ems.vo.CodeVo@e7430855, com.elt.ems.vo.CodeVo@b704187a, com.elt.ems.vo.CodeVo@b704187b, com.elt.ems.vo.CodeVo@b704187c, com.elt.ems.vo.CodeVo@b704187d, com.elt.ems.vo.CodeVo@b704187e, com.elt.ems.vo.CodeVo@eb074899, com.elt.ems.vo.CodeVo@eb07489a, com.elt.ems.vo.CodeVo@8333bf52, com.elt.ems.vo.CodeVo@8333bf53, com.elt.ems.vo.CodeVo@8333bf54, com.elt.ems.vo.CodeVo@8333c068, com.elt.ems.vo.CodeVo@87f31403, com.elt.ems.vo.CodeVo@87f31422, com.elt.ems.vo.CodeVo@6095ad6b, com.elt.ems.vo.CodeVo@6095ad6c, com.elt.ems.vo.CodeVo@ae8ec684, com.elt.ems.vo.CodeVo@ae8ec685, com.elt.ems.vo.CodeVo@1db527e3, com.elt.ems.vo.CodeVo@1db52802, com.elt.ems.vo.CodeVo@1db5285f, com.elt.ems.vo.CodeVo@1db5287e, com.elt.ems.vo.CodeVo@1db5289d, com.elt.ems.vo.CodeVo@1db528db, com.elt.ems.vo.CodeVo@47956d5b, com.elt.ems.vo.CodeVo@47956d7a, com.elt.ems.vo.CodeVo@47956d99, com.elt.ems.vo.CodeVo@47956db8, com.elt.ems.vo.CodeVo@47956dd7, com.elt.ems.vo.CodeVo@47956e53, com.elt.ems.vo.CodeVo@3283d7b0, com.elt.ems.vo.CodeVo@3283d7b1, com.elt.ems.vo.CodeVo@7ca1cf82, com.elt.ems.vo.CodeVo@7ca1cf83, com.elt.ems.vo.CodeVo@83f54a90, com.elt.ems.vo.CodeVo@83f54a91, com.elt.ems.vo.CodeVo@83f54a92, com.elt.ems.vo.CodeVo@83f54a94, com.elt.ems.vo.CodeVo@83f54a98, com.elt.ems.vo.CodeVo@e20321f9, com.elt.ems.vo.CodeVo@e20321fa] [14:07:19] [DEBUG] controller.CodeController - STEP0.reload : 소요시간 : 15 [14:07:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select groupType, count(code) count from t_code group by groupType order by groupType asc [14:07:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [14:07:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 29 [14:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select groupType, groupCode, code, name from t_code order by groupType asc, code*1 asc [14:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [14:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 107 [14:07:22] [DEBUG] service.CodeService - CodeService.reload --[com.elt.ems.vo.CodeVo@a7599dce, com.elt.ems.vo.CodeVo@a7599dcf, com.elt.ems.vo.CodeVo@7ffc34e7, com.elt.ems.vo.CodeVo@7ffc3506, com.elt.ems.vo.CodeVo@7ffc3507, com.elt.ems.vo.CodeVo@7ffc3525, com.elt.ems.vo.CodeVo@7ffc3544, com.elt.ems.vo.CodeVo@5e6a78d0, com.elt.ems.vo.CodeVo@5e6a78ef, com.elt.ems.vo.CodeVo@5e6a79a9, com.elt.ems.vo.CodeVo@5e6a79c8, com.elt.ems.vo.CodeVo@66ec3819, com.elt.ems.vo.CodeVo@66ec381a, com.elt.ems.vo.CodeVo@6cdb1c75, com.elt.ems.vo.CodeVo@6cdb1c94, com.elt.ems.vo.CodeVo@6cdb1cb3, com.elt.ems.vo.CodeVo@6cdb1cd2, com.elt.ems.vo.CodeVo@6cdb1cf1, com.elt.ems.vo.CodeVo@6cdb1d10, com.elt.ems.vo.CodeVo@6cdb1d6d, com.elt.ems.vo.CodeVo@d95aa516, com.elt.ems.vo.CodeVo@d968bc97, com.elt.ems.vo.CodeVo@d968bcb6, com.elt.ems.vo.CodeVo@d968bcd5, com.elt.ems.vo.CodeVo@d976d418, com.elt.ems.vo.CodeVo@d976d437, com.elt.ems.vo.CodeVo@d976d456, com.elt.ems.vo.CodeVo@ae76bab3, com.elt.ems.vo.CodeVo@ae76bad2, com.elt.ems.vo.CodeVo@ae76baf1, com.elt.ems.vo.CodeVo@ae76bb10, com.elt.ems.vo.CodeVo@ae76bb2f, com.elt.ems.vo.CodeVo@4bbf703f, com.elt.ems.vo.CodeVo@4bbf70bb, com.elt.ems.vo.CodeVo@4bbf70bc, com.elt.ems.vo.CodeVo@4bbf70bd, com.elt.ems.vo.CodeVo@4320e83e, com.elt.ems.vo.CodeVo@4320e840, com.elt.ems.vo.CodeVo@4320e85b, com.elt.ems.vo.CodeVo@4320e899, com.elt.ems.vo.CodeVo@4320e953, com.elt.ems.vo.CodeVo@826b4853, com.elt.ems.vo.CodeVo@826b4854, com.elt.ems.vo.CodeVo@826b4855, com.elt.ems.vo.CodeVo@826b4856, com.elt.ems.vo.CodeVo@826b4871, com.elt.ems.vo.CodeVo@826b4890, com.elt.ems.vo.CodeVo@826b48b0, com.elt.ems.vo.CodeVo@826b48cf, com.elt.ems.vo.CodeVo@826b48d0, com.elt.ems.vo.CodeVo@346041ce, com.elt.ems.vo.CodeVo@346041cf, com.elt.ems.vo.CodeVo@346041d0, com.elt.ems.vo.CodeVo@84ca8e33, com.elt.ems.vo.CodeVo@84ca8e34, com.elt.ems.vo.CodeVo@17b414d2, com.elt.ems.vo.CodeVo@17b414f1, com.elt.ems.vo.CodeVo@17b414f2, com.elt.ems.vo.CodeVo@17b414f3, com.elt.ems.vo.CodeVo@9df085a0, com.elt.ems.vo.CodeVo@9df085a1, com.elt.ems.vo.CodeVo@9df085a3, com.elt.ems.vo.CodeVo@9df085a4, com.elt.ems.vo.CodeVo@e743084c, com.elt.ems.vo.CodeVo@e743084d, com.elt.ems.vo.CodeVo@e7430854, com.elt.ems.vo.CodeVo@e7430855, com.elt.ems.vo.CodeVo@b704187a, com.elt.ems.vo.CodeVo@b704187b, com.elt.ems.vo.CodeVo@b704187c, com.elt.ems.vo.CodeVo@b704187d, com.elt.ems.vo.CodeVo@b704187e, com.elt.ems.vo.CodeVo@eb074899, com.elt.ems.vo.CodeVo@eb07489a, com.elt.ems.vo.CodeVo@8333bf52, com.elt.ems.vo.CodeVo@8333bf53, com.elt.ems.vo.CodeVo@8333bf54, com.elt.ems.vo.CodeVo@8333c068, com.elt.ems.vo.CodeVo@87f31403, com.elt.ems.vo.CodeVo@87f31422, com.elt.ems.vo.CodeVo@6095ad6b, com.elt.ems.vo.CodeVo@6095ad6c, com.elt.ems.vo.CodeVo@ae8ec684, com.elt.ems.vo.CodeVo@ae8ec685, com.elt.ems.vo.CodeVo@1db527e3, com.elt.ems.vo.CodeVo@1db52802, com.elt.ems.vo.CodeVo@1db5285f, com.elt.ems.vo.CodeVo@1db5287e, com.elt.ems.vo.CodeVo@1db5289d, com.elt.ems.vo.CodeVo@1db528db, com.elt.ems.vo.CodeVo@47956d5b, com.elt.ems.vo.CodeVo@47956d7a, com.elt.ems.vo.CodeVo@47956d99, com.elt.ems.vo.CodeVo@47956db8, com.elt.ems.vo.CodeVo@47956dd7, com.elt.ems.vo.CodeVo@47956e53, com.elt.ems.vo.CodeVo@3283d7b0, com.elt.ems.vo.CodeVo@3283d7b1, com.elt.ems.vo.CodeVo@7ca1cf82, com.elt.ems.vo.CodeVo@7ca1cf83, com.elt.ems.vo.CodeVo@83f54a90, com.elt.ems.vo.CodeVo@83f54a91, com.elt.ems.vo.CodeVo@83f54a92, com.elt.ems.vo.CodeVo@83f54a94, com.elt.ems.vo.CodeVo@83f54a98, com.elt.ems.vo.CodeVo@e20321f9, com.elt.ems.vo.CodeVo@e20321fa] [14:07:22] [DEBUG] controller.CodeController - STEP0.reload : 소요시간 : 31 [14:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select groupType, count(code) count from t_code group by groupType order by groupType asc [14:07:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [14:07:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 29 [14:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.plantStatus = ? order by p.seq desc [14:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [14:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [14:07:23] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 47 [14:07:23] [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 [14:07:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:07:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:07:25] [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 [14:07:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:07:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [14:07:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:07:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:07:25] [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 [14:07:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String) [14:07:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:29] [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 [14:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:07:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [14:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:07:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [14:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String) [14:07:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_ivtjunc set url1 = ?, url2 = ?, port = ?, ivtStatus = ?, ivtMaker = ?, ivtQuantity = ?, link = ?, key1 = ?, key2 = ?, ivtType = ?, syncType = ?, updateId = ?, updateDatetime = now() where plantSeq = ? [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: (String), (String), 0(Integer), 01(String), 13(String), 2(Integer), (String), (String), (String), 03(String), 02(String), user09(String), 99(Integer) [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:07:32] [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 [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:07: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 [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String) [14:07:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 14(String), 07(String), 55.0(Float), 1600.0(Float), 1.5(Float), 20000.0(Float), 01(String) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:07:45] [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() ) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17373(Integer), 99(Integer), 1(Integer), 11000.0(Double), 60.0(Double), 101.0(Double), 101.0(Double), 21.0(Double), 301.0(Double), 11001.0(Double), 10.0(Double), 100.0(Double), 75000.0(Double), 10001.0(Double), 01(String) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:07:45] [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() ) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17373(Integer), 99(Integer), 2(Integer), 12000.0(Double), 60.0(Double), 102.0(Double), 102.0(Double), 22.0(Double), 302.0(Double), 12002.0(Double), 20.0(Double), 100.0(Double), 80000.0(Double), 10002.0(Double), 01(String) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:07:45] [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() ) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17373(Integer), 99(Integer), 3(Integer), 13000.0(Double), 61.0(Double), 103.0(Double), 103.0(Double), 23.0(Double), 303.0(Double), 13003.0(Double), 20.0(Double), 100.0(Double), 85000.0(Double), 10003.0(Double), 00(String) [14:07:45] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:07:45] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:45] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:45] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:07:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:07:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:08: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 [14:08:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:08:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [14:08:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:08:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:08:12] [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 [14:08:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String) [14:08:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:13] [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 [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 2022-04-06(String) [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [14:08:13] [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 [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:08:14] [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 = ? [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [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 = ? [14:08:14] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [14:08:14] [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 = ? [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [14:08:14] [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 = ? [14:08: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-06(String), 2022-04-06(String), 01(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 16 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08:14] [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 = ? [14:08:14] [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-06(String), 2022-04-06(String), 01(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 46 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 46 [14:08:14] [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 = ? ) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 32 [14:08:14] [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 = ? [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-06(String), 2022-04-06(String), 01(String) [14:08:14] [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 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 62 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 15 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 16 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 32 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08:14] [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 ? [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:14] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 47 [14:08:14] [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 [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:08:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [14:08: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 [14:08:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:08:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:08:19] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 250 [14:08: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-06 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 [14:08:19] [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 [14:08:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:08:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:08: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 [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08: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 [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08: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 [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:08:20] [DEBUG] controller.InverterController - ------------------------------------- [14:08: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":"01"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"01"},{"name":"ivt_76_15","status":"00"},{"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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"00"},{"name":"end"}]} [14:08:20] [DEBUG] controller.InverterController - ------------------------------------- [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:08:20] [DEBUG] controller.InverterController - ------------------------------------- [14:08:20] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:08:20] [DEBUG] controller.InverterController - ------------------------------------- [14:08: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 [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:08: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 [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:08:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:08:20] [DEBUG] controller.EssController - ----------------------------------------------- [14:08:20] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:08:20] [DEBUG] controller.EssController - ----------------------------------------------- [14:08:33] [DEBUG] controller.SolarController - ----------------------------------------------- [14:08:33] [DEBUG] controller.SolarController - /solar/view.co :: plantSeq :: 99, param.plantSeq : 99 [14:08:33] [DEBUG] controller.SolarController - ----------------------------------------------- [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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 [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:08:33] [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 [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 2022-04-06(String) [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08:33] [DEBUG] controller.SolarController - view.selectOverviewByPlantSeq1 : 쿼리조회시간 : 0 [14:08:33] [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 [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 17373(Integer), 2022-04-06(String), 2022-04-06(String), 99(Integer) [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [14:08:33] [DEBUG] controller.SolarController - view.selectListIvtByPlantSeq2 : 쿼리조회시간 : 15 [14:08: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 >= ? [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-03-23(String) [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:08: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 [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:08:33] [DEBUG] controller.SolarController - ----------------------------------------------- [14:08:33] [DEBUG] controller.SolarController - /solar/data_chart.co :: , param.plantSeq : 99 [14:08:33] [DEBUG] controller.SolarController - ----------------------------------------------- [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_hour where inputDate = ? and plantSeq = ? order by inputDate asc, inputHour asc [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 99(Integer) [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_day where inputDate between ? and ? and plantSeq = ? order by inputDate asc [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-03-29(String), 2022-04-06(String), 99(Integer) [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:08:33] [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 [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:08:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [14:08:35] [DEBUG] controller.EssController - ----------------------------------------------- [14:08:35] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:08:35] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:20] [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 [14:09:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:09:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:20] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 297 [14:09:20] [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-06 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 [14:09: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 [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:09:21] [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 [14:09:21] [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 [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09: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 [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:09:21] [DEBUG] controller.InverterController - ------------------------------------- [14:09:21] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:09:21] [DEBUG] controller.InverterController - ------------------------------------- [14:09:21] [DEBUG] controller.InverterController - ------------------------------------- [14:09:21] [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 [14:09:21] [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":"01"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"01"},{"name":"ivt_76_15","status":"00"},{"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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"00"},{"name":"end"}]} [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:21] [DEBUG] controller.InverterController - ------------------------------------- [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:21] [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 [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:09:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:09:21] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:21] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:09:21] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:26] [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.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:26] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 234 [14:09:26] [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-06 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=301 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [14:09:26] [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 [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:09:26] [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 [14:09:26] [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' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 301(Integer) [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:09:26] [DEBUG] controller.InverterController - ------------------------------------- [14:09:26] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:09:26] [DEBUG] controller.InverterController - ------------------------------------- [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:26] [DEBUG] controller.InverterController - ------------------------------------- [14:09:26] [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":"01"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"01"},{"name":"ivt_76_15","status":"00"},{"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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"00"},{"name":"end"}]} [14:09:26] [DEBUG] controller.InverterController - ------------------------------------- [14:09:26] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:26] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:09:26] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [14:09:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 301(Integer) [14:09:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:27] [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' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [14:09:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 301(Integer), 2022-04-06(String) [14:09:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:09:29] [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.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [14:09:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 331(Integer), 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:09:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:09:29] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 16 [14:09:29] [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-06 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=331 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [14:09:29] [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 [14:09:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:09:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:09:30] [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 [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:30] [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' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 331(Integer) [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:09:30] [DEBUG] controller.InverterController - ------------------------------------- [14:09:30] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:09:30] [DEBUG] controller.InverterController - ------------------------------------- [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:30] [DEBUG] controller.InverterController - ------------------------------------- [14:09:30] [DEBUG] controller.InverterController - { "data" : [{"name":"end"}]} [14:09:30] [DEBUG] controller.InverterController - ------------------------------------- [14:09:30] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:30] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:09:30] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 331(Integer) [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:09:30] [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' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 331(Integer), 2022-04-06(String) [14:09:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:09:31] [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.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [14:09:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:09:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:31] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 235 [14:09:31] [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-06 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=301 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [14:09:31] [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 [14:09:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:09:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:09:32] [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' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 301(Integer) [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:09:32] [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 [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 301(Integer) [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:32] [DEBUG] controller.InverterController - ------------------------------------- [14:09:32] [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":"01"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"01"},{"name":"ivt_76_15","status":"00"},{"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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"00"},{"name":"end"}]} [14:09:32] [DEBUG] controller.InverterController - ------------------------------------- [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:09:32] [DEBUG] controller.InverterController - ------------------------------------- [14:09:32] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:09:32] [DEBUG] controller.InverterController - ------------------------------------- [14:09:32] [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' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 301(Integer), 2022-04-06(String) [14:09:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:09:32] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:32] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:09:32] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:36] [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.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [14:09:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 331(Integer), 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:09:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:09:36] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 16 [14:09:36] [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-06 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=331 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [14:09:36] [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 [14:09:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:09:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:09:37] [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' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [14:09:37] [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 [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 331(Integer) [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:09:37] [DEBUG] controller.InverterController - ------------------------------------- [14:09:37] [DEBUG] controller.InverterController - { "data" : [{"name":"end"}]} [14:09:37] [DEBUG] controller.InverterController - ------------------------------------- [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:09:37] [DEBUG] controller.InverterController - ------------------------------------- [14:09:37] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:09:37] [DEBUG] controller.InverterController - ------------------------------------- [14:09:37] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:37] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:09:37] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 331(Integer) [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:09:37] [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' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 331(Integer), 2022-04-06(String) [14:09:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:09:38] [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.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [14:09:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:09:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:38] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 313 [14:09:38] [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-06 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=301 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [14:09:38] [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 [14:09:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:09:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:09:39] [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 [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:09:39] [DEBUG] controller.InverterController - ------------------------------------- [14:09:39] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:09:39] [DEBUG] controller.InverterController - ------------------------------------- [14:09:39] [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' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 301(Integer) [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:39] [DEBUG] controller.InverterController - ------------------------------------- [14:09:39] [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":"01"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"01"},{"name":"ivt_76_15","status":"00"},{"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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"00"},{"name":"end"}]} [14:09:39] [DEBUG] controller.InverterController - ------------------------------------- [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' and p.clientOrderSeq = ? order by plantSeq [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 301(Integer) [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:39] [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' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 301(Integer), 2022-04-06(String) [14:09:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:09:39] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:39] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:09:39] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.pvPower, d.dayPvPower, d.createDatetime as pmsDatetime from ( select p.*, s.inputDate as lastday, s.todayEnergy as lastdayEnergy, s.todayHours as lastdayHours from ( select p.*, o.oseq, o.plantSeq, o.inputDate, o.inputHour, o.inputMinute, o.currPower, o.todayEnergy, o.todayHours, o.lifetimeEnergy, o.ovStatus, o.createDatetime as ivtDatetime from ( select p.seq, p.name, p.supplyPower, p.plantType, p.plantStatus, v.link, v.url1, v.url2, v.port, v.key1, v.key2, v.ivtQuantity, v.ivtType 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 [14:09:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:47] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 265 [14:09:47] [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-06 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 [14:09:47] [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 [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:09:47] [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 [14:09:47] [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 [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:09:47] [DEBUG] controller.InverterController - ------------------------------------- [14:09:47] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:09:47] [DEBUG] controller.InverterController - ------------------------------------- [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:47] [DEBUG] controller.InverterController - ------------------------------------- [14:09:47] [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":"01"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"01"},{"name":"ivt_76_15","status":"00"},{"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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"00"},{"name":"end"}]} [14:09:47] [DEBUG] controller.InverterController - ------------------------------------- [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:09:47] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:47] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:09:47] [DEBUG] controller.EssController - ----------------------------------------------- [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, o.plantSeq from ( select plantSeq from t_ivtoverview where inputDate=? group by plantSeq ) o, t_plant p where o.plantSeq = p.seq and p.plantType in ('02', '03') and plantStatus = '01' order by plantSeq [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o1.inputHour, o1.plantSeq, o.oseq, o.inputMinute, o.currPower, max(o.todayEnergy) as todayEnergy , max(o.todayHours) as todayHours, max(o.lifetimeEnergy) as lifetimeEnergy, o.ovStatus from ( select o.*, p.clientOrderSeq from ( select o1.inputHour, o.plantSeq from ( select oseq, inputDate, inputHour from t_ivtoverview where inputDate=? group by inputHour ) o1 CROSS JOIN t_ivtoverview o on o.inputDate = ? group by o1.inputHour, o.plantSeq 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 [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:09:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:11:15] [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 [14:11:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String) [14:11:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:11:15] [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 [14:11:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 01(String), 99(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 99(Integer) [14:11:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:11:15] [DEBUG] controller.MonitoringController - solar_overview.selectListByPlantSeq : 쿼리조회시간 : 16 [14:11:16] [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 = ? [14:11:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:11:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:11:16] [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 [14:11:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String) [14:11:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [14:11:16] [DEBUG] controller.InverterController - ------------------------------------- [14:11:16] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_17373_1","status":"01"},{"name":"ivt_17373_2","status":"01"},{"name":"ivt_17373_3","status":"00"},{"name":"end"}]} [14:11:16] [DEBUG] controller.InverterController - ------------------------------------- [14:11:16] [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 [14:11:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 01(String), 99(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 99(Integer) [14:11:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:11:20] [DEBUG] controller.EssController - ----------------------------------------------- [14:11:20] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:11:20] [DEBUG] controller.EssController - ----------------------------------------------- [14:11:21] [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 [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 98(Integer), 2022-04-06(String), 2022-04-06(String) [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:11:21] [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 [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 98(Integer), 01(String), 01(String), 98(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 98(Integer) [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [14:11:21] [DEBUG] controller.MonitoringController - solar_overview.selectListByPlantSeq : 쿼리조회시간 : 16 [14:11:21] [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 = ? [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 98(Integer) [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select o.inputHour, o.inputMinute, d.* from t_ivtoverview o, t_juncdata 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 [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 98(Integer), 2022-04-06(String) [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [14:11:21] [DEBUG] controller.InverterController - ------------------------------------- [14:11:21] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_17274_1","status":"01"},{"name":"ivt_17279_1","status":"01"},{"name":"ivt_17284_1","status":"01"},{"name":"ivt_17289_1","status":"01"},{"name":"ivt_17294_1","status":"01"},{"name":"ivt_17299_1","status":"01"},{"name":"ivt_17304_1","status":"01"},{"name":"ivt_17309_1","status":"01"},{"name":"ivt_17314_1","status":"01"},{"name":"ivt_17319_1","status":"01"},{"name":"ivt_17324_1","status":"01"},{"name":"ivt_17329_1","status":"01"},{"name":"ivt_17334_1","status":"01"},{"name":"ivt_17339_1","status":"01"},{"name":"ivt_17344_1","status":"01"},{"name":"ivt_17349_1","status":"01"},{"name":"ivt_17354_1","status":"01"},{"name":"ivt_17359_1","status":"01"},{"name":"ivt_17364_1","status":"01"},{"name":"ivt_17369_1","status":"01"},{"name":"end"}]} [14:11:21] [DEBUG] controller.InverterController - ------------------------------------- [14:11:21] [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 [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 98(Integer), 01(String), 01(String), 98(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 98(Integer) [14:11:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:26] [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 [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 2022-04-06(String) [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [14:12:26] [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 [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:12:27] [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 = ? [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [14:12:27] [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 = ? [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [14:12:27] [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 = ? [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 15 [14:12:27] [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 = ? [14:12:27] [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 = ? [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-04-06(String), 2022-04-06(String), 01(String) [14:12:27] [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-06(String), 2022-04-06(String), 01(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [14:12:27] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 62 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 47 [14:12:27] [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 = ? [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-06(String), 2022-04-06(String), 01(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 63 [14:12:27] [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 = ? ) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 47 [14:12:27] [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 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 15 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 63 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 0 [14:12:27] [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 ? [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:12:27] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 31 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:12:27] [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 [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:12:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [14:12:28] [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 [14:12:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:12:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:12:28] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 282 [14:12:28] [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-06 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 [14:12:28] [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 [14:12:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:12:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:12:29] [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 [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12: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 [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:12:29] [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 [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:12:29] [DEBUG] controller.InverterController - ------------------------------------- [14:12:29] [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":"01"},{"name":"ivt_76_13","status":"01"},{"name":"ivt_76_14","status":"01"},{"name":"ivt_76_15","status":"00"},{"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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"00"},{"name":"end"}]} [14:12:29] [DEBUG] controller.InverterController - ------------------------------------- [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:12:29] [DEBUG] controller.InverterController - ------------------------------------- [14:12:29] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:12:29] [DEBUG] controller.InverterController - ------------------------------------- [14:12:29] [DEBUG] controller.EssController - ----------------------------------------------- [14:12:29] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:12:29] [DEBUG] controller.EssController - ----------------------------------------------- [14:12:29] [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 [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:12:29] [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 [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:12:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:12:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [14:12:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 0(Integer) [14:12:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [14:12:35] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [14:12: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 [14:12: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 [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:12: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 [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [14:12: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 [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:12: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 ?, ? [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String), 0(Integer), 10(Integer) [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 26 [14:12:36] [DEBUG] controller.JsonController - ------------------------------------- [14:12:36] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_20_1","level":"1","className":"warning"},{"name":"pcs_24_1","level":"1","className":"warning"},{"name":"pcs_48_1","level":"1","className":"warning"},{"name":"pcs_73_1","level":"1","className":"warning"},{"name":"pcs_73_2","level":"1","className":"warning"},{"name":"pcs_74_2","level":"1","className":"warning"},{"name":"pcs_75_1","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_82_1","level":"1","className":"warning"},{"name":"pcs_82_2","level":"1","className":"warning"},{"name":"pcs_84_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_97_1","level":"1","className":"warning"},{"name":"end"}]} [14:12:36] [DEBUG] controller.JsonController - ------------------------------------- [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [14:12: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 ?, ? [14:12: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-06(String), 2022-04-06(String), 01(String), 0(Integer), 10(Integer) [14:12:36] [DEBUG] controller.EssController - ----------------------------------------------- [14:12:36] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:12:36] [DEBUG] controller.EssController - ----------------------------------------------- [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:12: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 [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [14:12:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [14:27:02] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:27:05] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:27:05] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:27:06] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:27:06] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:27:06] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:27:06] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:27:09] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:09] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :tk2340, login_channel : null [14:27:09] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:09] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:09] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [14:27:09] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:09] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/data/plant/trand_list_stat.co?plantSeq=41&inputDate=2022-04-06&type=temp&pcsIdx=1 [14:27:09] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:09] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : tk2340 [14:27:09] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [14:27:09] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [14:27:09] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27: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=? [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:09] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:09] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: tk2340, mappingList.size : 1 [14:27:09] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:09] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[tk2340] roles roles [0]ROLE_01 [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String), 01(String), 7F3FCEAC28DC33DE7D1BEE20A72935D7(String), PHONE(String) [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:27: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 [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 1(Integer), 2022-04-06(String), 41(Integer), 1(Integer), 2022-04-06(String) [14:27:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [14:27:10] [DEBUG] controller.EssController - ----------------------------------------------- [14:27:10] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:27:10] [DEBUG] controller.EssController - ----------------------------------------------- [14:27:12] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:12] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :tk2340, login_channel : null [14:27:12] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:12] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:12] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [14:27:12] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:12] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co;jsessionid=B119DCBE784D03CFCFCB9CFA500F5186 [14:27:12] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:12] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : tk2340 [14:27:12] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [14:27:12] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [14:27:12] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:12] [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=? [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:12] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:12] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: tk2340, mappingList.size : 1 [14:27:12] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:12] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[tk2340] roles roles [0]ROLE_01 [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String), 01(String), 6581974E2D3FAE6DCF501B3300169ED7(String), PHONE(String) [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:27:12] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:27:12] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [14:27:12] [DEBUG] controller.SignController - /ess/view.co [14:27:12] [DEBUG] controller.SignController - ....................................... [14:27:12] [DEBUG] controller.EssController - ----------------------------------------------- [14:27:12] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 41, param.plantSeq : 0 [14:27:12] [DEBUG] controller.EssController - ----------------------------------------------- [14:27:12] [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 [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:12] [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 [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), null, 41(Integer), 0(Integer), 2022-04-05(String), 41(Integer), 0(Integer), 2022-04-04(String), 41(Integer), 0(Integer), 2022-04-06(String), 58333(Integer) [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:12] [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 [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 41(Integer), 2022-04-06(String), 41(Integer) [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [14:27:12] [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 ?, ? [14:27:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:27:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:13] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :tk2340, login_channel : null [14:27:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:13] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [14:27:13] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:27:13] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co;jsessionid=B119DCBE784D03CFCFCB9CFA500F5186 [14:27:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : tk2340 [14:27:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [14:27:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [14:27:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:13] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: tk2340, mappingList.size : 1 [14:27:13] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:27:13] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[tk2340] roles roles [0]ROLE_01 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String), 01(String), 144E35A9019CD09647321787A9D3E708(String), PHONE(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:27:13] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:27:13] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [14:27:13] [DEBUG] controller.SignController - /ess/view.co [14:27:13] [DEBUG] controller.SignController - ....................................... [14:27:13] [DEBUG] controller.EssController - ----------------------------------------------- [14:27:13] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 41, param.plantSeq : 0 [14:27:13] [DEBUG] controller.EssController - ----------------------------------------------- [14:27: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 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27: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 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), null, 41(Integer), 0(Integer), 2022-04-05(String), 41(Integer), 0(Integer), 2022-04-04(String), 41(Integer), 0(Integer), 2022-04-06(String), 58333(Integer) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27: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 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 41(Integer), 2022-04-06(String), 41(Integer) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [14:27: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 ?, ? [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:27:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:27:14] [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 >= ? [14:27:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-03-23(String) [14:27:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [14:27:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [14:27:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:27:15] [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 [14:27:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), 14(String) [14:27:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:27: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 desc, d.pcsIdx asc [14:27:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String) [14:27:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [14:27:16] [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 [14:27:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 41(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [14:27:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [14:27:16] [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 [14:27:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 1(Integer), 2022-04-06(String), 41(Integer), 1(Integer), 2022-04-06(String) [14:27:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [14:29:03] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:29:07] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:29:07] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [14:29:07] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:07] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:29:07] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [14:29:07] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:29:07] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [14:29:07] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:29:07] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [14:29:07] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [14:29:07] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [14:29:07] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:07] [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=? [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:29:07] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:29:07] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [14:29:07] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:29:07] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 3628248D9D12409586C0604191557402(String), PHONE(String) [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:29:07] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:07] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:29:07] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:07] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:07] [DEBUG] controller.EssController - /index.co called [14:29:07] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:07] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:07] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [14:29:07] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.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 [14:29:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29: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 [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58333(Integer) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29: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 [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29: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 ?, ? [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:29: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 >= ? [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:08] [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 [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:29:08] [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 [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 14(String) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [14:29:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [14:29: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 [14:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [14:29:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [14:29: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 [14:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [14:29:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [14:29:10] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:10] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [14:29:10] [DEBUG] controller.EssController - ----------------------------------------------- [14:29: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 [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29: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 [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 14(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58333(Integer) [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [14:29:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:11] [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 [14:29:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [14:29:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [14:29:11] [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 [14:29:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [14:29:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [14:29:32] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [14:29:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:29:39] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :gwangil, login_channel : null [14:29:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:29:39] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [14:29:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:29:39] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [14:29:39] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:29:39] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : gwangil [14:29:39] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [14:29:39] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [14:29:39] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:39] [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=? [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String) [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:39] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:29:39] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: gwangil, mappingList.size : 1 [14:29:39] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:29:39] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[gwangil] roles roles [0]ROLE_01 [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: gwangil(String), 01(String), 4BC4B1CFF715AD8B9E8FD2E1DD9014DE(String), PHONE(String) [14:29:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:29:39] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:39] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:29:39] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:40] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:40] [DEBUG] controller.EssController - /index.co called [14:29:40] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:40] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:40] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 42, param.plantSeq : 0 [14:29:40] [DEBUG] controller.EssController - ----------------------------------------------- [14:29:40] [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 [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:40] [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 [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), null, 42(Integer), 0(Integer), 2022-04-05(String), 42(Integer), 0(Integer), 2022-04-04(String), 42(Integer), 0(Integer), 2022-04-06(String), 58333(Integer) [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29: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.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 [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-04-06(String), 42(Integer), 2022-04-06(String), 42(Integer) [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [14:29:40] [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 ?, ? [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:29:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:29:41] [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 >= ? [14:29:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-03-23(String) [14:29:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:41] [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 [14:29:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [14:29:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:29:41] [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 [14:29:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 14(String) [14:29:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:29:42] [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 [14:29:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 0(Integer), 2022-04-06(String), 42(Integer), 0(Integer), 2022-04-06(String) [14:29:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [14:29:42] [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 [14:29:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 42(Integer), 0(Integer), 42(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [14:29:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [14:29:42] [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 [14:29:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 42(Integer), 1(Integer), 2022-04-06(String), 42(Integer), 1(Integer), 2022-04-06(String) [14:29:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [14:31:16] [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 = ? [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 39(Integer) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:31:16] [DEBUG] controller.RestAPIController - callPmsFault :: [39] [211.107.254.118] 충주신영 is Fault PUSH [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:31:16] [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() ) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 39(Integer), 1(Integer), 58334(Integer), 2022-04-06(String), 14(String), 31(String), 8766677(Long), 8315738(Long), 62268(Long), 0(Integer), 126(Integer), 58202(Integer), 133(Integer), 50389(Integer), 0(Integer), 0(Integer), 5(Integer), 61700(Integer), 0(Integer), 62268(Integer), 3911(Integer), 0(Integer), 0(Integer), 886(Integer), 922(Integer), 64576(Integer), 7936(Integer), 121(Integer), 265(Integer), 215(Integer), 40(Integer), 39(Integer), 3(Integer), 1(Integer), 0(Integer), 780(Integer), 1(Integer), 16384(Integer), 1(Integer), 0(Integer), 89(Integer), 2(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:31:16] [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 = ? [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 39(Integer) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:31:16] [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() ) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 39(Integer), 1(Integer), 58334(Integer), 2022-04-06(String), 14:31:01(String), 20(String), 10(String), 10(String), PMS FAULT PUSH(String), 1,16384,0,0(String), 1,0,0,0(String), PUSH(String), PUSH(String) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:31:16] [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() ) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 39(Integer), 0(Integer), 58334(Integer), 2022-04-06(String), 14(String), 31(String), 8766677(Long), 8315738(Long), 62268(Long), 0(Integer), 126(Integer), 58202(Integer), 133(Integer), 50389(Integer), 0(Integer), 0(Integer), 5(Integer), 61700(Integer), 0(Integer), 62268(Integer), 3911(Integer), 0(Integer), 0(Integer), 886(Integer), 922(Integer), 64576(Integer), 7936(Integer), 121(Integer), 265(Integer), 215(Integer), 40(Integer), 39(Integer), 3(Integer), 1(Integer), 0(Integer), 780(Integer), 1(Integer), 16384(Integer), 1(Integer), 0(Integer), 89(Integer), 2(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:31:16] [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() ) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 39(Integer), 2(Integer), 58334(Integer), 2022-04-06(String), 14(String), 31(String), 8803039(Long), 8350809(Long), 62268(Long), 64536(Integer), 127(Integer), 27737(Integer), 134(Integer), 21215(Integer), 0(Integer), 0(Integer), 5(Integer), 61700(Integer), 0(Integer), 62268(Integer), 3909(Integer), 1470(Integer), 64537(Integer), 883(Integer), 931(Integer), 64577(Integer), 7928(Integer), 121(Integer), 271(Integer), 230(Integer), 40(Integer), 39(Integer), 3(Integer), 1(Integer), 0(Integer), 822(Integer), 1(Integer), 0(Integer), 9(Integer), 64536(Integer), 89(Integer), 2(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:31:16] [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 = ? [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 39(Integer) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:31:16] [DEBUG] service.CsService - [39:2] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [14:31:16] [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() ) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 39(Integer), 3(Integer), 58334(Integer), 2022-04-06(String), 14(String), 31(String), 8743858(Long), 8263953(Long), 62268(Long), 64537(Integer), 126(Integer), 6417(Integer), 133(Integer), 27570(Integer), 0(Integer), 0(Integer), 5(Integer), 61700(Integer), 0(Integer), 62268(Integer), 3914(Integer), 1470(Integer), 64537(Integer), 881(Integer), 931(Integer), 64577(Integer), 7928(Integer), 121(Integer), 258(Integer), 227(Integer), 40(Integer), 39(Integer), 3(Integer), 1(Integer), 0(Integer), 822(Integer), 1(Integer), 0(Integer), 9(Integer), 64536(Integer), 89(Integer), 2(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:31:16] [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 = ? [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 39(Integer) [14:31:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:31:16] [DEBUG] service.CsService - [39:3] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [14:31:16] [DEBUG] controller.RestAPIController - [39] smsMessage : 충주신영 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: 15387 [14:38: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 = ? [14:38:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer) [14:38:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:38:11] [DEBUG] controller.RestAPIController - callPmsFault :: [16] [121.180.100.145] 고흥JH is Fault PUSH [14:38:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [14:38:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [14:38:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:38:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [14:38:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 1(Integer), 58334(Integer), 2022-04-06(String), 14(String), 38(String), 3756686(Long), 3675535(Long), 7453(Long), 0(Integer), 5519(Integer), 56(Integer), 21134(Integer), 57(Integer), 0(Integer), 0(Integer), 0(Integer), 47351(Integer), 0(Integer), 7453(Integer), 4167(Integer), 10(Integer), 7(Integer), 890(Integer), 875(Integer), 0(Integer), 7909(Integer), 0(Integer), 296(Integer), 244(Integer), 4009(Integer), 3988(Integer), 3(Integer), 0(Integer), 0(Integer), 136(Integer), 128(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 3(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [14:38:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:38:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [14:38:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 20(String), 16(Integer) [14:38:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:38:12] [DEBUG] service.CsService - [16:1] CS가 이미 접수되었습니다. pcs: 128,0,0,0, bms : 0,0,0,0 [14:38:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [14:38:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 0(Integer), 58334(Integer), 2022-04-06(String), 14(String), 38(String), 3756686(Long), 3675535(Long), 7453(Long), 0(Integer), 5519(Integer), 56(Integer), 21134(Integer), 57(Integer), 0(Integer), 0(Integer), 0(Integer), 47351(Integer), 0(Integer), 7453(Integer), 4167(Integer), 10(Integer), 7(Integer), 890(Integer), 875(Integer), 0(Integer), 7909(Integer), 0(Integer), 296(Integer), 244(Integer), 4009(Integer), 3988(Integer), 3(Integer), 0(Integer), 0(Integer), 136(Integer), 128(Integer), 0(Integer), 9(Integer), 0(Integer), 89(Integer), 3(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [14:38:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:38:12] [DEBUG] controller.RestAPIController - [16] smsMessage : 고흥JH Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: 15357 [14:40:27] [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 = ? [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [14:40:27] [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 = ? [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String), 0(Integer), 20(Integer) [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String), 0(Integer), 20(Integer) [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [14:40:27] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 125 [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:40:27] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 141 [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [14:40:27] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 156 [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [14:40:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:40:27] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 172 [14:49:57] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:49:57] [DEBUG] controller.TestIndexController - called /test/index.co ... [14:49:57] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:49:59] [DEBUG] controller.EssController - ----------------------------------------------- [14:49:59] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:50:00] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:50:00] [DEBUG] controller.EssController - ----------------------------------------------- [14:57:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.plantStatus = ? and p.plantType = ? ) 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 [14:57:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [14:57:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 51 [14:57:17] [DEBUG] controller.PlantController - selectListPmsPlant : 쿼리조회시간 : 94 [14:57: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 [14:57:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:57:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:57:20] [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 [14:57:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:57:21] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 297 [14:57:21] [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-06 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 [14:57:21] [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 [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:57:21] [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 [14:57:21] [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 [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:57:21] [DEBUG] controller.InverterController - ------------------------------------- [14:57:21] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:57:21] [DEBUG] controller.InverterController - ------------------------------------- [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:57:21] [DEBUG] controller.InverterController - ------------------------------------- [14:57:21] [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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"00"},{"name":"end"}]} [14:57:21] [DEBUG] controller.InverterController - ------------------------------------- [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:57:21] [DEBUG] controller.EssController - ----------------------------------------------- [14:57:21] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:57:21] [DEBUG] controller.EssController - ----------------------------------------------- [14:57:21] [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 [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:57:21] [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 [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:57:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:57:24] [DEBUG] controller.SolarController - ----------------------------------------------- [14:57:24] [DEBUG] controller.SolarController - /solar/view.co :: plantSeq :: 99, param.plantSeq : 99 [14:57:24] [DEBUG] controller.SolarController - ----------------------------------------------- [14:57: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 [14:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:57:24] [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 [14:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 2022-04-06(String) [14:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:57:24] [DEBUG] controller.SolarController - view.selectOverviewByPlantSeq1 : 쿼리조회시간 : 0 [14:57:24] [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 [14:57:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 17373(Integer), 2022-04-06(String), 2022-04-06(String), 99(Integer) [14:57:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [14:57:24] [DEBUG] controller.SolarController - view.selectListIvtByPlantSeq2 : 쿼리조회시간 : 0 [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-03-23(String) [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:57:25] [DEBUG] controller.SolarController - ----------------------------------------------- [14:57:25] [DEBUG] controller.SolarController - /solar/data_chart.co :: , param.plantSeq : 99 [14:57:25] [DEBUG] controller.SolarController - ----------------------------------------------- [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_hour where inputDate = ? and plantSeq = ? order by inputDate asc, inputHour asc [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 99(Integer) [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_day where inputDate between ? and ? and plantSeq = ? order by inputDate asc [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-03-29(String), 2022-04-06(String), 99(Integer) [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:57:25] [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 [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:57:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [14:58:35] [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 [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 14(String), 58(String), 114.8(Float), 994.9(Float), 5.0(Float), 22521.0(Float), 01(String) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:58:35] [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() ) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17389(Integer), 99(Integer), 1(Integer), 28700.0(Double), 0.0(Double), 28.8(Double), 2.6(Double), 51.4(Double), 555.9(Double), 28575.0(Double), 50.6(Double), 100.0(Double), 247500.0(Double), 5607.0(Double), 01(String) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:58:35] [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() ) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17389(Integer), 99(Integer), 2(Integer), 29000.0(Double), 0.0(Double), 29.0(Double), 2.3(Double), 51.7(Double), 556.4(Double), 28765.9(Double), 50.3(Double), 100.0(Double), 251500.0(Double), 5690.0(Double), 01(String) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:58:35] [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() ) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17389(Integer), 99(Integer), 3(Integer), 28400.0(Double), 0.0(Double), 28.4(Double), 2.1(Double), 51.7(Double), 550.0(Double), 28433.3(Double), 45.4(Double), 100.0(Double), 244900.0(Double), 5551.0(Double), 01(String) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:58:35] [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() ) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17389(Integer), 99(Integer), 4(Integer), 28700.0(Double), 0.0(Double), 28.8(Double), 2.4(Double), 52.0(Double), 547.9(Double), 28490.8(Double), 40.0(Double), 100.0(Double), 251000.0(Double), 5673.0(Double), 01(String) [14:58:35] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:58:45] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:58:45] [DEBUG] controller.TestIndexController - called /test/index.co ... [14:58:45] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:58:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:58:48] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :user09, login_channel : null [14:58:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:58:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:58:48] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_09 [14:58:48] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [14:58:48] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/test/index.co [14:58:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:58:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : user09 [14:58:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [14:58:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [14:58:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:58:48] [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 [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [14:58:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:58:48] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: user09, mappingList.size : 79 [14:58:48] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [14:58:48] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[user09] roles roles [0]ROLE_09 [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String), 09(String), 91F3F2771448E07F0896692DE68E8A6C(String), WEB(String) [14:58:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [14:58:48] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:58:48] [DEBUG] controller.TestIndexController - called /test/index.co ... [14:58:48] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [14:58:50] [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 [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:58:50] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 299 [14:58:50] [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-06 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 [14:58:50] [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 [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:58:50] [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 [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:58: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 [14:58:50] [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 [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:58:50] [DEBUG] controller.InverterController - ------------------------------------- [14:58:50] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:58:50] [DEBUG] controller.InverterController - ------------------------------------- [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 60 [14:58:50] [DEBUG] controller.InverterController - ------------------------------------- [14:58:50] [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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [14:58:50] [DEBUG] controller.InverterController - ------------------------------------- [14:58:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:58:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:58:50] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:58:50] [DEBUG] controller.EssController - ----------------------------------------------- [14:58:51] [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 [14:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:58:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:58:51] [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 [14:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:58:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:58:58] [DEBUG] controller.SolarController - ----------------------------------------------- [14:58:58] [DEBUG] controller.SolarController - /solar/view.co :: plantSeq :: 99, param.plantSeq : 99 [14:58:58] [DEBUG] controller.SolarController - ----------------------------------------------- [14:58: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 [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:58: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 [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 2022-04-06(String) [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:58:58] [DEBUG] controller.SolarController - view.selectOverviewByPlantSeq1 : 쿼리조회시간 : 34 [14:58: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 [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 17389(Integer), 2022-04-06(String), 2022-04-06(String), 99(Integer) [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [14:58:58] [DEBUG] controller.SolarController - view.selectListIvtByPlantSeq2 : 쿼리조회시간 : 63 [14:58:58] [DEBUG] controller.SolarController - ----------------------------------------------- [14:58:58] [DEBUG] controller.SolarController - /solar/data_chart.co :: , param.plantSeq : 99 [14:58:58] [DEBUG] controller.SolarController - ----------------------------------------------- [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_hour where inputDate = ? and plantSeq = ? order by inputDate asc, inputHour asc [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 99(Integer) [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_day where inputDate between ? and ? and plantSeq = ? order by inputDate asc [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-03-29(String), 2022-04-06(String), 99(Integer) [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:58:58] [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 [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [14:58:58] [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 >= ? [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-03-23(String) [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:58:58] [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 [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [14:58:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:59:08] [DEBUG] controller.EssController - ----------------------------------------------- [14:59:08] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:59:08] [DEBUG] controller.EssController - ----------------------------------------------- [14:59:10] [DEBUG] controller.EssController - ----------------------------------------------- [14:59:10] [DEBUG] controller.EssController - /index.co called [14:59:10] [DEBUG] controller.EssController - ----------------------------------------------- [14:59:10] [DEBUG] controller.EssController - ----------------------------------------------- [14:59:10] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 41, param.plantSeq : 0 [14:59:10] [DEBUG] controller.EssController - ----------------------------------------------- [14:59: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 [14:59:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:59:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:59: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 [14:59:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), null, 41(Integer), 0(Integer), 2022-04-05(String), 41(Integer), 0(Integer), 2022-04-04(String), 41(Integer), 0(Integer), 2022-04-06(String), 58336(Integer) [14:59:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:59: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 [14:59:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-06(String), 41(Integer), 2022-04-06(String), 41(Integer) [14:59:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [14:59: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 ?, ? [14:59:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String) [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:59: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 >= ? [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-03-23(String) [14:59:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [14:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [14:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [14:59:12] [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 [14:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), 14(String) [14:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [14:59: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 desc, d.pcsIdx asc [14:59:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 0(Integer), 2022-04-06(String), 41(Integer), 0(Integer), 2022-04-06(String) [14:59:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [14:59:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [14:59:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 41(Integer), 0(Integer), 41(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [14:59:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [14:59:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [14:59:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 1(Integer), 2022-04-06(String), 41(Integer), 1(Integer), 2022-04-06(String) [14:59:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [14:59:57] [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 [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:59:57] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 317 [14:59:57] [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-06 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 [14:59:57] [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 [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [14:59:57] [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 [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:59:57] [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 [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 60 [14:59:57] [DEBUG] controller.InverterController - ------------------------------------- [14:59:57] [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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [14:59:57] [DEBUG] controller.InverterController - ------------------------------------- [14:59:57] [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 [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [14:59:57] [DEBUG] controller.InverterController - ------------------------------------- [14:59:57] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [14:59:57] [DEBUG] controller.InverterController - ------------------------------------- [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [14:59:57] [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 [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [14:59:57] [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 [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [14:59:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [14:59:57] [DEBUG] controller.EssController - ----------------------------------------------- [14:59:57] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [14:59:57] [DEBUG] controller.EssController - ----------------------------------------------- [15:00:18] [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.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 331(Integer), 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:00:18] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 17 [15:00: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-06 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=331 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [15:00: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 [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:00: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 [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:00: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 [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:00:18] [DEBUG] controller.InverterController - ------------------------------------- [15:00:18] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:00:18] [DEBUG] controller.InverterController - ------------------------------------- [15:00: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' and p.clientOrderSeq = ? order by plantSeq [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 331(Integer) [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:00: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' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 331(Integer) [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:00:18] [DEBUG] controller.InverterController - ------------------------------------- [15:00:18] [DEBUG] controller.InverterController - { "data" : [{"name":"end"}]} [15:00:18] [DEBUG] controller.InverterController - ------------------------------------- [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:00: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' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 331(Integer), 2022-04-06(String) [15:00:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:00:18] [DEBUG] controller.EssController - ----------------------------------------------- [15:00:18] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:00:18] [DEBUG] controller.EssController - ----------------------------------------------- [15:00: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.clientOrderSeq = ? and p.plantStatus = ? and v.ivtStatus = ? ) p left join t_ivtoverview o on p.seq = o.plantSeq and o.oseq = ( select max(oseq) as oseq from t_ivtoverview where inputDate=? and plantSeq = p.seq ) ) p left join t_ivtoverview_day s on p.seq = s.plantSeq and s.inputDate = DATE_ADD(p.inputDate, INTERVAL -1 DAY) ) p left join t_pmsdata_2022 d on p.seq = d.plantSeq and d.inputDate=? and d.seq = ( select max(seq) as seq from t_pmsdata_2022 where plantSeq = p.seq and inputDate=? ) order by p.seq desc [15:00:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 301(Integer), 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:00:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [15:00:19] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 326 [15:00: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-06 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=301 getClientConstructSeq=0 getSupplyBatteryPower=0 getClass=class com.elt.ems.vo.SolarIvtJuncOverviewVo [15:00:19] [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 [15:00:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:00:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:00: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 [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:00: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' and p.clientOrderSeq = ? order by plantSeq asc, ivtIdx asc [15:00: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 [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 301(Integer) [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:00:20] [DEBUG] controller.InverterController - ------------------------------------- [15:00:20] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:00:20] [DEBUG] controller.InverterController - ------------------------------------- [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 60 [15:00:20] [DEBUG] controller.InverterController - ------------------------------------- [15:00:20] [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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [15:00:20] [DEBUG] controller.InverterController - ------------------------------------- [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:00:20] [DEBUG] controller.EssController - ----------------------------------------------- [15:00:20] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:00:20] [DEBUG] controller.EssController - ----------------------------------------------- [15:00: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' and p.clientOrderSeq = ? order by plantSeq [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 301(Integer) [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [15:00: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' and p.clientOrderSeq = ? ) o1 left join t_ivtoverview o on o1.plantSeq = o.plantSeq and o1.inputHour = o.inputHour and o.inputDate = ? group by inputHour, plantSeq order by o1.inputHour asc, o1.plantSeq asc [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 301(Integer), 2022-04-06(String) [15:00:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 48 [15:00:35] [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 [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 15(String), 00(String), 113.2(Float), 998.8(Float), 5.0(Float), 22524.0(Float), 01(String) [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:00:35] [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() ) [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17390(Integer), 99(Integer), 1(Integer), 28300.0(Double), 0.0(Double), 28.4(Double), 2.5(Double), 50.3(Double), 559.0(Double), 28117.7(Double), 50.5(Double), 100.0(Double), 248500.0(Double), 5608.0(Double), 01(String) [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:00:35] [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() ) [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17390(Integer), 99(Integer), 2(Integer), 28600.0(Double), 0.0(Double), 28.7(Double), 2.5(Double), 51.2(Double), 552.4(Double), 28281.2(Double), 50.2(Double), 100.0(Double), 252500.0(Double), 5691.0(Double), 01(String) [15:00:35] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:00:36] [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() ) [15:00:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17390(Integer), 99(Integer), 3(Integer), 28000.0(Double), 0.0(Double), 28.1(Double), 2.4(Double), 50.7(Double), 550.0(Double), 27883.3(Double), 45.1(Double), 100.0(Double), 245800.0(Double), 5551.0(Double), 01(String) [15:00:36] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:00:36] [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() ) [15:00:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17390(Integer), 99(Integer), 4(Integer), 28300.0(Double), 0.0(Double), 28.4(Double), 2.5(Double), 51.2(Double), 549.0(Double), 28110.5(Double), 39.8(Double), 100.0(Double), 252000.0(Double), 5674.0(Double), 01(String) [15:00:36] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:01:05] [DEBUG] controller.SolarController - ----------------------------------------------- [15:01:05] [DEBUG] controller.SolarController - /solar/view.co :: plantSeq :: 99, param.plantSeq : 99 [15:01:05] [DEBUG] controller.SolarController - ----------------------------------------------- [15:01: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 [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:01:05] [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 [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 2022-04-06(String) [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [15:01:05] [DEBUG] controller.SolarController - view.selectOverviewByPlantSeq1 : 쿼리조회시간 : 16 [15:01:05] [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 [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 99(Integer), 17390(Integer), 2022-04-06(String), 2022-04-06(String), 99(Integer) [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [15:01:05] [DEBUG] controller.SolarController - view.selectListIvtByPlantSeq2 : 쿼리조회시간 : 0 [15:01: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 >= ? [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-03-23(String) [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01: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 [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:01:05] [DEBUG] controller.SolarController - ----------------------------------------------- [15:01:05] [DEBUG] controller.SolarController - /solar/data_chart.co :: , param.plantSeq : 99 [15:01:05] [DEBUG] controller.SolarController - ----------------------------------------------- [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_hour where inputDate = ? and plantSeq = ? order by inputDate asc, inputHour asc [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 99(Integer) [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtoverview_day where inputDate between ? and ? and plantSeq = ? order by inputDate asc [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-03-29(String), 2022-04-06(String), 99(Integer) [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:01:05] [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 [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:01:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:33] [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 [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 2022-04-06(String) [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [15:01:33] [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 [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:01:33] [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 = ? [15:01:33] [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 = ? [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [15:01:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [15:01:34] [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 = ? [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [15:01:34] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 31 [15:01:34] [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 = ? [15:01: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-06(String), 2022-04-06(String), 01(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 16 [15:01:34] [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 = ? ) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 16 [15:01:34] [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 = ? [15:01:34] [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-06(String), 2022-04-06(String), 01(String) [15:01:34] [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 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 47 [15:01:34] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 31 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 16 [15:01:34] [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 = ? [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-06(String), 2022-04-06(String), 01(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 47 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 47 [15:01:34] [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 ? [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:01:34] [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 [15:01:34] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 47 [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:01:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [15:01:40] [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 [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [15:01:40] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 297 [15:01: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-06 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 [15:01: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 [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:01: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 [15:01: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 [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01: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 [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 60 [15:01:40] [DEBUG] controller.InverterController - ------------------------------------- [15:01:40] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:01:40] [DEBUG] controller.InverterController - ------------------------------------- [15:01:40] [DEBUG] controller.InverterController - ------------------------------------- [15:01:40] [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_99_1","status":"01"},{"name":"ivt_99_2","status":"01"},{"name":"ivt_99_3","status":"01"},{"name":"ivt_99_4","status":"01"},{"name":"end"}]} [15:01:40] [DEBUG] controller.InverterController - ------------------------------------- [15:01: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 [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [15:01: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 [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:01:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 54 [15:01:40] [DEBUG] controller.EssController - ----------------------------------------------- [15:01:40] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:01:40] [DEBUG] controller.EssController - ----------------------------------------------- [15:01:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.plantStatus = ? order by p.seq desc [15:01:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [15:01:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:01:50] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 47 [15:01:50] [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 [15:01:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:01:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:02:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.name like concat('%', ?, '%') order by p.seq desc [15:02:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 평창(String) [15:02:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [15:02:01] [DEBUG] controller.PlantController - /json/plant/search.co : datastring [15:02:01] [DEBUG] controller.PlantController - [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtjunc ( plantSeq, url1, url2, port, ivtStatus, ivtMaker, ivtQuantity, link, key1, key2, ivtType, syncType, updateId, updateDatetime, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now(), now() ) [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), (String), (String), 0(Integer), 01(String), 13(String), 1(Integer), (String), (String), (String), 03(String), 02(String), user09(String) [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_plant set plantType = ?, updateId = ?, updateDatetime = now() where seq = ? [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 03(String), user09(String), 92(Integer) [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.plantStatus = ? order by p.seq desc [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [15:02:19] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 47 [15:02:19] [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 [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:02:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:02:30] [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 [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-06(String), 15(String), 02(String), 480.8(Float), 4202.3(Float), 4.6(Float), 1216595.0(Float), 01(String) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:02:30] [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() ) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 1(Integer), 28823.0(Double), 0.0(Double), 28.8(Double), 0.0(Double), 35.5(Double), 607.3(Double), 21560.3(Double), 34.8(Double), 0.0(Double), 267500.0(Double), 65052.0(Double), 01(String) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:30] [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() ) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 2(Integer), 30194.0(Double), 0.0(Double), 30.2(Double), 0.0(Double), 37.5(Double), 608.6(Double), 22823.8(Double), 36.2(Double), 0.0(Double), 268000.0(Double), 78185.0(Double), 01(String) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:30] [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() ) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 3(Integer), 28531.0(Double), 0.0(Double), 28.5(Double), 0.0(Double), 35.2(Double), 608.8(Double), 21429.8(Double), 35.4(Double), 0.0(Double), 268000.0(Double), 66759.0(Double), 01(String) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:30] [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() ) [15:02:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 4(Integer), 27090.0(Double), 0.0(Double), 27.1(Double), 0.0(Double), 33.1(Double), 605.6(Double), 20044.3(Double), 35.7(Double), 0.0(Double), 269500.0(Double), 70165.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 5(Integer), 29649.0(Double), 0.0(Double), 29.6(Double), 0.0(Double), 37.1(Double), 606.6(Double), 22503.6(Double), 37.0(Double), 0.0(Double), 270900.0(Double), 79957.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 6(Integer), 29462.0(Double), 0.0(Double), 29.5(Double), 0.0(Double), 36.4(Double), 607.7(Double), 22121.5(Double), 34.9(Double), 0.0(Double), 273500.0(Double), 79767.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 7(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 8(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 9(Integer), 30082.0(Double), 0.0(Double), 30.1(Double), 0.0(Double), 37.3(Double), 609.1(Double), 22720.7(Double), 37.4(Double), 0.0(Double), 206500.0(Double), 64352.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 10(Integer), 29956.0(Double), 0.0(Double), 30.0(Double), 0.0(Double), 37.3(Double), 606.3(Double), 22613.7(Double), 36.9(Double), 0.0(Double), 250700.0(Double), 76562.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 11(Integer), 29768.0(Double), 0.0(Double), 29.8(Double), 0.0(Double), 37.2(Double), 606.3(Double), 22553.1(Double), 35.8(Double), 0.0(Double), 252100.0(Double), 76785.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 12(Integer), 29522.0(Double), 0.0(Double), 29.5(Double), 0.0(Double), 36.7(Double), 606.9(Double), 22272.0(Double), 36.0(Double), 0.0(Double), 256000.0(Double), 78166.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 13(Integer), 30029.0(Double), 0.0(Double), 30.0(Double), 0.0(Double), 37.1(Double), 609.3(Double), 22605.0(Double), 35.4(Double), 0.0(Double), 253900.0(Double), 77303.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 14(Integer), 30614.0(Double), 0.0(Double), 30.6(Double), 0.0(Double), 38.0(Double), 608.5(Double), 23124.3(Double), 35.9(Double), 0.0(Double), 250500.0(Double), 76206.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 15(Integer), 26659.0(Double), 0.0(Double), 26.7(Double), 0.0(Double), 31.2(Double), 613.0(Double), 19124.6(Double), 34.8(Double), 0.0(Double), 232400.0(Double), 69588.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 16(Integer), 26536.0(Double), 0.0(Double), 26.5(Double), 0.0(Double), 31.4(Double), 610.0(Double), 19155.0(Double), 35.9(Double), 0.0(Double), 220500.0(Double), 66413.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 17(Integer), 26132.0(Double), 0.0(Double), 26.1(Double), 0.0(Double), 30.8(Double), 614.1(Double), 18913.3(Double), 34.2(Double), 0.0(Double), 236500.0(Double), 70451.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 18(Integer), 18438.0(Double), 0.0(Double), 18.4(Double), 0.0(Double), 30.1(Double), 613.0(Double), 18450.3(Double), 32.5(Double), 0.0(Double), 156900.0(Double), 47760.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:31] [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() ) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17391(Integer), 92(Integer), 19(Integer), 29362.0(Double), 0.0(Double), 29.4(Double), 0.0(Double), 36.1(Double), 614.2(Double), 22172.6(Double), 35.6(Double), 0.0(Double), 268900.0(Double), 73124.0(Double), 01(String) [15:02:31] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:02:43] [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.plantStatus = ? order by p.seq desc [15:02:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [15:02:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [15:02:43] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 47 [15:02:43] [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 [15:02:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:02:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.name like concat('%', ?, '%') order by p.seq desc [15:02:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 평창(String) [15:02:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [15:02:48] [DEBUG] controller.PlantController - /json/plant/search.co : datastring [15:02:48] [DEBUG] controller.PlantController - [15:03:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.name like concat('%', ?, '%') order by p.seq desc [15:03:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 평창 지율에스피(String) [15:03:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:03:29] [DEBUG] controller.PlantController - /json/plant/search.co : datastring [15:03:29] [DEBUG] controller.PlantController - [15:03:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtjunc ( plantSeq, url1, url2, port, ivtStatus, ivtMaker, ivtQuantity, link, key1, key2, ivtType, syncType, updateId, updateDatetime, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now(), now() ) [15:03:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), (String), (String), 0(Integer), 00(String), 52(String), 1(Integer), (String), (String), (String), 03(String), 02(String), user09(String) [15:03:37] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:03:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_plant set plantType = ?, updateId = ?, updateDatetime = now() where seq = ? [15:03:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 03(String), user09(String), 93(Integer) [15:03:37] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:03:37] [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.plantStatus = ? order by p.seq desc [15:03:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [15:03:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [15:03:38] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 47 [15:03:38] [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 [15:03:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:03:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:03:43] [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 [15:03:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:03:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:03:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [15:03:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:03:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:03: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 [15:03:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-06(String), 2022-04-06(String) [15:03:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_ivtjunc set url1 = ?, url2 = ?, port = ?, ivtStatus = ?, ivtMaker = ?, ivtQuantity = ?, link = ?, key1 = ?, key2 = ?, ivtType = ?, syncType = ?, updateId = ?, updateDatetime = now() where plantSeq = ? [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: (String), (String), 0(Integer), 01(String), 52(String), 1(Integer), (String), (String), (String), 03(String), 02(String), user09(String), 92(Integer) [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-06(String), 2022-04-06(String) [15:03:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:03:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.plantStatus = ? order by p.seq desc [15:03:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [15:03:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [15:03:50] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 47 [15:03:50] [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 [15:03:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:03:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:04: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 [15:04:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:04:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [15:04:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:04:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:04:12] [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 [15:04:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 2022-04-06(String) [15:04:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04: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.plantStatus = ? order by p.seq desc [15:04:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [15:04:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [15:04:15] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 47 [15:04:15] [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 [15:04:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:04:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:31] [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 [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 0(Integer), 2022-04-06(String), 2022-04-06(String) [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [15:04:31] [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 [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:04:31] [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 = ? [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 00(String) [15:04:31] [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 = ? [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:31] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [15:04:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [15:04:32] [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 = ? [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 01(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [15:04:32] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 31 [15:04:32] [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 = ? [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-04-06(String), 2022-04-06(String), 01(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 31 [15:04:32] [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 = ? ) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 31 [15:04:32] [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 = ? [15:04:32] [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-06(String), 2022-04-06(String), 01(String) [15:04:32] [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 [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 46 [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 16 [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-05(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 31 [15:04:32] [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 = ? [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-06(String), 2022-04-06(String), 01(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [15:04:32] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 63 [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 47 [15:04: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.procStatus = ? and c.inputDate between ? and ? [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-06(String), 2022-04-06(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:32] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 78 [15:04:32] [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 [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [15:04:34] [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 [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:04:34] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 343 [15:04:34] [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-06 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 [15:04: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 [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:04: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 [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:04:34] [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 [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:34] [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 [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:04:34] [DEBUG] controller.InverterController - ------------------------------------- [15:04:34] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:04:34] [DEBUG] controller.InverterController - ------------------------------------- [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:04:34] [DEBUG] controller.InverterController - ------------------------------------- [15:04:34] [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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:04:34] [DEBUG] controller.InverterController - ------------------------------------- [15:04:34] [DEBUG] controller.EssController - ----------------------------------------------- [15:04:34] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:04:34] [DEBUG] controller.EssController - ----------------------------------------------- [15:04:34] [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 [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:04:34] [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 [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:04:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:04: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 [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [15:04:39] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 46 [15:04:39] [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 [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-06(String), 15(String), 04(String), 400.1(Float), 4060.0(Float), 4.4(Float), 1168849.0(Float), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 1(Integer), 25331.0(Double), 0.0(Double), 25.3(Double), 0.0(Double), 31.4(Double), 603.9(Double), 18963.5(Double), 34.8(Double), 0.0(Double), 268500.0(Double), 65053.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 2(Integer), 26231.0(Double), 0.0(Double), 26.2(Double), 0.0(Double), 32.0(Double), 620.7(Double), 19862.4(Double), 35.9(Double), 0.0(Double), 269000.0(Double), 78186.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 3(Integer), 25003.0(Double), 0.0(Double), 25.0(Double), 0.0(Double), 30.9(Double), 606.8(Double), 18749.1(Double), 35.4(Double), 0.0(Double), 269000.0(Double), 66760.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 4(Integer), 23514.0(Double), 0.0(Double), 23.5(Double), 0.0(Double), 28.6(Double), 607.4(Double), 17371.6(Double), 35.3(Double), 0.0(Double), 270300.0(Double), 70166.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 5(Integer), 25684.0(Double), 0.0(Double), 25.7(Double), 0.0(Double), 31.9(Double), 614.9(Double), 19614.2(Double), 37.0(Double), 0.0(Double), 271800.0(Double), 79958.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 6(Integer), 25428.0(Double), 0.0(Double), 25.4(Double), 0.0(Double), 31.5(Double), 606.6(Double), 19107.9(Double), 34.8(Double), 0.0(Double), 274400.0(Double), 79767.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 7(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 8(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 9(Integer), 25841.0(Double), 0.0(Double), 25.8(Double), 0.0(Double), 32.2(Double), 610.7(Double), 19665.6(Double), 37.4(Double), 0.0(Double), 207400.0(Double), 64353.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 10(Integer), 25871.0(Double), 0.0(Double), 25.9(Double), 0.0(Double), 31.9(Double), 614.2(Double), 19594.0(Double), 36.9(Double), 0.0(Double), 251600.0(Double), 76563.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 11(Integer), 25589.0(Double), 0.0(Double), 25.6(Double), 0.0(Double), 31.4(Double), 617.8(Double), 19398.9(Double), 35.7(Double), 0.0(Double), 253000.0(Double), 76786.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 12(Integer), 25338.0(Double), 0.0(Double), 25.3(Double), 0.0(Double), 30.9(Double), 619.4(Double), 19140.5(Double), 36.0(Double), 0.0(Double), 256900.0(Double), 78167.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 13(Integer), 25985.0(Double), 0.0(Double), 26.0(Double), 0.0(Double), 32.1(Double), 609.7(Double), 19571.4(Double), 35.3(Double), 0.0(Double), 254800.0(Double), 77304.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 14(Integer), 26231.0(Double), 0.0(Double), 26.2(Double), 0.0(Double), 32.2(Double), 615.4(Double), 19817.0(Double), 35.8(Double), 0.0(Double), 251500.0(Double), 76207.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 15(Integer), 23086.0(Double), 0.0(Double), 23.1(Double), 0.0(Double), 27.0(Double), 614.5(Double), 16590.6(Double), 34.6(Double), 0.0(Double), 233200.0(Double), 69589.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 16(Integer), 23129.0(Double), 0.0(Double), 23.1(Double), 0.0(Double), 27.2(Double), 610.5(Double), 16606.5(Double), 35.6(Double), 0.0(Double), 221500.0(Double), 66414.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 17(Integer), 22405.0(Double), 0.0(Double), 22.4(Double), 0.0(Double), 26.3(Double), 615.7(Double), 16192.9(Double), 34.1(Double), 0.0(Double), 237300.0(Double), 70452.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 18(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04:39] [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() ) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17392(Integer), 92(Integer), 19(Integer), 25410.0(Double), 0.0(Double), 25.4(Double), 0.0(Double), 31.5(Double), 609.3(Double), 19191.9(Double), 35.6(Double), 0.0(Double), 269800.0(Double), 73124.0(Double), 01(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:04: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 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 [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [15:04:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [15:04:40] [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 [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:04:40] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 375 [15:04: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-06 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 [15:04: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 [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:04: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 [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04: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 [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04: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 [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:04:40] [DEBUG] controller.InverterController - ------------------------------------- [15:04:40] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:04:40] [DEBUG] controller.InverterController - ------------------------------------- [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:04:40] [DEBUG] controller.InverterController - ------------------------------------- [15:04:40] [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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:04:40] [DEBUG] controller.InverterController - ------------------------------------- [15:04:40] [DEBUG] controller.EssController - ----------------------------------------------- [15:04:40] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:04:40] [DEBUG] controller.EssController - ----------------------------------------------- [15:04: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 [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:04: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 [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:04:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:05:03] [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 [15:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:04] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 359 [15:05:04] [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-06 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 [15:05:04] [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 [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:05:04] [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 [15:05:04] [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 [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:05:04] [DEBUG] controller.InverterController - ------------------------------------- [15:05:04] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:05:04] [DEBUG] controller.InverterController - ------------------------------------- [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:05:04] [DEBUG] controller.InverterController - ------------------------------------- [15:05:04] [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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:05:04] [DEBUG] controller.InverterController - ------------------------------------- [15:05:04] [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 [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:05:04] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:04] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:05:04] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:04] [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 [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:04] [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 [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [15:05:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:05:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 15(String), 05(String), 110.7(Float), 1007.2(Float), 5.0(Float), 22533.0(Float), 01(String) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:05:11] [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() ) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17393(Integer), 99(Integer), 1(Integer), 27500.0(Double), 0.0(Double), 27.6(Double), 2.7(Double), 49.0(Double), 557.7(Double), 27328.9(Double), 51.7(Double), 99.0(Double), 250600.0(Double), 5610.0(Double), 01(String) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:05:11] [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() ) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17393(Integer), 99(Integer), 2(Integer), 27800.0(Double), 0.0(Double), 27.9(Double), 2.6(Double), 49.2(Double), 559.6(Double), 27534.0(Double), 49.4(Double), 99.0(Double), 254700.0(Double), 5693.0(Double), 01(String) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:05:11] [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() ) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17393(Integer), 99(Integer), 3(Integer), 27500.0(Double), 0.0(Double), 27.6(Double), 2.5(Double), 49.5(Double), 555.0(Double), 27474.2(Double), 44.6(Double), 99.0(Double), 248000.0(Double), 5554.0(Double), 01(String) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:05:11] [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() ) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17393(Integer), 99(Integer), 4(Integer), 27700.0(Double), 0.0(Double), 27.8(Double), 2.4(Double), 50.0(Double), 549.9(Double), 27495.0(Double), 39.2(Double), 100.0(Double), 254100.0(Double), 5676.0(Double), 01(String) [15:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:05:12] [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 [15:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:12] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 360 [15:05:12] [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-06 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 [15:05:12] [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 [15:05:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:05:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:05:13] [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 [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:13] [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 [15:05:13] [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 [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:05:13] [DEBUG] controller.InverterController - ------------------------------------- [15:05:13] [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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:05:13] [DEBUG] controller.InverterController - ------------------------------------- [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:05:13] [DEBUG] controller.InverterController - ------------------------------------- [15:05:13] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:05:13] [DEBUG] controller.InverterController - ------------------------------------- [15:05:13] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:13] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:05:13] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:13] [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 [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:13] [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 [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:05: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 [15:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:19] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 375 [15:05: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-06 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 [15:05:19] [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 [15:05:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:05:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:05: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 [15:05: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 [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:05:20] [DEBUG] controller.InverterController - ------------------------------------- [15:05:20] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:05:20] [DEBUG] controller.InverterController - ------------------------------------- [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:05:20] [DEBUG] controller.InverterController - ------------------------------------- [15:05:20] [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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:05:20] [DEBUG] controller.InverterController - ------------------------------------- [15:05: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 [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:05: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 [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05: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 [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:20] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:05:20] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:20] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:05:20] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:35] [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 [15:05:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:36] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 375 [15:05:36] [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-06 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 [15:05:36] [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 [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:05:36] [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 [15:05: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 [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:05:36] [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 [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:05:36] [DEBUG] controller.InverterController - ------------------------------------- [15:05:36] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:05:36] [DEBUG] controller.InverterController - ------------------------------------- [15:05:36] [DEBUG] controller.InverterController - ------------------------------------- [15:05:36] [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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:05:36] [DEBUG] controller.InverterController - ------------------------------------- [15:05:36] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:36] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:05:36] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:36] [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 [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:36] [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 [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:05:38] [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 [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:38] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 344 [15:05:38] [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-06 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 [15:05:38] [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 [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:05:38] [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 [15:05:38] [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 [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:05:38] [DEBUG] controller.InverterController - ------------------------------------- [15:05:38] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:05:38] [DEBUG] controller.InverterController - ------------------------------------- [15:05:38] [DEBUG] controller.InverterController - ------------------------------------- [15:05:38] [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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:05:38] [DEBUG] controller.InverterController - ------------------------------------- [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:05:38] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:38] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:05:38] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:38] [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 [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:38] [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 [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:05:42] [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 [15:05:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:43] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 343 [15:05:43] [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-06 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 [15:05:43] [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 [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:05:43] [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 [15:05:43] [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 [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [15:05:43] [DEBUG] controller.InverterController - ------------------------------------- [15:05:43] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:05:43] [DEBUG] controller.InverterController - ------------------------------------- [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:05:43] [DEBUG] controller.InverterController - ------------------------------------- [15:05:43] [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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:05:43] [DEBUG] controller.InverterController - ------------------------------------- [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:05:43] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:43] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:05:43] [DEBUG] controller.EssController - ----------------------------------------------- [15:05:43] [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 [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:05:43] [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 [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:05:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 15(String), 08(String), 107.6(Float), 1013.8(Float), 5.1(Float), 22539.0(Float), 01(String) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:08:48] [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() ) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17394(Integer), 99(Integer), 1(Integer), 26800.0(Double), 0.0(Double), 26.9(Double), 2.5(Double), 47.3(Double), 561.9(Double), 26577.9(Double), 51.2(Double), 99.0(Double), 252200.0(Double), 5611.0(Double), 01(String) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:08:48] [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() ) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17394(Integer), 99(Integer), 2(Integer), 27100.0(Double), 0.0(Double), 27.2(Double), 2.5(Double), 48.0(Double), 558.9(Double), 26827.2(Double), 49.0(Double), 100.0(Double), 256400.0(Double), 5695.0(Double), 01(String) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:08:48] [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() ) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17394(Integer), 99(Integer), 3(Integer), 26700.0(Double), 0.0(Double), 26.8(Double), 2.5(Double), 47.8(Double), 557.0(Double), 26623.0(Double), 44.1(Double), 99.0(Double), 249600.0(Double), 5555.0(Double), 01(String) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:08:48] [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() ) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17394(Integer), 99(Integer), 4(Integer), 26900.0(Double), 0.0(Double), 27.0(Double), 2.7(Double), 48.2(Double), 555.5(Double), 26773.5(Double), 38.7(Double), 99.0(Double), 255800.0(Double), 5678.0(Double), 01(String) [15:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:22: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.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 [15:22:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [15:22:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [15:22:11] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [15:22:12] [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 [15:22:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [15:22:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [15:22: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 > 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 [15:22:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String) [15:22:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [15:22:31] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [15:22: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 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 [15:22:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-06(String), 2022-04-06(String) [15:22:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [15:24:38] [DEBUG] controller.EssController - ----------------------------------------------- [15:24:38] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [15:24:38] [DEBUG] controller.EssController - ----------------------------------------------- [15:24:38] [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 [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:24:38] [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 [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 15(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58339(Integer) [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:24:38] [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 [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [15:24:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [15:24:39] [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 [15:24:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [15:24:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [15:26:48] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [15:26:48] [DEBUG] controller.TestIndexController - called /test/index.co ... [15:26:48] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [15:26:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.plantStatus = ? order by p.seq desc [15:26:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [15:26:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [15:26:53] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 47 [15:26:53] [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 [15:26:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:26:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:26:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [15:26:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:26:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:26:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [15:26:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:26:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:26:56] [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 [15:26:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-06(String), 2022-04-06(String) [15:26:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_ivtjunc set url1 = ?, url2 = ?, port = ?, ivtStatus = ?, ivtMaker = ?, ivtQuantity = ?, link = ?, key1 = ?, key2 = ?, ivtType = ?, syncType = ?, updateId = ?, updateDatetime = now() where plantSeq = ? [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: (String), (String), 0(Integer), 01(String), 52(String), 19(Integer), (String), (String), (String), 03(String), 02(String), user09(String), 92(Integer) [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_ivtinfo where plantSeq = ? [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:27:01] [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 [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-06(String), 2022-04-06(String) [15:27:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:27:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.plantStatus = ? order by p.seq desc [15:27:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [15:27:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [15:27:04] [DEBUG] controller.InverterController - selectListInverterPlant : 쿼리조회시간 : 46 [15:27:04] [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 [15:27:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:27:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:27:07] [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 [15:27:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:27:08] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 359 [15:27:08] [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-06 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 [15:27:08] [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 [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:27:08] [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 [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:27:08] [DEBUG] controller.InverterController - ------------------------------------- [15:27:08] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:27:08] [DEBUG] controller.InverterController - ------------------------------------- [15:27:08] [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 [15:27:08] [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 [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:27:08] [DEBUG] controller.InverterController - ------------------------------------- [15:27:08] [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":"00"},{"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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:27:08] [DEBUG] controller.InverterController - ------------------------------------- [15:27:08] [DEBUG] controller.EssController - ----------------------------------------------- [15:27:08] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:27:08] [DEBUG] controller.EssController - ----------------------------------------------- [15:27:08] [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 [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:27:08] [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 [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:27:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:27:09] [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 [15:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:27:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:27:09] [DEBUG] controller.MonitoringController - solar_list.selectListAdmin : 쿼리조회시간 : 375 [15:27:09] [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-06 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 [15:27:09] [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 [15:27:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(String) [15:27:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 22 [15:27:10] [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 [15:27:10] [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 [15:27:10] [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 [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String) [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:27:10] [DEBUG] controller.InverterController - ------------------------------------- [15:27:10] [DEBUG] controller.InverterController - ------------------------------------- [15:27:10] [DEBUG] controller.InverterController - { "data" : [{"name":"ivt_96_1","status":"01"},{"name":"ivt_98_1","status":"01"},{"name":"end"}]} [15:27:10] [DEBUG] controller.InverterController - ------------------------------------- [15:27:10] [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":"00"},{"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":"00"},{"name":"ivt_92_8","status":"00"},{"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"}]} [15:27:10] [DEBUG] controller.InverterController - ------------------------------------- [15:27:10] [DEBUG] controller.EssController - ----------------------------------------------- [15:27:10] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:27:10] [DEBUG] controller.EssController - ----------------------------------------------- [15:27:10] [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 [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [15:27:10] [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 [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:27:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 63 [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-06(String), 15(String), 35(String), 400.8(Float), 4655.1(Float), 5.1(Float), 1287263.0(Float), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 1(Integer), 21960.0(Double), 0.0(Double), 22.0(Double), 0.0(Double), 26.8(Double), 600.2(Double), 16085.4(Double), 33.6(Double), 0.0(Double), 280200.0(Double), 65064.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 2(Integer), 24621.0(Double), 0.0(Double), 24.6(Double), 0.0(Double), 31.0(Double), 603.2(Double), 18700.2(Double), 35.0(Double), 0.0(Double), 281400.0(Double), 78198.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 3(Integer), 19541.0(Double), 0.0(Double), 19.5(Double), 0.0(Double), 22.3(Double), 608.5(Double), 13568.8(Double), 33.9(Double), 0.0(Double), 280000.0(Double), 66771.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 4(Integer), 17465.0(Double), 0.0(Double), 17.5(Double), 0.0(Double), 18.6(Double), 630.7(Double), 11730.4(Double), 33.2(Double), 0.0(Double), 280200.0(Double), 70176.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 5(Integer), 24255.0(Double), 0.0(Double), 24.3(Double), 0.0(Double), 30.4(Double), 608.0(Double), 18483.2(Double), 35.7(Double), 0.0(Double), 284100.0(Double), 79970.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 6(Integer), 24024.0(Double), 0.0(Double), 24.0(Double), 0.0(Double), 29.4(Double), 615.6(Double), 18098.6(Double), 33.7(Double), 0.0(Double), 286600.0(Double), 79780.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 7(Integer), 21505.0(Double), 0.0(Double), 21.5(Double), 0.0(Double), 25.5(Double), 607.6(Double), 15493.8(Double), 33.8(Double), 0.0(Double), 242400.0(Double), 70457.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 8(Integer), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 0.0(Double), 00(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 9(Integer), 24069.0(Double), 0.0(Double), 24.1(Double), 0.0(Double), 30.1(Double), 608.1(Double), 18302.8(Double), 36.0(Double), 0.0(Double), 219800.0(Double), 64365.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 10(Integer), 24155.0(Double), 0.0(Double), 24.2(Double), 0.0(Double), 30.2(Double), 606.1(Double), 18305.2(Double), 35.3(Double), 0.0(Double), 263900.0(Double), 76576.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 11(Integer), 23823.0(Double), 0.0(Double), 23.8(Double), 0.0(Double), 29.8(Double), 607.2(Double), 18095.6(Double), 34.2(Double), 0.0(Double), 265200.0(Double), 76798.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 12(Integer), 23617.0(Double), 0.0(Double), 23.6(Double), 0.0(Double), 29.5(Double), 607.3(Double), 17916.3(Double), 34.5(Double), 0.0(Double), 268900.0(Double), 78179.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 13(Integer), 24120.0(Double), 0.0(Double), 24.1(Double), 0.0(Double), 30.0(Double), 607.7(Double), 18231.0(Double), 33.6(Double), 0.0(Double), 267100.0(Double), 77316.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 14(Integer), 24623.0(Double), 0.0(Double), 24.6(Double), 0.0(Double), 30.8(Double), 604.9(Double), 18631.9(Double), 34.2(Double), 0.0(Double), 263900.0(Double), 76219.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 15(Integer), 21318.0(Double), 0.0(Double), 21.3(Double), 0.0(Double), 25.3(Double), 608.5(Double), 15395.0(Double), 33.7(Double), 0.0(Double), 244100.0(Double), 69600.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 16(Integer), 21330.0(Double), 0.0(Double), 21.3(Double), 0.0(Double), 25.2(Double), 608.5(Double), 15334.2(Double), 34.6(Double), 0.0(Double), 232300.0(Double), 66425.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 17(Integer), 21159.0(Double), 0.0(Double), 21.2(Double), 0.0(Double), 25.2(Double), 606.5(Double), 15283.0(Double), 33.2(Double), 0.0(Double), 248000.0(Double), 70463.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 18(Integer), 15010.0(Double), 0.0(Double), 15.0(Double), 0.0(Double), 24.8(Double), 604.5(Double), 14990.8(Double), 31.7(Double), 0.0(Double), 165000.0(Double), 47769.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:01] [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() ) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17405(Integer), 92(Integer), 19(Integer), 24168.0(Double), 0.0(Double), 24.2(Double), 0.0(Double), 29.9(Double), 607.1(Double), 18151.3(Double), 34.1(Double), 0.0(Double), 282000.0(Double), 73137.0(Double), 01(String) [15:35:01] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:33] [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 [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-06(String), 15(String), 35(String), 90.9(Float), 1057.6(Float), 5.3(Float), 22583.0(Float), 01(String) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:35:33] [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() ) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17406(Integer), 99(Integer), 1(Integer), 22600.0(Double), 0.0(Double), 22.7(Double), 2.4(Double), 39.3(Double), 570.7(Double), 22427.2(Double), 49.0(Double), 99.0(Double), 263100.0(Double), 5622.0(Double), 01(String) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:33] [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() ) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17406(Integer), 99(Integer), 2(Integer), 22900.0(Double), 0.0(Double), 23.0(Double), 2.2(Double), 39.8(Double), 565.2(Double), 22493.6(Double), 46.6(Double), 99.0(Double), 267300.0(Double), 5706.0(Double), 01(String) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:33] [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() ) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17406(Integer), 99(Integer), 3(Integer), 22600.0(Double), 0.0(Double), 22.6(Double), 2.0(Double), 40.1(Double), 564.2(Double), 22623.1(Double), 41.7(Double), 99.0(Double), 260500.0(Double), 5566.0(Double), 01(String) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:35:33] [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() ) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 17406(Integer), 99(Integer), 4(Integer), 22800.0(Double), 0.0(Double), 22.8(Double), 2.1(Double), 40.2(Double), 561.7(Double), 22580.3(Double), 36.6(Double), 99.0(Double), 266700.0(Double), 5689.0(Double), 01(String) [15:35:33] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [15:46:08] [DEBUG] controller.EssController - ----------------------------------------------- [15:46:08] [DEBUG] controller.EssController - error : code : 404, req : http://emsa.eltenergy.com/error.co, param : code=404 [15:46:08] [DEBUG] controller.EssController - ----------------------------------------------- [15:46:09] [DEBUG] controller.EssController - ----------------------------------------------- [15:46:09] [DEBUG] controller.EssController - /index.co called [15:46:09] [DEBUG] controller.EssController - ----------------------------------------------- [15:46:09] [DEBUG] controller.EssController - ----------------------------------------------- [15:46:09] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [15:46:09] [DEBUG] controller.EssController - ----------------------------------------------- [15:46:09] [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 [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String), 2022-04-06(String) [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:46:09] [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 [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), null, 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58341(Integer) [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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 [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 85(Integer), 2022-04-06(String), 85(Integer) [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:46:09] [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 ?, ? [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-03-30(String), 2022-04-06(String), 0(Integer), 5(Integer) [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 30(String) [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.* from t_message a where a.groupCode = ? order by a.fault asc, a.idx asc [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 12(String) [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 64 [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:46:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:46:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [15:46:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [15:46:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:46:10] [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 [15:46:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-06(String), 2022-04-06(String) [15:46:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [15:46:10] [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 [15:46:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 15(String) [15:46:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:46:10] [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 [15:46:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String) [15:46:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 15 [15:46:11] [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 [15:46:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [15:46:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [15:46: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 asc, d.pcsIdx asc [15:46:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-06(String), 85(Integer), 1(Integer), 2022-04-06(String) [15:46:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 15 [15:46:18] [DEBUG] controller.EssController - ----------------------------------------------- [15:46:18] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [15:46:18] [DEBUG] controller.EssController - ----------------------------------------------- [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-06(String), 2022-04-06(String) [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:46: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 [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 2022-04-06(String), 85(Integer), 0(Integer), 15(String), 85(Integer), 0(Integer), 2022-04-05(String), 85(Integer), 0(Integer), 2022-04-04(String), 85(Integer), 0(Integer), 2022-04-06(String), 58341(Integer) [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String) [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [15:46: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 >= ? [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-03-23(String) [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [15:46:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [15:46:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [15:46:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-06(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-03-28(String), 2022-04-06(String) [15:46:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9