[05:30:43] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:30:49] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:30:49] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :nul[06:10:51] [DEBUG] controller.EssController - ----------------------------------------------- [06:10:51] [DEBUG] controller.EssController - error : http://49.50.166.247/emsa/error.co, param : code=404 [06:10:51] [DEBUG] controller.EssController - ----------------------------------------------- [06:51:29] [DEBUG] controller.EssController - ----------------------------------------------- [06:51:29] [DEBUG] controller.EssController - error : http://49.50.166.247/emsa/error.co, param : code=404 [06:51:29] [DEBUG] controller.EssController - ----------------------------------------------- NGsolar, login_channel : null [05:30:50] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:30:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:30:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [05:30:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:30:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [05:30:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:30:50] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![error : ] [05:30:50] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![userId : null] [05:52:47] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [05:52:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:52:53] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [05:52:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:52:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:52:53] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [05:52:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [05:52:53] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [05:52:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:52:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [05:52:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [05:52:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [05:52:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [05:52: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=? [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [05:52:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:52:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [05:52:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [05:52:53] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 8D7D64242FF833A4DFBFC07CC29A1BD2(String), PHONE(String) [05:52:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [05:52:53] [DEBUG] controller.EssController - ----------------------------------------------- [05:52:53] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [05:52:53] [DEBUG] controller.EssController - ----------------------------------------------- [06:26: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 = ? [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 40(Integer) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:26:16] [DEBUG] controller.RestAPIController - callPmsFault :: [40] [112.160.187.52] 고성성광 is Fault PUSH [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:26: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() ) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 40(Integer), 1(Integer), 59203(Integer), 2022-04-15(String), 06(String), 26(String), 3410184(Long), 3226141(Long), 732(Long), 0(Integer), 49(Integer), 14877(Integer), 52(Integer), 2312(Integer), 0(Integer), 0(Integer), 0(Integer), 132(Integer), 0(Integer), 732(Integer), 3851(Integer), 0(Integer), 0(Integer), 20(Integer), 930(Integer), 0(Integer), 6770(Integer), 0(Integer), 253(Integer), 232(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 0(Integer), 788(Integer), 1(Integer), 0(Integer), 9(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) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:26: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 = ? [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 40(Integer) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:26: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() ) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 40(Integer), 1(Integer), 59203(Integer), 2022-04-15(String), 06:26:01(String), 20(String), 10(String), 10(String), PMS FAULT PUSH(String), 1,0,0,0(String), 1,0,0,0(String), PUSH(String), PUSH(String) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:26: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() ) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 40(Integer), 0(Integer), 59203(Integer), 2022-04-15(String), 06(String), 26(String), 3410184(Long), 3226141(Long), 732(Long), 0(Integer), 49(Integer), 14877(Integer), 52(Integer), 2312(Integer), 0(Integer), 0(Integer), 0(Integer), 132(Integer), 0(Integer), 732(Integer), 3851(Integer), 0(Integer), 0(Integer), 20(Integer), 930(Integer), 0(Integer), 6770(Integer), 0(Integer), 253(Integer), 232(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 0(Integer), 788(Integer), 1(Integer), 0(Integer), 9(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) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:26: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() ) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 40(Integer), 2(Integer), 59203(Integer), 2022-04-15(String), 06(String), 26(String), 3392971(Long), 3210922(Long), 732(Long), 0(Integer), 48(Integer), 65194(Integer), 51(Integer), 50635(Integer), 0(Integer), 0(Integer), 0(Integer), 132(Integer), 0(Integer), 732(Integer), 3848(Integer), 0(Integer), 0(Integer), 20(Integer), 928(Integer), 0(Integer), 6768(Integer), 0(Integer), 248(Integer), 231(Integer), 34(Integer), 34(Integer), 3(Integer), 0(Integer), 0(Integer), 780(Integer), 32784(Integer), 0(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) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:26: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 = ? [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 20(String), 40(Integer) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:26:16] [DEBUG] service.CsService - [40:2] CS가 이미 접수되었습니다. pcs: 32784,0,0,0, bms : 0,0,0,0 [06:26: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() ) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 40(Integer), 3(Integer), 59203(Integer), 2022-04-15(String), 06(String), 26(String), 3394667(Long), 3211686(Long), 732(Long), 0(Integer), 49(Integer), 422(Integer), 51(Integer), 52331(Integer), 0(Integer), 0(Integer), 0(Integer), 132(Integer), 0(Integer), 732(Integer), 3861(Integer), 0(Integer), 0(Integer), 20(Integer), 923(Integer), 0(Integer), 6770(Integer), 0(Integer), 259(Integer), 230(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 0(Integer), 788(Integer), 1(Integer), 0(Integer), 9(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) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:26: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 = ? [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 40(Integer) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:26:16] [DEBUG] service.CsService - [40:3] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [06:26: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() ) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 40(Integer), 4(Integer), 59203(Integer), 2022-04-15(String), 06(String), 26(String), 3400163(Long), 3217044(Long), 732(Long), 0(Integer), 49(Integer), 5780(Integer), 51(Integer), 57827(Integer), 0(Integer), 0(Integer), 0(Integer), 132(Integer), 0(Integer), 732(Integer), 3852(Integer), 0(Integer), 0(Integer), 20(Integer), 924(Integer), 0(Integer), 6771(Integer), 0(Integer), 261(Integer), 232(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 0(Integer), 788(Integer), 1(Integer), 0(Integer), 9(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) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [06:26: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 = ? [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 40(Integer) [06:26:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:26:16] [DEBUG] service.CsService - [40:4] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [06:26:16] [DEBUG] controller.RestAPIController - [40] smsMessage : 고성성광 Fault 발생 http://emsa.eltenergy.com/df.co, smsReceiver : null, smsResult:: 12117 [06:30:45] [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 = ? [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String) [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:30:45] [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 = ? [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String) [06:30: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.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 20(Integer) [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 19 [06:30:45] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 31 [06:30: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.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 20(Integer) [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [06:30:45] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 46 [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 19 [06:30:45] [DEBUG] controller.MonitoringController - ---------------selectListFault : 쿼리조회시간 : 46 [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [06:30:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [06:30:45] [DEBUG] controller.MonitoringController - plantList : 쿼리조회시간 : 78 [07:42:49] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:42:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:42:53] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [07:42:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:42:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:42:53] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [07:42:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:42:53] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [07:42:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:42:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [07:42:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [07:42:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [07:42:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:42: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=? [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:42:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:42:53] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [07:42:53] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:42:53] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 509607C9D5029CEE27F10A9754B49C85(String), PHONE(String) [07:42:53] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [07:42:53] [DEBUG] controller.EssController - ----------------------------------------------- [07:42:53] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:42:53] [DEBUG] controller.EssController - ----------------------------------------------- [07:42:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:42:55] [DEBUG] controller.EssController - /index.co called [07:42:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:42:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:42:55] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [07:42:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:42: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 [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:42:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:42:55] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:42:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:42: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 >= ? [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:42: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 [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [07:42:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:42:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [07:42:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [07:42:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:42:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:42:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:42:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:42:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [07:42:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [07:42:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:43:01] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:01] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [07:43:01] [DEBUG] controller.EssController - ----------------------------------------------- [07:43: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 [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:43: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 >= ? [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [07:43:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43: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 [07:43:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:43:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:43: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 [07:43:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:43:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:43:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:28] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [07:43:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:28] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [07:43:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:43:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:28] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:43:28] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:43: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 [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [07:43:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:43:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:43:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:43:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:43: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 [07:43:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [07:43:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:43:32] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:32] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 85 [07:43:32] [DEBUG] controller.EssController - ----------------------------------------------- [07:43: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 [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:32] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:32] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [07:43:32] [DEBUG] controller.EssController - ----------------------------------------------- [07:43: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 [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43: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 [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43: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 ?, ? [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:43:32] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:32] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:43:32] [DEBUG] controller.EssController - ----------------------------------------------- [07:43: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 >= ? [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [07:43:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:43: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 [07:43:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:43:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:43: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 [07:43:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [07:43:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:43:35] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:35] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [07:43:35] [DEBUG] controller.EssController - ----------------------------------------------- [07:43: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 [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:43: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 >= ? [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [07:43:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:43:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:43:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:43:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:43:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:43:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:43:41] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:41] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [07:43:41] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:41] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:41] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [07:43:41] [DEBUG] controller.EssController - ----------------------------------------------- [07:43: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 [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43: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 [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43: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 ?, ? [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:43:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:43:42] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:42] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:43:42] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43: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 [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:43: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 [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:43: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 [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:43: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 [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [07:43:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:43:45] [DEBUG] controller.EssController - ----------------------------------------------- [07:43:45] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [07:43:45] [DEBUG] controller.EssController - ----------------------------------------------- [07:43: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 [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [07:43:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:43:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:43:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:43:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:43:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:43:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:43:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:44:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:44:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [07:44:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [07:44:26] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [07:44:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:44:27] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [07:44:27] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [07:44:51] [DEBUG] controller.EssController - ----------------------------------------------- [07:44:51] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:44:51] [DEBUG] controller.EssController - ----------------------------------------------- [07:44:54] [DEBUG] controller.EssController - ----------------------------------------------- [07:44:54] [DEBUG] controller.EssController - /index.co called [07:44:54] [DEBUG] controller.EssController - ----------------------------------------------- [07:44:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:44:55] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 0 [07:44:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:44: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 [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:44:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:44:55] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:44:55] [DEBUG] controller.EssController - ----------------------------------------------- [07:44: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 >= ? [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:44: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 [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:44: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 [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:44: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 [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:44:55] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:44:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [07:44:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [07:44:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:45:16] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:16] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [07:45:16] [DEBUG] controller.EssController - ----------------------------------------------- [07:45: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 [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:45: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 >= ? [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45: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 [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:45:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:45: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 [07:45:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:45:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:45:40] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:40] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 85 [07:45:40] [DEBUG] controller.EssController - ----------------------------------------------- [07:45: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 [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:40] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:40] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [07:45:40] [DEBUG] controller.EssController - ----------------------------------------------- [07:45: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 [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45: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 [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45: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 ?, ? [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:45:40] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:40] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:45:40] [DEBUG] controller.EssController - ----------------------------------------------- [07:45: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 >= ? [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45: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 [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:45: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 [07:45:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:45:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:45: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 [07:45:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [07:45:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:45:48] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:48] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [07:45:48] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:48] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:48] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [07:45:48] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:45:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:45:49] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:49] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:45:49] [DEBUG] controller.EssController - ----------------------------------------------- [07:45: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 >= ? [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:45: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 [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:45: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 [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:45: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 [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [07:45:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:45:59] [DEBUG] controller.EssController - ----------------------------------------------- [07:45:59] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [07:45:59] [DEBUG] controller.EssController - ----------------------------------------------- [07:45: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.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:45:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:46:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:46:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:46:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:46:28] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [07:46:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:46:33] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [07:46:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:46:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:46:33] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [07:46:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [07:46:33] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [07:46:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:46:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [07:46:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [07:46:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [07:46:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:46:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:46:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [07:46:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [07:46:33] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 9C34EA44965492BAC8114A471CAFF83A(String), PHONE(String) [07:46:33] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [07:46:33] [DEBUG] controller.EssController - ----------------------------------------------- [07:46:33] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:46:33] [DEBUG] controller.EssController - ----------------------------------------------- [07:46:36] [DEBUG] controller.EssController - ----------------------------------------------- [07:46:36] [DEBUG] controller.EssController - /index.co called [07:46:36] [DEBUG] controller.EssController - ----------------------------------------------- [07:46:36] [DEBUG] controller.EssController - ----------------------------------------------- [07:46:36] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [07:46:36] [DEBUG] controller.EssController - ----------------------------------------------- [07:46:36] [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 [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:46: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:46:36] [DEBUG] controller.EssController - ----------------------------------------------- [07:46:36] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:46:36] [DEBUG] controller.EssController - ----------------------------------------------- [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:46: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 desc, d.pcsIdx asc [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:46:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:46:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [07:46:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [07:46:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:47:16] [DEBUG] controller.EssController - ----------------------------------------------- [07:47:16] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [07:47:16] [DEBUG] controller.EssController - ----------------------------------------------- [07:47: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 [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:47:16] [DEBUG] controller.EssController - ----------------------------------------------- [07:47:16] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [07:47:16] [DEBUG] controller.EssController - ----------------------------------------------- [07:47: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 [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:47: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 [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07: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.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:47:16] [DEBUG] controller.EssController - ----------------------------------------------- [07:47:16] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [07:47:16] [DEBUG] controller.EssController - ----------------------------------------------- [07:47: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 >= ? [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:47: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 [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [07:47: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 desc, d.pcsIdx asc [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [07:47:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:47: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 [07:47:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:47:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:47: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 [07:47:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [07:47:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 7 [07:47:25] [DEBUG] controller.EssController - ----------------------------------------------- [07:47:25] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [07:47:25] [DEBUG] controller.EssController - ----------------------------------------------- [07:47: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 [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59211(Integer) [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [07:47: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 >= ? [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [07:47: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 [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [07:47: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 [07:47:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [07:47:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:04:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:06] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 85 [08:04:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:06] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [08:04:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:04: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 [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04: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 [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04: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 ?, ? [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:04:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:04:07] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:07] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:04:07] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:04: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 [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:04: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 [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:04:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:04:14] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:14] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [08:04:14] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:14] [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:04:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:04:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:04:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:04:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:04:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:04:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:04:15] [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:04:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:04:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04: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 [08:04:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:04:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:04: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 [08:04:15] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:04:15] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:04:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:22] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [08:04:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:22] [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:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:22] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [08:04:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:04:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:22] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:04:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:22] [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:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:22] [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:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:04:23] [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:04:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [08:04:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:04: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 [08:04:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:04:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:04:23] [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:04:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [08:04:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:04:32] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:32] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [08:04:32] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [08:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08: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 [08:04:32] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:04:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:04: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 >= ? [08:04:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [08:04:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04: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 [08:04:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:04:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:04: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 [08:04:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:04:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:04:36] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:36] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 85 [08:04:36] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:36] [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:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:36] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:36] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [08:04:36] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:36] [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:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.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:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:04:36] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:36] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:04:36] [DEBUG] controller.EssController - ----------------------------------------------- [08:04:36] [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:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:04:36] [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:04:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:04:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:04:37] [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:04:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:04:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:04:37] [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:04:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:04:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:04:37] [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:04:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:04:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:05:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:05:08] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 85 [08:05:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:05: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 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:05:08] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [08:05:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:05:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:05:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:05:09] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:05:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:05:14] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 16 [08:05: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 pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [08:05:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:05:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:05:16] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [08:05:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:05: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 [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:05:16] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [08:05:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:05: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 [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05: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 [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05: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 ?, ? [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:05:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:05:16] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:05:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:05: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 >= ? [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05: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 [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:05:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:05: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 [08:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [08:05:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:05: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 [08:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:05:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:05: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 [08:05:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [08:05:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:05:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? and p.seq in ( 85, 86 ) ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:05:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 0(Integer) [08:05:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:05: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 [08:05:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [08:05:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:05:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:05:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:05:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:05:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:05:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 17 [08:05:51] [DEBUG] controller.JsonController - ------------------------------------- [08:05:51] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_95_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [08:05:51] [DEBUG] controller.JsonController - ------------------------------------- [08:05:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:05:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:05:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:05:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [08:06:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:06:08] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [08:06:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:06: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 [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:06:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:06:08] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [08:06:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:06:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:06:08] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:06:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:06: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 >= ? [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:06: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 [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:06:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:06:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:06:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [08:06:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:06:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:06:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:06:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:06:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:06:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [08:06:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:07: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 = ? and p.seq in ( 85, 86 ) ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:07:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 0(Integer) [08:07:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:07:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:07:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [08:07:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:07:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:07:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:07:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:07:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:07:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:07:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 17 [08:07:47] [DEBUG] controller.JsonController - ------------------------------------- [08:07:47] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_95_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [08:07:47] [DEBUG] controller.JsonController - ------------------------------------- [08:07:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:07:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:07:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [08:08:41] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:08:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:08:46] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:08:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:08:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:08:46] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:08:46] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:08:46] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [08:08:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:08:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:08:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:08:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:08:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:08: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=? [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:08:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:08:46] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [08:08:46] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:08:46] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), AAC7BFFF805572906827CBC05AE7EAEC(String), PHONE(String) [08:08:46] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:08:46] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:46] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:08:46] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:48] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:48] [DEBUG] controller.EssController - /index.co called [08:08:48] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:48] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:48] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:08:48] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:08:48] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:48] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:08:48] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:08:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:08:49] [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:08:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:08:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:08: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 [08:08:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:08:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:08: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 [08:08:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:08:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:08:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:08:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:08:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:08:57] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:57] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [08:08:57] [DEBUG] controller.EssController - ----------------------------------------------- [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:08: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 [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:08: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 [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:08:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:09:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:09:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [08:09:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:09:41] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 16 [08:09:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:09:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [08:09:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:10:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:10:22] [DEBUG] controller.EssController - /index.co called [08:10:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:10:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:10:22] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:10:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59213(Integer) [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:10:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:10:22] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:10:22] [DEBUG] controller.EssController - ----------------------------------------------- [08:10:22] [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:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:10:22] [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:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:10: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:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:10:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:10: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:10:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:10:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:10:23] [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:10:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:10:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:16:01] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:16:06] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:16:06] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:16:06] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:16:06] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:16:06] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:16:06] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:16:06] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [08:16:06] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:16:06] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:16:06] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:16:06] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:16:06] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:16:06] [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:16:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:16:06] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:16:06] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [08:16:06] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:16:06] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 31C3BD9312D916731B43C5DD1A7EE6E8(String), PHONE(String) [08:16:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:16:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:16:06] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:16:06] [DEBUG] controller.EssController - ----------------------------------------------- [08:16:07] [DEBUG] controller.EssController - ----------------------------------------------- [08:16:07] [DEBUG] controller.EssController - /index.co called [08:16:07] [DEBUG] controller.EssController - ----------------------------------------------- [08:16:07] [DEBUG] controller.EssController - ----------------------------------------------- [08:16:07] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:16:07] [DEBUG] controller.EssController - ----------------------------------------------- [08:16: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 [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59214(Integer) [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08: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 [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08: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 >= ? [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:16:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:16: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 [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:16: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 [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:16:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:16:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:16:16] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [08:16:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:16: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 [08:16:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:16:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:16:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:16:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59214(Integer) [08:16:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:16:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:16:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:16:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:16: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 >= ? [08:16:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:16:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:16: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 [08:16:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:16:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:16: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 [08:16:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:16:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:18:14] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:14] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:15] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:15] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:18:15] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:19:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:19:09] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:19:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:05] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:21:08] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:21:08] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :wando, login_channel : null [08:21:08] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:08] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:21:08] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:21:08] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:21:08] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [08:21:08] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:21:08] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : wando [08:21:08] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:21:08] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:21:08] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [08:21:08] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:21:08] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: wando, mappingList.size : 3 [08:21:08] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:21:08] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[wando] roles roles [0]ROLE_01 [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: wando(String), 01(String), 25A4F8A095364D76F0ABDB5B5DE33FFA(String), PHONE(String) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:21:08] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:08] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 14, param.plantSeq : 0 [08:21:08] [DEBUG] controller.EssController - ----------------------------------------------- [08: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 [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 0(Integer), 2022-04-14(String), 14(Integer), 0(Integer), 2022-04-13(String), 14(Integer), 0(Integer), 2022-04-15(String), 59215(Integer) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-04-15(String), 14(Integer), 2022-04-15(String), 14(Integer) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:21: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 >= ? [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 01(String), 2022-04-01(String) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21: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 [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:21:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 0(Integer), 2022-04-15(String), 14(Integer), 0(Integer), 2022-04-15(String) [08:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 14(Integer), 0(Integer), 14(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:21:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 14(Integer), 1(Integer), 2022-04-15(String), 14(Integer), 1(Integer), 2022-04-15(String) [08:21:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:12] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:12] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 16 [08:21:12] [DEBUG] controller.EssController - ----------------------------------------------- [08:21: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 [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-15(String), 2022-04-15(String) [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:12] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:12] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 16, param.plantSeq : 16 [08:21:12] [DEBUG] controller.EssController - ----------------------------------------------- [08:21: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 [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 0(Integer), 2022-04-14(String), 16(Integer), 0(Integer), 2022-04-13(String), 16(Integer), 0(Integer), 2022-04-15(String), 59215(Integer) [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21: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 [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-15(String), 16(Integer), 2022-04-15(String), 16(Integer) [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21: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 ?, ? [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 01(String), 2022-04-01(String) [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21: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 [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:21:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:21:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:21:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 0(Integer), 2022-04-15(String), 16(Integer), 0(Integer), 2022-04-15(String) [08:21:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21: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 [08:21:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 16(Integer), 0(Integer), 16(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:21:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:21:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:21:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 16(Integer), 1(Integer), 2022-04-15(String), 16(Integer), 1(Integer), 2022-04-15(String) [08:21:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:16] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 15 [08:21:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:21: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 [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-15(String), 2022-04-15(String) [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:21:16] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 15, param.plantSeq : 15 [08:21:16] [DEBUG] controller.EssController - ----------------------------------------------- [08:21: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 [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 0(Integer), 2022-04-14(String), 15(Integer), 0(Integer), 2022-04-13(String), 15(Integer), 0(Integer), 2022-04-15(String), 59215(Integer) [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21: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 [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-15(String), 15(Integer), 2022-04-15(String), 15(Integer) [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21: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 ?, ? [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:21:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:21: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 >= ? [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 01(String), 2022-04-01(String) [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:21: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 [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:21: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 [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 0(Integer), 2022-04-15(String), 15(Integer), 0(Integer), 2022-04-15(String) [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21: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 [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 15(Integer), 0(Integer), 15(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:21: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 [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 15(Integer), 1(Integer), 2022-04-15(String), 15(Integer), 1(Integer), 2022-04-15(String) [08:21:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:21:34] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:21:34] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:25:34] [DEBUG] controller.EssController - ----------------------------------------------- [08:25:34] [DEBUG] controller.EssController - /index.co called [08:25:34] [DEBUG] controller.EssController - ----------------------------------------------- [08:25:34] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:25:44] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:25:44] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :admin01, login_channel : null [08:25:44] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin01(String) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:25:44] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:25:44] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_05 [08:25:44] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:25:44] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co;jsessionid=B88CA5D689E97B900C7F0B4BDF3E0627 [08:25:44] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:25:44] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : admin01 [08:25:44] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:25:44] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [08:25:44] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin01(String) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:25:44] [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 [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [08:25:44] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:25:44] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: admin01, mappingList.size : 79 [08:25:44] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:25:44] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[admin01] roles roles [0]ROLE_05 [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin01(String), 05(String), 397004A9A0052B675EF3424A8815028B(String), WEB(String) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:25:44] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:25:44] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [08:25:44] [DEBUG] controller.SignController - /monitoring/dashboard.co [08:25:44] [DEBUG] controller.SignController - ....................................... [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:25:44] [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 [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 2022-04-15(String) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [08:25:44] [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 [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:25:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:25:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:25:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 0(Integer) [08:25:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [08:25:48] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 17 [08:25:51] [DEBUG] controller.JsonController - ------------------------------------- [08:25:51] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_95_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [08:25:51] [DEBUG] controller.JsonController - ------------------------------------- [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:25:51] [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-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [08:25:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:25:54] [DEBUG] controller.EssController - ----------------------------------------------- [08:25:54] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [08:25:54] [DEBUG] controller.EssController - ----------------------------------------------- [08:25:54] [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:25:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:25:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:25:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:25:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59215(Integer) [08:25:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:25:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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:25:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:25:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:25:54] [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:25:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:25:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:26: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 [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:26: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 [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [08:26: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 [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:26: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 [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:26: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 ?, ? [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 17 [08:26:00] [DEBUG] controller.JsonController - ------------------------------------- [08:26:00] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_95_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [08:26:00] [DEBUG] controller.JsonController - ------------------------------------- [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:26: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 ?, ? [08:26: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-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:26: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 [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [08:26:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:26: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 [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:01] [DEBUG] controller.PlantController - selectPmsPlantBySeq : 쿼리조회시간 : 16 [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.pcsQuantity, m.pcsQuantity * m.pcsVolume as supplyPcsPower, m.batteryMaker, m.batteryQuantity * m.batteryVolume as supplyBatteryPower, p.name as plantName, p.supplyPower, p.weatherCode 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 s2.plantSeq = ? and s1.pcsIdx = ? and s2.pcsIdx = ? and s1.inputDate = ? 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 = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.plantSeq asc, d.pcsIdx asc, d.inputDate asc, d.inputHour asc, d.inputMinute asc [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 85(Integer), 1(Integer), 1(Integer), 2022-04-14(String), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 25 [08:26:01] [DEBUG] controller.PlantController - selectList : 쿼리조회시간 : 47 [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [08:26:01] [DEBUG] controller.PlantController - selectListActive : 쿼리조회시간 : 0 [08:26:01] [DEBUG] controller.PlantController - selectListTimetable : 쿼리조회시간 : 0 [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where k.inputDate = ? order by k.inputDate desc, k.inputHour desc, k.inputMinute desc [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:26:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 25 [08:26:01] [DEBUG] controller.PlantController - code.memory.select : 쿼리조회시간 : 31 [08:26:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, w.* from t_weather_2021 w, t_plant p where w.weatherCode = p.weatherCode and p.plantStatus='01' and inputYmd= ? and p.seq = ? order by w.inputHour desc [08:26:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer) [08:26:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:03] [DEBUG] controller.JsonController - { "data" : [{"plantSeq":"85","hour":"08","temp":"9","cloud":"1","weatherCode":"16150380"},{"plantSeq":"end"}]} [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 17 [08:26:07] [DEBUG] controller.JsonController - ------------------------------------- [08:26:07] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_95_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [08:26:07] [DEBUG] controller.JsonController - ------------------------------------- [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [08:26:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:26:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:26:09] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [08:26:09] [DEBUG] controller.EssController - ----------------------------------------------- [08:26: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 [08:26:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:26:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:26:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59215(Integer) [08:26:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26: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 [08:26:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:26:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26: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 ?, ? [08:26:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:26:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:26:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(u.id) as count from t_user u where 1=1 and u.roleCode = ? and u.statusCode = ? [08:26:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String) [08:26:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select u.*, m.* from ( select u.*, l.loginChannel, l.loginDate, l.loginTime, l.loginCount from t_user u left join ( select l.*, a.loginCount from t_login_2021 l, ( select max(seq) as seq, count(seq) as loginCount from t_login_2021 group by id ) a where l.seq = a.seq ) l on u.id = l.id where 1=1 and u.roleCode = ? and u.statusCode = ? ) u left join ( select m.userId, m.plantSeq , group_concat(m.plantSeq) as plantSeqArray, group_concat(p.name) as plantNameArray from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' group by m.userId ) m on u.id = m.userId order by u.createDatetime desc ) R1 LIMIT ?, ? [08:26:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 0(Integer), 20(Integer) [08:26:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [08:26:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(u.id) as count from t_user u where 1=1 and u.roleCode = ? and u.statusCode = ? [08:26:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String) [08:26:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:26:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select u.*, m.* from ( select u.*, l.loginChannel, l.loginDate, l.loginTime, l.loginCount from t_user u left join ( select l.*, a.loginCount from t_login_2021 l, ( select max(seq) as seq, count(seq) as loginCount from t_login_2021 group by id ) a where l.seq = a.seq ) l on u.id = l.id where 1=1 and u.roleCode = ? and u.statusCode = ? ) u left join ( select m.userId, m.plantSeq , group_concat(m.plantSeq) as plantSeqArray, group_concat(p.name) as plantNameArray from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' group by m.userId ) m on u.id = m.userId order by u.createDatetime desc ) R1 LIMIT ?, ? [08:26:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 20(Integer), 20(Integer) [08:26:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [08:34:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:34:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [08:34:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:34:41] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [08:34:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:34:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [08:34:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-15(String), 08(String), 35(String), 506.2(Float), 367.8(Float), 0.4(Float), 1389833.0(Float), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 1(Integer), 31813.0(Double), 0.0(Double), 31.8(Double), 0.0(Double), 38.5(Double), 617.1(Double), 23759.6(Double), 23.4(Double), 0.0(Double), 26600.0(Double), 66888.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 2(Integer), 31667.0(Double), 0.0(Double), 31.7(Double), 0.0(Double), 38.8(Double), 618.8(Double), 24010.7(Double), 23.6(Double), 0.0(Double), 25500.0(Double), 80089.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 3(Integer), 31679.0(Double), 0.0(Double), 31.7(Double), 0.0(Double), 39.2(Double), 613.9(Double), 24064.9(Double), 23.1(Double), 0.0(Double), 26600.0(Double), 68578.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 4(Integer), 31919.0(Double), 0.0(Double), 31.9(Double), 0.0(Double), 39.1(Double), 616.7(Double), 24114.3(Double), 23.5(Double), 0.0(Double), 26800.0(Double), 71986.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 5(Integer), 32306.0(Double), 0.0(Double), 32.3(Double), 0.0(Double), 39.7(Double), 616.1(Double), 24457.8(Double), 25.0(Double), 0.0(Double), 26300.0(Double), 81876.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 6(Integer), 32634.0(Double), 0.0(Double), 32.6(Double), 0.0(Double), 39.7(Double), 616.1(Double), 24457.8(Double), 23.1(Double), 0.0(Double), 27400.0(Double), 81691.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 7(Integer), 31237.0(Double), 0.0(Double), 31.2(Double), 0.0(Double), 38.1(Double), 618.1(Double), 23550.9(Double), 22.7(Double), 0.0(Double), 25900.0(Double), 66146.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 8(Integer), 15647.0(Double), 0.0(Double), 15.6(Double), 0.0(Double), 13.8(Double), 589.9(Double), 8140.2(Double), 17.1(Double), 0.0(Double), 10000.0(Double), 77303.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 9(Integer), 1909.0(Double), 0.0(Double), 1.9(Double), 0.0(Double), 2.3(Double), 650.5(Double), 1496.2(Double), 17.5(Double), 0.0(Double), 3300.0(Double), 65908.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 10(Integer), 26806.0(Double), 0.0(Double), 26.8(Double), 0.0(Double), 35.6(Double), 529.0(Double), 18833.6(Double), 18.7(Double), 0.0(Double), 13500.0(Double), 78379.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 11(Integer), 22031.0(Double), 0.0(Double), 22.0(Double), 0.0(Double), 33.4(Double), 626.0(Double), 20909.5(Double), 19.6(Double), 0.0(Double), 15100.0(Double), 78599.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 12(Integer), 31163.0(Double), 0.0(Double), 31.2(Double), 0.0(Double), 39.8(Double), 610.8(Double), 24309.8(Double), 20.2(Double), 0.0(Double), 17200.0(Double), 79994.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 13(Integer), 29279.0(Double), 0.0(Double), 29.3(Double), 0.0(Double), 38.5(Double), 611.4(Double), 23538.9(Double), 19.7(Double), 0.0(Double), 16900.0(Double), 79141.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 14(Integer), 25890.0(Double), 0.0(Double), 25.9(Double), 0.0(Double), 34.1(Double), 532.5(Double), 18159.4(Double), 18.7(Double), 0.0(Double), 14000.0(Double), 78019.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 15(Integer), 28175.0(Double), 0.0(Double), 28.2(Double), 0.0(Double), 32.7(Double), 613.8(Double), 20070.2(Double), 21.1(Double), 0.0(Double), 22500.0(Double), 71252.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 16(Integer), 23665.0(Double), 0.0(Double), 23.7(Double), 0.0(Double), 31.2(Double), 526.4(Double), 16424.7(Double), 19.1(Double), 0.0(Double), 11900.0(Double), 67983.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 17(Integer), 28772.0(Double), 0.0(Double), 28.8(Double), 0.0(Double), 33.2(Double), 617.4(Double), 20497.7(Double), 22.5(Double), 0.0(Double), 23400.0(Double), 72114.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 18(Integer), 17630.0(Double), 0.0(Double), 17.6(Double), 0.0(Double), 32.2(Double), 557.6(Double), 17954.7(Double), 18.1(Double), 0.0(Double), 8500.0(Double), 48880.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19357(Integer), 92(Integer), 19(Integer), 31959.0(Double), 0.0(Double), 32.0(Double), 0.0(Double), 38.5(Double), 623.1(Double), 23989.4(Double), 23.5(Double), 0.0(Double), 26400.0(Double), 75007.0(Double), 01(String) [08:35:07] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-15(String), 08(String), 35(String), 27.4(Float), 30.3(Float), 0.2(Float), 29765.0(Float), 01(String) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19358(Integer), 99(Integer), 1(Integer), 6800.0(Double), 0.0(Double), 6.8(Double), 0.3(Double), 11.3(Double), 564.9(Double), 6383.7(Double), 29.4(Double), 98.0(Double), 7500.0(Double), 7410.0(Double), 01(String) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19358(Integer), 99(Integer), 2(Integer), 7000.0(Double), 0.0(Double), 7.0(Double), 0.8(Double), 11.2(Double), 569.1(Double), 6374.3(Double), 46.6(Double), 98.0(Double), 7700.0(Double), 7518.0(Double), 01(String) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19358(Integer), 99(Integer), 3(Integer), 6700.0(Double), 0.0(Double), 6.8(Double), 1.3(Double), 11.1(Double), 580.3(Double), 6441.0(Double), 44.3(Double), 98.0(Double), 7500.0(Double), 7341.0(Double), 01(String) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19358(Integer), 99(Integer), 4(Integer), 6900.0(Double), 0.0(Double), 7.0(Double), 1.2(Double), 10.9(Double), 579.3(Double), 6314.4(Double), 37.3(Double), 98.0(Double), 7600.0(Double), 7496.0(Double), 01(String) [08:35:14] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:37:36] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [08:37:43] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:37:43] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [08:37:43] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:37:43] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:37:43] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [08:37:43] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [08:37:43] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [08:37:43] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:37:43] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [08:37:43] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [08:37:43] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [08:37:43] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:37:43] [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:37:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:37:43] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:37:43] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [08:37:43] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [08:37:43] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 87C42888AC34153B1EE12F58D363688B(String), PHONE(String) [08:37:43] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [08:37:43] [DEBUG] controller.EssController - ----------------------------------------------- [08:37:43] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:37:43] [DEBUG] controller.EssController - ----------------------------------------------- [08:37:44] [DEBUG] controller.EssController - ----------------------------------------------- [08:37:44] [DEBUG] controller.EssController - /index.co called [08:37:44] [DEBUG] controller.EssController - ----------------------------------------------- [08:37:44] [DEBUG] controller.EssController - ----------------------------------------------- [08:37:44] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:37:44] [DEBUG] controller.EssController - ----------------------------------------------- [08:37: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 [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59216(Integer) [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:37: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 [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:37: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 ?, ? [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:37:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:37: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 >= ? [08:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:37:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:37: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 [08:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:37:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:37: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 desc, d.pcsIdx asc [08:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:37:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:37:45] [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:37:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:37:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:37: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:37:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:37:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:37:56] [DEBUG] controller.EssController - ----------------------------------------------- [08:37:56] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [08:37:56] [DEBUG] controller.EssController - ----------------------------------------------- [08:37: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 [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59216(Integer) [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:37: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 >= ? [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:37:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:37: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 [08:37:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:37:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:37: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 [08:37:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:37:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:38:15] [DEBUG] controller.EssController - ----------------------------------------------- [08:38:15] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:38:15] [DEBUG] controller.EssController - ----------------------------------------------- [08:38:17] [DEBUG] controller.EssController - ----------------------------------------------- [08:38:17] [DEBUG] controller.EssController - /index.co called [08:38:17] [DEBUG] controller.EssController - ----------------------------------------------- [08:38:17] [DEBUG] controller.EssController - ----------------------------------------------- [08:38:17] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:38:17] [DEBUG] controller.EssController - ----------------------------------------------- [08: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 [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59216(Integer) [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08: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 [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08: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 ?, ? [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08: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 [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:38: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 >= ? [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:38: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 [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:38: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 [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:38:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:38: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 [08:38:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:38:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:38: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 [08:38:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:38:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:38:45] [DEBUG] controller.EssController - ----------------------------------------------- [08:38:45] [DEBUG] controller.EssController - /index.co called [08:38:45] [DEBUG] controller.EssController - ----------------------------------------------- [08:38:45] [DEBUG] controller.EssController - ----------------------------------------------- [08:38:45] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:38:45] [DEBUG] controller.EssController - ----------------------------------------------- [08:38: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:38:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59216(Integer) [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:38: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:38:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:38: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:38:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:38: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:38:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:38: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 >= ? [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:38: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 [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:38: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 desc, d.pcsIdx asc [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:38:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:38: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:38:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:38:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:38: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:38:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:38:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:39:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [08:39:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:39:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:39:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [08:39:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:39:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:39:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [08:39:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:39:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:39:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [08:39:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:39:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:39:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [08:39:35] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:39:35] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(u.id) as count from t_user u where 1=1 and u.roleCode = ? and u.statusCode = ? [08:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String) [08:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select u.*, m.* from ( select u.*, l.loginChannel, l.loginDate, l.loginTime, l.loginCount from t_user u left join ( select l.*, a.loginCount from t_login_2021 l, ( select max(seq) as seq, count(seq) as loginCount from t_login_2021 group by id ) a where l.seq = a.seq ) l on u.id = l.id where 1=1 and u.roleCode = ? and u.statusCode = ? ) u left join ( select m.userId, m.plantSeq , group_concat(m.plantSeq) as plantSeqArray, group_concat(p.name) as plantNameArray from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' group by m.userId ) m on u.id = m.userId order by u.createDatetime desc ) R1 LIMIT ?, ? [08:39:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 40(Integer), 20(Integer) [08:39:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 6 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(u.id) as count from t_user u where 1=1 and u.roleCode = ? and u.statusCode = ? [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select u.*, m.* from ( select u.*, l.loginChannel, l.loginDate, l.loginTime, l.loginCount from t_user u left join ( select l.*, a.loginCount from t_login_2021 l, ( select max(seq) as seq, count(seq) as loginCount from t_login_2021 group by id ) a where l.seq = a.seq ) l on u.id = l.id where 1=1 and u.roleCode = ? and u.statusCode = ? ) u left join ( select m.userId, m.plantSeq , group_concat(m.plantSeq) as plantSeqArray, group_concat(p.name) as plantNameArray from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' group by m.userId ) m on u.id = m.userId order by u.createDatetime desc ) R1 LIMIT ?, ? [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 0(Integer), 20(Integer) [08:39:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [08:39:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(u.id) as count from t_user u where 1=1 and u.roleCode = ? and u.statusCode = ? [08:39:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String) [08:39:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:39:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select u.*, m.* from ( select u.*, l.loginChannel, l.loginDate, l.loginTime, l.loginCount from t_user u left join ( select l.*, a.loginCount from t_login_2021 l, ( select max(seq) as seq, count(seq) as loginCount from t_login_2021 group by id ) a where l.seq = a.seq ) l on u.id = l.id where 1=1 and u.roleCode = ? and u.statusCode = ? ) u left join ( select m.userId, m.plantSeq , group_concat(m.plantSeq) as plantSeqArray, group_concat(p.name) as plantNameArray from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' group by m.userId ) m on u.id = m.userId order by u.createDatetime desc ) R1 LIMIT ?, ? [08:39:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 20(Integer), 20(Integer) [08:39:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 20 [08:40:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select u.*, m.* from ( select u.*, l.loginChannel, l.loginDate, l.loginTime, l.loginCount from t_user u left join ( select l.*, a.loginCount from t_login_2021 l, ( select max(seq) as seq, count(seq) as loginCount from t_login_2021 group by id ) a where l.seq = a.seq ) l on u.id = l.id where 1=1 and u.id = ? ) u left join ( select m.userId, m.plantSeq , group_concat(m.plantSeq) as plantSeqArray, group_concat(p.name) as plantNameArray from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' group by m.userId ) m on u.id = m.userId order by u.createDatetime desc [08:40:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:40:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:40:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName, p.plantStatus from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and m.userId=? [08:40:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:40:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:40:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_login_2021 where id = ? order by seq desc ) R1 LIMIT 0, 10 [08:40:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [08:40:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:41:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:41:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 0(Integer) [08:41:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [08:41:18] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 17 [08:41:19] [DEBUG] controller.JsonController - ------------------------------------- [08:41:19] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_95_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [08:41:19] [DEBUG] controller.JsonController - ------------------------------------- [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [08:41:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:41: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:41:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:41:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:41:21] [DEBUG] controller.PlantController - selectPmsPlantBySeq : 쿼리조회시간 : 16 [08:41:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.pcsQuantity, m.pcsQuantity * m.pcsVolume as supplyPcsPower, m.batteryMaker, m.batteryQuantity * m.batteryVolume as supplyBatteryPower, p.name as plantName, p.supplyPower, p.weatherCode 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 s2.plantSeq = ? and s1.pcsIdx = ? and s2.pcsIdx = ? and s1.inputDate = ? 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 = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.plantSeq asc, d.pcsIdx asc, d.inputDate asc, d.inputHour asc, d.inputMinute asc [08:41:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 85(Integer), 1(Integer), 1(Integer), 2022-04-14(String), 2022-04-13(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:41:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 27 [08:41:21] [DEBUG] controller.PlantController - selectList : 쿼리조회시간 : 31 [08:41:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [08:41:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [08:41:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [08:41:21] [DEBUG] controller.PlantController - selectListActive : 쿼리조회시간 : 0 [08:41:21] [DEBUG] controller.PlantController - selectListTimetable : 쿼리조회시간 : 0 [08:41:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where k.inputDate = ? order by k.inputDate desc, k.inputHour desc, k.inputMinute desc [08:41:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:41:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 27 [08:41:22] [DEBUG] controller.PlantController - code.memory.select : 쿼리조회시간 : 31 [08:41:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, w.* from t_weather_2021 w, t_plant p where w.weatherCode = p.weatherCode and p.plantStatus='01' and inputYmd= ? and p.seq = ? order by w.inputHour desc [08:41:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer) [08:41:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:41:22] [DEBUG] controller.JsonController - { "data" : [{"plantSeq":"85","hour":"08","temp":"9","cloud":"1","weatherCode":"16150380"},{"plantSeq":"end"}]} [08:41: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 [08:41:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:41:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:41:25] [DEBUG] controller.PlantController - selectPmsPlantBySeq : 쿼리조회시간 : 16 [08:41:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.pcsQuantity, m.pcsQuantity * m.pcsVolume as supplyPcsPower, m.batteryMaker, m.batteryQuantity * m.batteryVolume as supplyBatteryPower, p.name as plantName, p.supplyPower, p.weatherCode 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 s2.plantSeq = ? and s1.pcsIdx = ? and s2.pcsIdx = ? and s1.inputDate = ? 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 = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.plantSeq asc, d.pcsIdx asc, d.inputDate asc, d.inputHour asc, d.inputMinute asc [08:41:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 85(Integer), 1(Integer), 1(Integer), 2022-04-13(String), 2022-04-12(String), 85(Integer), 1(Integer), 2022-04-14(String) [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 102 [08:41:26] [DEBUG] controller.PlantController - selectList : 쿼리조회시간 : 94 [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [08:41:26] [DEBUG] controller.PlantController - selectListActive : 쿼리조회시간 : 15 [08:41:26] [DEBUG] controller.PlantController - selectListTimetable : 쿼리조회시간 : 0 [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where k.inputDate = ? order by k.inputDate desc, k.inputHour desc, k.inputMinute desc [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-14(String) [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 102 [08:41:26] [DEBUG] controller.PlantController - code.memory.select : 쿼리조회시간 : 32 [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, w.* from t_weather_2021 w, t_plant p where w.weatherCode = p.weatherCode and p.plantStatus='01' and inputYmd= ? and p.seq = ? order by w.inputHour desc [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-14(String), 85(Integer) [08:41:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:41:26] [DEBUG] controller.JsonController - { "data" : [{"plantSeq":"85","hour":"15","temp":"9","cloud":"5","weatherCode":"16150380"},{"plantSeq":"85","hour":"14","temp":"8","cloud":"5","weatherCode":"16150380"},{"plantSeq":"85","hour":"13","temp":"8","cloud":"7","weatherCode":"16150380"},{"plantSeq":"85","hour":"12","temp":"8","cloud":"9","weatherCode":"16150380"},{"plantSeq":"85","hour":"11","temp":"7","cloud":"9","weatherCode":"16150380"},{"plantSeq":"85","hour":"10","temp":"7","cloud":"9","weatherCode":"16150380"},{"plantSeq":"85","hour":"09","temp":"7","cloud":"9","weatherCode":"16150380"},{"plantSeq":"85","hour":"08","temp":"6","cloud":"9","weatherCode":"16150380"},{"plantSeq":"end"}]} [08:48: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.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:48:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [08:48:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:48:16] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [08:48: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 pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:48:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [08:48:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:51:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [08:51:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [08:51:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:51:26] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [08:51: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 [08:51:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [08:51:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [08:54:29] [DEBUG] controller.EssController - ----------------------------------------------- [08:54:29] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [08:54:29] [DEBUG] controller.EssController - ----------------------------------------------- [08:54:35] [DEBUG] controller.EssController - ----------------------------------------------- [08:54:35] [DEBUG] controller.EssController - /index.co called [08:54:35] [DEBUG] controller.EssController - ----------------------------------------------- [08:54:35] [DEBUG] controller.EssController - ----------------------------------------------- [08:54:35] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [08:54:35] [DEBUG] controller.EssController - ----------------------------------------------- [08:54: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 [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59218(Integer) [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.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:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:54: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:54:36] [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:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:54:36] [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:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [08:54: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 desc, d.pcsIdx asc [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [08:54:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:54:37] [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:54:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:54:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:54:37] [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:54:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [08:54:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [08:54:43] [DEBUG] controller.EssController - ----------------------------------------------- [08:54:43] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [08:54:43] [DEBUG] controller.EssController - ----------------------------------------------- [08:54: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 [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59218(Integer) [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [08:54:43] [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:54:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [08:54:43] [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:54:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [08:54:43] [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:54:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [08:54:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:01:55] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:01:59] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:01:59] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [09:01:59] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:01:59] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:01:59] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [09:01:59] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:01:59] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [09:01:59] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:01:59] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [09:01:59] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [09:01:59] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [09:01:59] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:01: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=? [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:01:59] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:01:59] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [09:01:59] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:01:59] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), 17B592C1074E436FC5F0B529AE19C3ED(String), PHONE(String) [09:01:59] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:01:59] [DEBUG] controller.EssController - ----------------------------------------------- [09:01:59] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [09:01:59] [DEBUG] controller.EssController - ----------------------------------------------- [09:02:01] [DEBUG] controller.EssController - ----------------------------------------------- [09:02:01] [DEBUG] controller.EssController - /index.co called [09:02:01] [DEBUG] controller.EssController - ----------------------------------------------- [09:02:01] [DEBUG] controller.EssController - ----------------------------------------------- [09:02:01] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [09:02:01] [DEBUG] controller.EssController - ----------------------------------------------- [09:02: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 [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59219(Integer) [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02: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 [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02: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 ?, ? [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:02:01] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:02: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 [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:02: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 [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:02:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:02:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [09:02:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [09:02:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:02:16] [DEBUG] controller.EssController - ----------------------------------------------- [09:02:16] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [09:02:16] [DEBUG] controller.EssController - ----------------------------------------------- [09:02: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 [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02:16] [DEBUG] controller.EssController - ----------------------------------------------- [09:02:16] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [09:02:16] [DEBUG] controller.EssController - ----------------------------------------------- [09: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 [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59219(Integer) [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09: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 [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09: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 ?, ? [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [09: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 [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:02: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 >= ? [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02: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 [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [09:02:16] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09: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 [09:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [09:02:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09: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 [09:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:02:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09: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 asc, d.pcsIdx asc [09:02:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [09:02:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:02:22] [DEBUG] controller.EssController - ----------------------------------------------- [09:02:22] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [09:02:22] [DEBUG] controller.EssController - ----------------------------------------------- [09:02:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [09:02:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [09:02:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:02:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59219(Integer) [09:02:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:02:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:02:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:02: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 >= ? [09:02:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [09:02:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:02: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 [09:02:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:02:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:02: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 [09:02:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:02:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-15(String), 09(String), 05(String), 637.2(Float), 675.7(Float), 0.7(Float), 1389917.0(Float), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 1(Integer), 36138.0(Double), 0.0(Double), 36.1(Double), 0.0(Double), 44.2(Double), 610.7(Double), 26994.4(Double), 26.8(Double), 0.0(Double), 43300.0(Double), 66905.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 2(Integer), 32747.0(Double), 0.0(Double), 32.7(Double), 0.0(Double), 38.0(Double), 614.5(Double), 23349.7(Double), 25.5(Double), 0.0(Double), 38000.0(Double), 72128.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 3(Integer), 36225.0(Double), 0.0(Double), 36.2(Double), 0.0(Double), 45.2(Double), 609.5(Double), 27549.4(Double), 27.4(Double), 0.0(Double), 43400.0(Double), 68595.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 4(Integer), 36442.0(Double), 0.0(Double), 36.4(Double), 0.0(Double), 45.4(Double), 605.3(Double), 27479.1(Double), 28.2(Double), 0.0(Double), 43800.0(Double), 72003.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 5(Integer), 36859.0(Double), 0.0(Double), 36.9(Double), 0.0(Double), 45.7(Double), 611.1(Double), 27928.8(Double), 29.1(Double), 0.0(Double), 43500.0(Double), 81893.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 6(Integer), 37294.0(Double), 0.0(Double), 37.3(Double), 0.0(Double), 46.1(Double), 607.2(Double), 27990.4(Double), 27.1(Double), 0.0(Double), 44700.0(Double), 81709.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 7(Integer), 36040.0(Double), 0.0(Double), 36.0(Double), 0.0(Double), 44.9(Double), 610.5(Double), 27411.4(Double), 27.4(Double), 0.0(Double), 42800.0(Double), 68594.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 8(Integer), 36273.0(Double), 0.0(Double), 36.3(Double), 0.0(Double), 45.0(Double), 606.8(Double), 27307.5(Double), 28.0(Double), 0.0(Double), 43100.0(Double), 72002.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 9(Integer), 5049.0(Double), 0.0(Double), 5.0(Double), 0.0(Double), 9.5(Double), 535.0(Double), 5082.8(Double), 18.7(Double), 0.0(Double), 4600.0(Double), 65909.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 10(Integer), 37077.0(Double), 0.0(Double), 37.1(Double), 0.0(Double), 45.6(Double), 610.6(Double), 27843.4(Double), 26.9(Double), 0.0(Double), 43900.0(Double), 81708.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 11(Integer), 36927.0(Double), 0.0(Double), 36.9(Double), 0.0(Double), 45.7(Double), 609.8(Double), 27869.4(Double), 25.2(Double), 0.0(Double), 30900.0(Double), 78614.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 12(Integer), 37333.0(Double), 0.0(Double), 37.3(Double), 0.0(Double), 46.0(Double), 610.5(Double), 28083.0(Double), 25.4(Double), 0.0(Double), 34300.0(Double), 80011.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 13(Integer), 36668.0(Double), 0.0(Double), 36.7(Double), 0.0(Double), 45.7(Double), 606.0(Double), 27695.7(Double), 24.7(Double), 0.0(Double), 33500.0(Double), 79157.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 14(Integer), 35712.0(Double), 0.0(Double), 35.7(Double), 0.0(Double), 44.3(Double), 605.9(Double), 26841.4(Double), 25.1(Double), 0.0(Double), 29500.0(Double), 78035.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 15(Integer), 36759.0(Double), 0.0(Double), 36.8(Double), 0.0(Double), 45.2(Double), 614.4(Double), 27769.4(Double), 25.0(Double), 0.0(Double), 30200.0(Double), 78614.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 16(Integer), 31638.0(Double), 0.0(Double), 31.6(Double), 0.0(Double), 37.0(Double), 611.9(Double), 22639.1(Double), 24.9(Double), 0.0(Double), 25600.0(Double), 67997.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 17(Integer), 32867.0(Double), 0.0(Double), 32.9(Double), 0.0(Double), 38.3(Double), 613.4(Double), 23493.2(Double), 25.5(Double), 0.0(Double), 38600.0(Double), 72129.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 18(Integer), 22674.0(Double), 0.0(Double), 22.7(Double), 0.0(Double), 36.9(Double), 613.7(Double), 22645.5(Double), 22.2(Double), 0.0(Double), 18700.0(Double), 48890.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19364(Integer), 92(Integer), 19(Integer), 36483.0(Double), 0.0(Double), 36.5(Double), 0.0(Double), 45.3(Double), 606.7(Double), 27482.0(Double), 27.4(Double), 0.0(Double), 43300.0(Double), 75024.0(Double), 01(String) [09:05:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-15(String), 09(String), 05(String), 89.5(Float), 55.8(Float), 0.3(Float), 29790.0(Float), 01(String) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19365(Integer), 99(Integer), 1(Integer), 19900.0(Double), 0.0(Double), 19.9(Double), 1.3(Double), 34.1(Double), 579.8(Double), 19772.3(Double), 39.3(Double), 99.0(Double), 13800.0(Double), 7416.0(Double), 01(String) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19365(Integer), 99(Integer), 2(Integer), 22300.0(Double), 0.0(Double), 22.3(Double), 2.1(Double), 38.2(Double), 578.0(Double), 22079.6(Double), 36.2(Double), 99.0(Double), 14100.0(Double), 7525.0(Double), 01(String) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19365(Integer), 99(Integer), 3(Integer), 23400.0(Double), 0.0(Double), 23.4(Double), 2.0(Double), 40.0(Double), 583.7(Double), 23348.0(Double), 46.2(Double), 100.0(Double), 13800.0(Double), 7347.0(Double), 01(String) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19365(Integer), 99(Integer), 4(Integer), 23900.0(Double), 0.0(Double), 23.9(Double), 1.9(Double), 40.1(Double), 590.8(Double), 23692.4(Double), 27.6(Double), 100.0(Double), 14100.0(Double), 7502.0(Double), 01(String) [09:05:13] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:11:08] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:11:10] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:11:10] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :yeongsin, login_channel : null [09:11:10] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:11:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:11:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: yeongsin(String) [09:11:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:10] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:11:10] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [09:11:10] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:11:10] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [09:11:10] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:11:10] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : yeongsin [09:11:10] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [09:11:10] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [09:11:10] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:11:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:11:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: yeongsin(String) [09:11:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [09:11:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: yeongsin(String) [09:11:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:11:10] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:11:10] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: yeongsin, mappingList.size : 2 [09:11:10] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:11:10] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[yeongsin] roles roles [0]ROLE_01 [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: yeongsin(String), 01(String), A522BE17F2B8D6D1085D5A8B3DC63AEF(String), PHONE(String) [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:11:11] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:11:11] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [09:11:11] [DEBUG] controller.SignController - /ess/view.co [09:11:11] [DEBUG] controller.SignController - ....................................... [09:11:11] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:11] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 92, param.plantSeq : 0 [09:11:11] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 0(Integer), 2022-04-14(String), 92(Integer), 0(Integer), 2022-04-13(String), 92(Integer), 0(Integer), 2022-04-15(String), 59220(Integer) [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-15(String), 92(Integer), 2022-04-15(String), 92(Integer) [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:11: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 >= ? [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 2022-04-01(String) [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [09:11:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:11: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 [09:11:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 0(Integer), 2022-04-15(String), 92(Integer), 0(Integer), 2022-04-15(String) [09:11:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:11:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [09:11:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 92(Integer), 0(Integer), 92(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:11:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:11:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [09:11:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 1(Integer), 2022-04-15(String), 92(Integer), 1(Integer), 2022-04-15(String) [09:11:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:11:17] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:17] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 93 [09:11:17] [DEBUG] controller.EssController - ----------------------------------------------- [09:11: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 [09:11:17] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-04-15(String), 2022-04-15(String) [09:11:17] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:18] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:18] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 93, param.plantSeq : 93 [09:11:18] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-04-14(String), 93(Integer), 0(Integer), 2022-04-13(String), 93(Integer), 0(Integer), 2022-04-15(String), 59220(Integer) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-04-15(String), 93(Integer), 2022-04-15(String), 93(Integer) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:11: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 >= ? [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 01(String), 2022-04-01(String) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-04-15(String), 93(Integer), 0(Integer), 2022-04-15(String) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:11: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 [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 93(Integer), 0(Integer), 93(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:11: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 [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 1(Integer), 2022-04-15(String), 93(Integer), 1(Integer), 2022-04-15(String) [09:11:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_login_2021 set updateTime = curtime() where id = ? and sessionId= ? [09:11:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: yeongsin(String), A522BE17F2B8D6D1085D5A8B3DC63AEF(String) [09:11:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:11:22] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:22] [DEBUG] controller.EssController - /index.co called [09:11:22] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:22] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:11:24] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:11:24] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :tokyo, login_channel : null [09:11:24] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tokyo(String) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:24] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:11:24] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [09:11:24] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:11:24] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/sign/login.co [09:11:24] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:11:24] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : tokyo [09:11:24] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [09:11:24] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [09:11:24] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tokyo(String) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tokyo(String) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:24] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:11:24] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: tokyo, mappingList.size : 1 [09:11:24] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:11:24] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[tokyo] roles roles [0]ROLE_01 [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tokyo(String), 01(String), 826040BD0DF11872BBAE352F95527849(String), PHONE(String) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:11:24] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:11:24] [DEBUG] controller.SignController - 이미 로그인 완료. 메인페이지로 이동 .............. [09:11:24] [DEBUG] controller.SignController - /ess/view.co [09:11:24] [DEBUG] controller.SignController - ....................................... [09:11:24] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:24] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 80, param.plantSeq : 0 [09:11:24] [DEBUG] controller.EssController - ----------------------------------------------- [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-04-14(String), 80(Integer), 0(Integer), 2022-04-13(String), 80(Integer), 0(Integer), 2022-04-15(String), 59220(Integer) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-15(String), 80(Integer), 2022-04-15(String), 80(Integer) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-04-01(String) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [09:11:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:11: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 [09:11:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 0(Integer), 2022-04-15(String), 80(Integer), 0(Integer), 2022-04-15(String) [09:11:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:11: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 [09:11:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 80(Integer), 0(Integer), 80(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:11:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:11:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [09:11:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 80(Integer), 1(Integer), 2022-04-15(String), 80(Integer), 1(Integer), 2022-04-15(String) [09:11:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:13: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.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:13:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:13:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:13:45] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:13: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 [09:13:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:13:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:24:17] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:24:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:24:21] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [09:24:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:24:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:24:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:24:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:24:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:24:21] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [09:24:21] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [09:24:21] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [09:24:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:24:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [09:24:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [09:24:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [09:24:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:24:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [09:24:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:24:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:24:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [09:24:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [09:24:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:24:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:24:21] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [09:24:21] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [09:24:21] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [09:24:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [09:24:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), D3968B350B83D5194B0D91105B23CAF3(String), PHONE(String) [09:24:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:24:22] [DEBUG] controller.EssController - ----------------------------------------------- [09:24:22] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [09:24:22] [DEBUG] controller.EssController - ----------------------------------------------- [09:24:23] [DEBUG] controller.EssController - ----------------------------------------------- [09:24:23] [DEBUG] controller.EssController - /index.co called [09:24:23] [DEBUG] controller.EssController - ----------------------------------------------- [09:24:23] [DEBUG] controller.EssController - ----------------------------------------------- [09:24:23] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [09:24:23] [DEBUG] controller.EssController - ----------------------------------------------- [09:24: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 [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59221(Integer) [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:24: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 [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:24: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 >= ? [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:24: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 [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [09:24:23] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:24:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [09:24:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [09:24:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:24:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [09:24:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:24:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:24: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 [09:24:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [09:24:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:24:28] [DEBUG] controller.EssController - ----------------------------------------------- [09:24:28] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [09:24:28] [DEBUG] controller.EssController - ----------------------------------------------- [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59221(Integer) [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:24: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 [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:24: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 [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:24:28] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:28:48] [DEBUG] controller.EssController - ----------------------------------------------- [09:28:48] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [09:28:48] [DEBUG] controller.EssController - ----------------------------------------------- [09:28:56] [DEBUG] controller.EssController - ----------------------------------------------- [09:28:56] [DEBUG] controller.EssController - /index.co called [09:28:56] [DEBUG] controller.EssController - ----------------------------------------------- [09:28:56] [DEBUG] controller.EssController - ----------------------------------------------- [09:28:56] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [09:28:56] [DEBUG] controller.EssController - ----------------------------------------------- [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59221(Integer) [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:28: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 >= ? [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09: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 desc, d.pcsIdx asc [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [09:28:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:28: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 [09:28:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:28:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:28: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 [09:28:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [09:28:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:29: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.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:29:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:29:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:29:44] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [09:29: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 [09:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:29:58] [DEBUG] controller.EssController - ----------------------------------------------- [09:29:58] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [09:29:58] [DEBUG] controller.EssController - ----------------------------------------------- [09:30:05] [DEBUG] controller.EssController - ----------------------------------------------- [09:30:05] [DEBUG] controller.EssController - /index.co called [09:30:05] [DEBUG] controller.EssController - ----------------------------------------------- [09:30:06] [DEBUG] controller.EssController - ----------------------------------------------- [09:30:06] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [09:30:06] [DEBUG] controller.EssController - ----------------------------------------------- [09:30: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 [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59221(Integer) [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:30: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 [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:30: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 ?, ? [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:30: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 >= ? [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:30: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 [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:30:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:30: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 [09:30:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [09:30:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:30:12] [DEBUG] controller.EssController - ----------------------------------------------- [09:30:12] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [09:30:12] [DEBUG] controller.EssController - ----------------------------------------------- [09:30: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 [09:30:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [09:30:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:30:12] [DEBUG] controller.EssController - ----------------------------------------------- [09:30:12] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [09:30:12] [DEBUG] controller.EssController - ----------------------------------------------- [09:30: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 [09:30:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [09:30:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:30:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:30:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59221(Integer) [09:30:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:30: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 [09:30:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [09:30:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:30: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 ?, ? [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:30: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 [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [09:30:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:30: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 [09:30:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:30:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:30:24] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [09: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 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:30:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:30:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:34: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.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:34:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:34:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:34:08] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:34:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:34:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:34:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-15(String), 09(String), 35(String), 709.2(Float), 984.2(Float), 1.1(Float), 1390449.0(Float), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 1(Integer), 39595.0(Double), 0.0(Double), 39.6(Double), 0.0(Double), 49.4(Double), 600.3(Double), 29653.2(Double), 30.1(Double), 0.0(Double), 61900.0(Double), 66923.0(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 2(Integer), 39936.0(Double), 0.0(Double), 39.9(Double), 0.0(Double), 50.4(Double), 599.8(Double), 30229.9(Double), 31.4(Double), 0.0(Double), 61100.0(Double), 80124.0(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 3(Integer), 39759.0(Double), 0.0(Double), 39.8(Double), 0.0(Double), 50.0(Double), 603.5(Double), 30173.3(Double), 30.4(Double), 0.0(Double), 62100.0(Double), 68614.0(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 4(Integer), 39903.0(Double), 0.0(Double), 39.9(Double), 0.0(Double), 50.0(Double), 601.3(Double), 30066.7(Double), 30.8(Double), 0.0(Double), 62500.0(Double), 72022.0(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 5(Integer), 40487.0(Double), 0.0(Double), 40.5(Double), 0.0(Double), 50.6(Double), 605.2(Double), 30621.4(Double), 31.9(Double), 0.0(Double), 62500.0(Double), 81912.0(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 6(Integer), 40764.0(Double), 0.0(Double), 40.8(Double), 0.0(Double), 50.6(Double), 603.7(Double), 30547.2(Double), 30.2(Double), 0.0(Double), 63800.0(Double), 81728.0(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 7(Integer), 39586.0(Double), 0.0(Double), 39.6(Double), 0.0(Double), 49.6(Double), 601.8(Double), 29850.9(Double), 29.8(Double), 0.0(Double), 61300.0(Double), 66181.0(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 8(Integer), 39731.0(Double), 0.0(Double), 39.7(Double), 0.0(Double), 49.9(Double), 604.2(Double), 30151.2(Double), 28.4(Double), 0.0(Double), 43000.0(Double), 77336.0(Double), 01(String) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 9(Integer), 16508.0(Double), 0.0(Double), 16.5(Double), 0.0(Double), 38.2(Double), 428.6(Double), 16373.8(Double), 21.8(Double), 0.0(Double), 9700.0(Double), 65914.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 10(Integer), 40361.0(Double), 0.0(Double), 40.4(Double), 0.0(Double), 50.5(Double), 605.0(Double), 30550.8(Double), 29.3(Double), 0.0(Double), 48300.0(Double), 78414.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 11(Integer), 40598.0(Double), 0.0(Double), 40.6(Double), 0.0(Double), 50.2(Double), 610.9(Double), 30668.9(Double), 28.7(Double), 0.0(Double), 50000.0(Double), 78633.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 12(Integer), 40958.0(Double), 0.0(Double), 41.0(Double), 0.0(Double), 50.9(Double), 605.0(Double), 30796.2(Double), 29.0(Double), 0.0(Double), 53600.0(Double), 80031.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 13(Integer), 40326.0(Double), 0.0(Double), 40.3(Double), 0.0(Double), 50.3(Double), 605.6(Double), 30461.7(Double), 28.3(Double), 0.0(Double), 52500.0(Double), 79176.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 14(Integer), 39642.0(Double), 0.0(Double), 39.6(Double), 0.0(Double), 49.4(Double), 601.8(Double), 29728.9(Double), 28.7(Double), 0.0(Double), 48100.0(Double), 78053.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 15(Integer), 35318.0(Double), 0.0(Double), 35.3(Double), 0.0(Double), 41.6(Double), 607.4(Double), 25269.2(Double), 27.1(Double), 0.0(Double), 54000.0(Double), 71284.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 16(Integer), 34872.0(Double), 0.0(Double), 34.9(Double), 0.0(Double), 41.7(Double), 600.3(Double), 25032.5(Double), 28.6(Double), 0.0(Double), 42000.0(Double), 68013.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 17(Integer), 35992.0(Double), 0.0(Double), 36.0(Double), 0.0(Double), 42.1(Double), 609.4(Double), 25657.1(Double), 28.1(Double), 0.0(Double), 55400.0(Double), 72146.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 18(Integer), 24910.0(Double), 0.0(Double), 24.9(Double), 0.0(Double), 41.4(Double), 603.3(Double), 24978.0(Double), 24.4(Double), 0.0(Double), 30400.0(Double), 48902.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19376(Integer), 92(Integer), 19(Integer), 39979.0(Double), 0.0(Double), 40.0(Double), 0.0(Double), 50.0(Double), 601.7(Double), 30083.3(Double), 30.4(Double), 0.0(Double), 62000.0(Double), 75043.0(Double), 01(String) [09:35:06] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-15(String), 09(String), 35(String), 151.6(Float), 119.9(Float), 0.6(Float), 29854.0(Float), 01(String) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19377(Integer), 99(Integer), 1(Integer), 37700.0(Double), 0.0(Double), 37.8(Double), 3.1(Double), 67.4(Double), 561.0(Double), 37811.4(Double), 41.5(Double), 100.0(Double), 29900.0(Double), 7432.0(Double), 01(String) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19377(Integer), 99(Integer), 2(Integer), 38300.0(Double), 0.0(Double), 38.4(Double), 3.3(Double), 67.9(Double), 567.0(Double), 38499.3(Double), 39.4(Double), 100.0(Double), 30300.0(Double), 7541.0(Double), 01(String) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19377(Integer), 99(Integer), 3(Integer), 37300.0(Double), 0.0(Double), 37.4(Double), 2.9(Double), 66.2(Double), 567.9(Double), 37595.0(Double), 34.9(Double), 100.0(Double), 29500.0(Double), 7363.0(Double), 01(String) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19377(Integer), 99(Integer), 4(Integer), 38300.0(Double), 0.0(Double), 38.4(Double), 2.9(Double), 67.4(Double), 569.2(Double), 38364.1(Double), 30.9(Double), 100.0(Double), 30200.0(Double), 7518.0(Double), 01(String) [09:35:12] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [09:37: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 [09:37:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:37:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:37:11] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:37: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 [09:37:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:37:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:37:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 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:37:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:37:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:37:25] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:37:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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:37:25] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:37:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:38:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:38:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:38:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:38:07] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 15 [09:38:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:38:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:38:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:39:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:39:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:39:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:39:04] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:39:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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:39:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:39:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.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:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:40:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:40:57] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:40:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:40:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:40:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:42:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [09:42:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:42:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:42:42] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:42: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 [09:42:42] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:42:42] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:43: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.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:43:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [09:43:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:43:10] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [09:43: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 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:43:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [09:43:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [09:45:05] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [09:50:36] [DEBUG] controller.EssController - ----------------------------------------------- [09:50:36] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [09:50:36] [DEBUG] controller.EssController - ----------------------------------------------- [09:50:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [09:50:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [09:50:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:50:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [09:50:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59223(Integer) [09:50:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:50:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [09:50:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [09:50:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [09:50:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [09:50:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [09:50:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [09:50:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [09:50:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:50:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [09:50:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [09:50:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [09:50:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer) [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:09] [DEBUG] controller.RestAPIController - callPmsFault :: [94] [183.106.214.148] 영덕 삼성 is Fault PUSH [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 1(Integer), 59225(Integer), 2022-04-15(String), 10(String), 04(String), 3296370(Long), 3104160(Long), 32094(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 55138(Integer), 0(Integer), 32094(Integer), 4510(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8256(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 1(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 200(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 497(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 94(Integer) [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:09] [DEBUG] service.CsService - [94:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 0(Integer), 59225(Integer), 2022-04-15(String), 10(String), 04(String), 3296370(Long), 3104160(Long), 32094(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 55138(Integer), 0(Integer), 32094(Integer), 4510(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8256(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 1(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 200(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 497(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:09] [DEBUG] controller.RestAPIController - [94] smsMessage : [영덕삼성]ACCB OFF, smsReceiver : 01072810414, smsResult:: 12057 [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer) [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:09] [DEBUG] controller.RestAPIController - callPmsFault :: [94] [183.106.214.148] 영덕 삼성 is Fault PUSH [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [10:04:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 1(Integer), 59225(Integer), 2022-04-15(String), 10(String), 04(String), 3296370(Long), 3104160(Long), 32094(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 55138(Integer), 0(Integer), 32094(Integer), 4510(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8255(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 1(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 200(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 497(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 4(Integer) [10:04:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [10:04:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 94(Integer) [10:04:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:10] [DEBUG] service.CsService - [94:1] CS가 이미 접수되었습니다. pcs: 1,0,0,4, bms : 1,0,0,0 [10:04:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 0(Integer), 59225(Integer), 2022-04-15(String), 10(String), 04(String), 3296370(Long), 3104160(Long), 32094(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 55138(Integer), 0(Integer), 32094(Integer), 4510(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8255(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 1(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 200(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 497(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 4(Integer) [10:04:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:10] [DEBUG] controller.RestAPIController - [94] smsMessage : [영덕삼성][PCS-1] HMI Comm. error , smsReceiver : 01072810414, smsResult:: 12027 [10:04:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [10:04:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer) [10:04:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:21] [DEBUG] controller.RestAPIController - callPmsFault :: [94] [183.106.214.148] 영덕 삼성 is Fault PUSH [10:04:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [10:04:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [10:04:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 1(Integer), 59225(Integer), 2022-04-15(String), 10(String), 04(String), 3296370(Long), 3104160(Long), 32125(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 55232(Integer), 0(Integer), 32125(Integer), 4506(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8256(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 0(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 200(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 497(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 4(Integer) [10:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [10:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 94(Integer) [10:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:04:22] [DEBUG] service.CsService - [94:1] CS가 이미 접수되었습니다. pcs: 1,0,0,4, bms : 1,0,0,0 [10:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:04:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 0(Integer), 59225(Integer), 2022-04-15(String), 10(String), 04(String), 3296370(Long), 3104160(Long), 32125(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 55232(Integer), 0(Integer), 32125(Integer), 4506(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8256(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 0(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 200(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 497(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 4(Integer) [10:04:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:04:22] [DEBUG] controller.RestAPIController - [94] smsMessage : [영덕삼성]ACCB OFF, smsReceiver : 01072810414, smsResult:: 11997 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-15(String), 10(String), 05(String), 774.6(Float), 1349.5(Float), 1.5(Float), 1390816.0(Float), 01(String) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 1(Integer), 42330.0(Double), 0.0(Double), 42.3(Double), 0.0(Double), 53.0(Double), 597.3(Double), 31655.1(Double), 32.1(Double), 0.0(Double), 82200.0(Double), 66944.0(Double), 01(String) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 2(Integer), 42684.0(Double), 0.0(Double), 42.7(Double), 0.0(Double), 53.8(Double), 599.8(Double), 32271.0(Double), 33.7(Double), 0.0(Double), 81600.0(Double), 80145.0(Double), 01(String) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 3(Integer), 42355.0(Double), 0.0(Double), 42.4(Double), 0.0(Double), 54.2(Double), 592.5(Double), 32113.5(Double), 33.3(Double), 0.0(Double), 82400.0(Double), 68634.0(Double), 01(String) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 4(Integer), 42560.0(Double), 0.0(Double), 42.6(Double), 0.0(Double), 54.5(Double), 588.3(Double), 32062.3(Double), 33.2(Double), 0.0(Double), 83000.0(Double), 72042.0(Double), 01(String) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 5(Integer), 43208.0(Double), 0.0(Double), 43.2(Double), 0.0(Double), 54.8(Double), 595.1(Double), 32611.5(Double), 34.6(Double), 0.0(Double), 83000.0(Double), 81933.0(Double), 01(String) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 6(Integer), 43333.0(Double), 0.0(Double), 43.3(Double), 0.0(Double), 54.5(Double), 596.7(Double), 32518.3(Double), 32.8(Double), 0.0(Double), 84400.0(Double), 81748.0(Double), 01(String) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 7(Integer), 42422.0(Double), 0.0(Double), 42.4(Double), 0.0(Double), 53.8(Double), 595.3(Double), 32028.9(Double), 32.2(Double), 0.0(Double), 81500.0(Double), 66201.0(Double), 01(String) [10:05:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 8(Integer), 42443.0(Double), 0.0(Double), 42.4(Double), 0.0(Double), 53.8(Double), 596.8(Double), 32107.8(Double), 31.9(Double), 0.0(Double), 63200.0(Double), 77356.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 9(Integer), 34832.0(Double), 0.0(Double), 34.8(Double), 0.0(Double), 51.5(Double), 523.2(Double), 26944.8(Double), 27.2(Double), 0.0(Double), 22300.0(Double), 65927.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 10(Integer), 43122.0(Double), 0.0(Double), 43.1(Double), 0.0(Double), 54.5(Double), 598.0(Double), 32589.2(Double), 32.0(Double), 0.0(Double), 68700.0(Double), 78434.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 11(Integer), 43291.0(Double), 0.0(Double), 43.3(Double), 0.0(Double), 54.7(Double), 596.9(Double), 32650.4(Double), 31.6(Double), 0.0(Double), 70600.0(Double), 78654.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 12(Integer), 43585.0(Double), 0.0(Double), 43.6(Double), 0.0(Double), 55.1(Double), 594.0(Double), 32731.2(Double), 31.7(Double), 0.0(Double), 74300.0(Double), 80051.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 13(Integer), 43065.0(Double), 0.0(Double), 43.1(Double), 0.0(Double), 54.1(Double), 600.1(Double), 32465.4(Double), 31.0(Double), 0.0(Double), 73000.0(Double), 79197.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 14(Integer), 42525.0(Double), 0.0(Double), 42.5(Double), 0.0(Double), 54.0(Double), 591.3(Double), 31928.4(Double), 31.2(Double), 0.0(Double), 68300.0(Double), 78074.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 15(Integer), 37787.0(Double), 0.0(Double), 37.8(Double), 0.0(Double), 45.2(Double), 598.4(Double), 27047.7(Double), 29.1(Double), 0.0(Double), 71900.0(Double), 71302.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 16(Integer), 37346.0(Double), 0.0(Double), 37.3(Double), 0.0(Double), 45.1(Double), 594.3(Double), 26802.9(Double), 31.4(Double), 0.0(Double), 59700.0(Double), 68031.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 17(Integer), 38356.0(Double), 0.0(Double), 38.4(Double), 0.0(Double), 45.9(Double), 598.5(Double), 27469.6(Double), 30.4(Double), 0.0(Double), 73800.0(Double), 72164.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 18(Integer), 26583.0(Double), 0.0(Double), 26.6(Double), 0.0(Double), 44.8(Double), 594.4(Double), 26629.1(Double), 26.5(Double), 0.0(Double), 43100.0(Double), 48915.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19383(Integer), 92(Integer), 19(Integer), 42730.0(Double), 0.0(Double), 42.7(Double), 0.0(Double), 54.0(Double), 594.7(Double), 32115.6(Double), 32.8(Double), 0.0(Double), 82500.0(Double), 75064.0(Double), 01(String) [10:05:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-15(String), 10(String), 05(String), 155.6(Float), 194.8(Float), 1.0(Float), 29929.0(Float), 01(String) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19384(Integer), 99(Integer), 1(Integer), 38700.0(Double), 0.0(Double), 38.8(Double), 3.1(Double), 70.8(Double), 548.0(Double), 38800.8(Double), 45.9(Double), 100.0(Double), 48500.0(Double), 7451.0(Double), 01(String) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19384(Integer), 99(Integer), 2(Integer), 39300.0(Double), 0.0(Double), 39.3(Double), 2.8(Double), 71.8(Double), 550.5(Double), 39528.3(Double), 42.8(Double), 100.0(Double), 49200.0(Double), 7560.0(Double), 01(String) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19384(Integer), 99(Integer), 3(Integer), 38300.0(Double), 0.0(Double), 38.4(Double), 2.8(Double), 69.9(Double), 549.0(Double), 38375.1(Double), 38.4(Double), 100.0(Double), 48000.0(Double), 7381.0(Double), 01(String) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19384(Integer), 99(Integer), 4(Integer), 39300.0(Double), 0.0(Double), 39.4(Double), 3.1(Double), 71.1(Double), 553.9(Double), 39384.7(Double), 34.1(Double), 100.0(Double), 49100.0(Double), 7537.0(Double), 01(String) [10:05:11] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:30] [DEBUG] controller.PlantController - selectPmsPlantBySeq : 쿼리조회시간 : 31 [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.pcsQuantity, m.pcsQuantity * m.pcsVolume as supplyPcsPower, m.batteryMaker, m.batteryQuantity * m.batteryVolume as supplyBatteryPower, p.name as plantName, p.supplyPower, p.weatherCode 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 s2.plantSeq = ? and s1.pcsIdx = ? and s2.pcsIdx = ? and s1.inputDate = ? 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 = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.plantSeq asc, d.pcsIdx asc, d.inputDate asc, d.inputHour asc, d.inputMinute asc [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 85(Integer), 1(Integer), 1(Integer), 2022-04-13(String), 2022-04-12(String), 85(Integer), 1(Integer), 2022-04-14(String) [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 102 [10:05:30] [DEBUG] controller.PlantController - selectList : 쿼리조회시간 : 94 [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.* from t_plant p where 1=1 and p.plantStatus = ? order by p.seq desc [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String) [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:05:30] [DEBUG] controller.PlantController - selectListActive : 쿼리조회시간 : 16 [10:05:30] [DEBUG] controller.PlantController - selectListTimetable : 쿼리조회시간 : 0 [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where k.inputDate = ? order by k.inputDate desc, k.inputHour desc, k.inputMinute desc [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-14(String) [10:05:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 102 [10:05:30] [DEBUG] controller.PlantController - code.memory.select : 쿼리조회시간 : 31 [10:05:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, w.* from t_weather_2021 w, t_plant p where w.weatherCode = p.weatherCode and p.plantStatus='01' and inputYmd= ? and p.seq = ? order by w.inputHour desc [10:05:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-14(String), 85(Integer) [10:05:31] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 8 [10:05:31] [DEBUG] controller.JsonController - { "data" : [{"plantSeq":"85","hour":"15","temp":"9","cloud":"5","weatherCode":"16150380"},{"plantSeq":"85","hour":"14","temp":"8","cloud":"5","weatherCode":"16150380"},{"plantSeq":"85","hour":"13","temp":"8","cloud":"7","weatherCode":"16150380"},{"plantSeq":"85","hour":"12","temp":"8","cloud":"9","weatherCode":"16150380"},{"plantSeq":"85","hour":"11","temp":"7","cloud":"9","weatherCode":"16150380"},{"plantSeq":"85","hour":"10","temp":"7","cloud":"9","weatherCode":"16150380"},{"plantSeq":"85","hour":"09","temp":"7","cloud":"9","weatherCode":"16150380"},{"plantSeq":"85","hour":"08","temp":"6","cloud":"9","weatherCode":"16150380"},{"plantSeq":"end"}]} [10:05:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx=? group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:05:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 0(Integer) [10:05:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:05:33] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 23 [10:05:34] [DEBUG] controller.JsonController - ------------------------------------- [10:05:34] [DEBUG] controller.JsonController - { "data" : [{"name":"pcs_34_3","level":"1","className":"warning"},{"name":"pcs_76_1","level":"1","className":"warning"},{"name":"pcs_77_1","level":"1","className":"warning"},{"name":"pcs_78_1","level":"1","className":"warning"},{"name":"pcs_80_1","level":"1","className":"warning"},{"name":"pcs_85_1","level":"1","className":"warning"},{"name":"pcs_86_1","level":"1","className":"warning"},{"name":"pcs_87_1","level":"1","className":"warning"},{"name":"pcs_88_1","level":"1","className":"warning"},{"name":"pcs_89_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"1","className":"warning"},{"name":"pcs_91_1","level":"1","className":"warning"},{"name":"pcs_92_1","level":"1","className":"warning"},{"name":"pcs_93_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_94_1","level":"1","className":"warning"},{"name":"pcs_95_1","level":"1","className":"warning"},{"name":"pcs_90_1","level":"2","className":"danger"},{"name":"pcs_94_1","level":"2","className":"danger"},{"name":"pcs_94_1","level":"2","className":"danger"},{"name":"pcs_94_1","level":"2","className":"danger"},{"name":"end"}]} [10:05:34] [DEBUG] controller.JsonController - ------------------------------------- [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:05: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-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [10:05:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:05:54] [DEBUG] controller.EssController - ----------------------------------------------- [10:05:54] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [10:05:54] [DEBUG] controller.EssController - ----------------------------------------------- [10:05:54] [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:05:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:05:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:05:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59225(Integer) [10:05:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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:05:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [10:05:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:05:54] [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:05:54] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:05:54] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:09:22] [DEBUG] controller.RestAPIController - callPmsFault :: [94] [183.106.214.148] 영덕 삼성 is Fault PUSH [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:09:22] [DEBUG] controller.RestAPIController - callPmsFault :: [94] [183.106.214.148] 영덕 삼성 is Fault PUSH [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 1(Integer), 59225(Integer), 2022-04-15(String), 10(String), 09(String), 3296370(Long), 3104160(Long), 29959(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 57671(Integer), 0(Integer), 29959(Integer), 4483(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8257(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 8(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 201(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 495(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 4(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 94(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 1(Integer), 59225(Integer), 2022-04-15(String), 10(String), 09(String), 3296370(Long), 3104160(Long), 29959(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 57671(Integer), 0(Integer), 29959(Integer), 4483(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8257(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 8(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 201(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 495(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 4(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:09:22] [DEBUG] service.CsService - [94:1] CS가 이미 접수되었습니다. pcs: 1,0,0,4, bms : 1,0,0,0 [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 0(Integer), 59225(Integer), 2022-04-15(String), 10(String), 09(String), 3296370(Long), 3104160(Long), 29959(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 57671(Integer), 0(Integer), 29959(Integer), 4483(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8257(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 8(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 201(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 495(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 4(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 94(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:09:22] [DEBUG] service.CsService - [94:1] CS가 이미 접수되었습니다. pcs: 1,0,0,4, bms : 1,0,0,0 [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 0(Integer), 59225(Integer), 2022-04-15(String), 10(String), 09(String), 3296370(Long), 3104160(Long), 29959(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 57671(Integer), 0(Integer), 29959(Integer), 4483(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8257(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 3(Integer), 1(Integer), 260(Integer), 25(Integer), 1(Integer), 0(Integer), 8(Integer), 0(Integer), 89(Integer), 4(Integer), 188(Integer), 201(Integer), 188(Integer), 0(Integer), 0(Integer), 502(Integer), 440(Integer), 495(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 4(Integer) [10:09:22] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:09:22] [DEBUG] controller.RestAPIController - [94] smsMessage : [영덕삼성][PCS-1] HMI Comm. error , smsReceiver : 01072810414, smsResult:: 11967 [10:09:22] [DEBUG] controller.RestAPIController - [94] smsMessage : [영덕삼성]ACCB OFF, smsReceiver : 01072810414, smsResult:: 11967 [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_pms m, t_plant p where m.plantSeq = p.seq and m.plantSeq = ? [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer) [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:10:39] [DEBUG] controller.RestAPIController - callPmsFault :: [94] [183.106.214.148] 영덕 삼성 is Fault PUSH [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select currSeq from t_sequence where seq = ? [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(Integer) [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 1(Integer), 59225(Integer), 2022-04-15(String), 10(String), 10(String), 3296370(Long), 3104160(Long), 32840(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 58234(Integer), 0(Integer), 32840(Integer), 4496(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8256(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 0(Integer), 1(Integer), 260(Integer), 17(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 190(Integer), 201(Integer), 190(Integer), 0(Integer), 0(Integer), 500(Integer), 439(Integer), 495(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.csType = ? and c.procStatus = ? and c.procType = ? and p.seq = ? [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 20(String), 10(String), 10(String), 94(Integer) [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:10:39] [DEBUG] service.CsService - [94:1] CS가 이미 접수되었습니다. pcs: 1,0,0,0, bms : 1,0,0,0 [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_pmsdata_2022 ( plantSeq, pcsIdx, timetableSeq, inputDate, inputHour, inputMinute, chargePower, dischargePower, pvPower, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data16, data17, data18, data19, data20, data21, data22, data23, data24, data25, data26, data27, data28, data29, data30, data31, data32, data33, data51, data52, data53, data54, data55, data56, data57, data58, data59, data60, data61, data62, data63, data64, data65, data66, data67, data68, data69, data70, createDateTime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 0(Integer), 59225(Integer), 2022-04-15(String), 10(String), 10(String), 3296370(Long), 3104160(Long), 32840(Long), 0(Integer), 47(Integer), 23968(Integer), 50(Integer), 19570(Integer), 0(Integer), 0(Integer), 0(Integer), 58234(Integer), 0(Integer), 32840(Integer), 4496(Integer), 0(Integer), 0(Integer), 41(Integer), 919(Integer), 0(Integer), 8256(Integer), 0(Integer), 193(Integer), 164(Integer), 34(Integer), 34(Integer), 0(Integer), 1(Integer), 260(Integer), 17(Integer), 1(Integer), 0(Integer), 0(Integer), 0(Integer), 89(Integer), 4(Integer), 190(Integer), 201(Integer), 190(Integer), 0(Integer), 0(Integer), 500(Integer), 439(Integer), 495(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 260(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer) [10:10:39] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:10:39] [DEBUG] controller.RestAPIController - [94] smsMessage : [영덕삼성]ACCB OFF, smsReceiver : 01072810414, smsResult:: 11907 [10:13: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=? group 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:13:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 0(Integer) [10:13:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:13:58] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 31 [10:13:59] [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:13:59] [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:13:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:13:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:13:59] [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:13:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [10:13:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:13:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:13:59] [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:13:59] [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:13:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [10:13:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:13:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:13:59] [DEBUG] controller.JsonController - ------------------------------------- [10:13:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:13:59] [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":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [10:13:59] [DEBUG] controller.JsonController - ------------------------------------- [10:13:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:13:59] [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:13:59] [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-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [10:13:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:13:59] [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:13:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [10:13:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:15:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:15:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:15:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:15:29] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [10:15: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 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:15:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:15:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:15: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:15:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 94(Integer), 2022-04-15(String), 2022-04-15(String) [10:15:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:15:33] [DEBUG] controller.PmsController - connectPmsAjax ---------------->> ip : 183.106.214.148, port : 502, pcsIdx : 1, pcsMaker : 15 [10:16:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 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:16:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:16:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:16:26] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:16: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 [10:16:26] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:16:26] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:20:30] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:20:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:20:33] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :hanse, login_channel : null [10:20:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hanse(String) [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:20:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:20:33] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:20:33] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:20:33] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/statistic_chart.co?dataType=day&plantSeq=34&inputDate=2022-04-14 [10:20:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:20:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : hanse [10:20:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:20:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:20:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hanse(String) [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hanse(String) [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:20:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:20:33] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: hanse, mappingList.size : 1 [10:20:33] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:20:33] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[hanse] roles roles [0]ROLE_01 [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hanse(String), 01(String), 3CEC865946E3D7457B249A9D09E77CE9(String), PHONE(String) [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:20:33] [DEBUG] controller.EssController - ----------------------------------------------- [10:20:33] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 34, param.plantSeq : 34 [10:20:33] [DEBUG] controller.EssController - ----------------------------------------------- [10:20: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:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-15(String), 2022-04-15(String) [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:20:33] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 16 [10:20: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:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 01(String), 2022-04-01(String) [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:20:33] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-14(String), 34(Integer), 0(Integer), 34(Integer), 0(Integer), 2022(String), 04(String) [10:20:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [10:20: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.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 [10:20:34] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-14(String), 34(Integer), 0(Integer), 34(Integer), 0(Integer), 2022(String), 04(String) [10:20:34] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [10:20:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 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:20:36] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:20:36] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:20:36] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 15 [10:20:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:20:37] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:20:37] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:20:48] [DEBUG] controller.EssController - ----------------------------------------------- [10:20:48] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 34, param.plantSeq : 34 [10:20:48] [DEBUG] controller.EssController - ----------------------------------------------- [10:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and 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:20:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-15(String), 2022-04-15(String) [10:20:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:20:48] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 31 [10:20: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 >= ? [10:20:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 01(String), 2022-04-01(String) [10:20:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:20:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:20:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 0(Integer), 2022-04-14(String), 34(Integer), 0(Integer), 2022-04-14(String) [10:20:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 24 [10:20:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:20:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 0(Integer), 2022-04-14(String), 34(Integer), 0(Integer), 2022-04-14(String) [10:20:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 24 [10:21:24] [DEBUG] controller.EssController - ----------------------------------------------- [10:21:24] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 34, param.plantSeq : 34 [10:21:24] [DEBUG] controller.EssController - ----------------------------------------------- [10:21: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 [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-15(String), 2022-04-15(String) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21:24] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 32 [10:21: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:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 0(Integer), 2022-04-15(String), 34(Integer), 0(Integer), 2022-04-15(String) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [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: 34(Integer), 01(String), 2022-04-01(String) [10:21:24] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:21: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:21:24] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 0(Integer), 2022-04-15(String), 34(Integer), 0(Integer), 2022-04-15(String) [10:21:25] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:28:35] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:28:41] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:28:41] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [10:28:41] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:28:41] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:28:41] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:28:41] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:28:41] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [10:28:41] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:28:41] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : GSNGsolar [10:28:41] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:28:41] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:28:41] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select m.*, p.name as plantName from t_user_plant_mapping m, t_plant p where m.plantSeq = p.seq and p.plantStatus = '01' and m.userId=? [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:28:41] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:28:41] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: GSNGsolar, mappingList.size : 2 [10:28:41] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:28:41] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[GSNGsolar] roles roles [0]ROLE_01 [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String), 01(String), BECE49CCF6B2C491748D46EA733EDCE9(String), PHONE(String) [10:28:41] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:28:41] [DEBUG] controller.EssController - ----------------------------------------------- [10:28:41] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [10:28:41] [DEBUG] controller.EssController - ----------------------------------------------- [10:28:43] [DEBUG] controller.EssController - ----------------------------------------------- [10:28:43] [DEBUG] controller.EssController - /index.co called [10:28:43] [DEBUG] controller.EssController - ----------------------------------------------- [10:28:43] [DEBUG] controller.EssController - ----------------------------------------------- [10:28:43] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 0 [10:28:43] [DEBUG] controller.EssController - ----------------------------------------------- [10:28:43] [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:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59227(Integer) [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:28: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.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:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:28:43] [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:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:28:43] [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:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-15(String), 85(Integer), 0(Integer), 2022-04-15(String) [10:28:43] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:28: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:28:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:28:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:28:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:28:44] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 1(Integer), 2022-04-15(String), 85(Integer), 1(Integer), 2022-04-15(String) [10:28:44] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:28:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:28:46] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 85, param.plantSeq : 85 [10:28:46] [DEBUG] controller.EssController - ----------------------------------------------- [10:28: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:28:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String) [10:28:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:28:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:28:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59227(Integer) [10:28:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:28: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:28:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:28:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:28: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:28:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 01(String), 2022-04-01(String) [10:28:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:28: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:28:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:28:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:28: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:28:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 85(Integer), 0(Integer), 85(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:28:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:29:02] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:02] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 86 [10:29:02] [DEBUG] controller.EssController - ----------------------------------------------- [10:29: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 [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29:02] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:02] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [10:29:02] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59227(Integer) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29: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.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select a.*, p.name as plantName from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate <= ? and a.endDate >= ? order by a.beginDate desc, a.seq desc [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:29: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 [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-15(String), 86(Integer), 0(Integer), 2022-04-15(String) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:29: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 [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:29:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:29:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:29:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 1(Integer), 2022-04-15(String), 86(Integer), 1(Integer), 2022-04-15(String) [10:29:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:29:09] [DEBUG] controller.EssController - ----------------------------------------------- [10:29:09] [DEBUG] controller.EssController - /ess/profit.co :: plantSeq :: 86, param.plantSeq : 86 [10:29:09] [DEBUG] controller.EssController - ----------------------------------------------- [10:29: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 [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59227(Integer) [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:29: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 >= ? [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 01(String), 2022-04-01(String) [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10: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 [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10: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 [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 86(Integer), 0(Integer), 86(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:29:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:29: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.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:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:29:45] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [10:29: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:29:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:29:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:29:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:29:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:29:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:29:51] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:29:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:29:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:29:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:30:40] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:30:47] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:30:47] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :tk2340, login_channel : null [10:30:47] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:30:47] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:30:47] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:30:47] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:30:47] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/index.co [10:30:47] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:30:47] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : tk2340 [10:30:47] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:30:47] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:30:47] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:30:47] [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:30:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String) [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:30:47] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:30:47] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: tk2340, mappingList.size : 1 [10:30:47] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:30:47] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[tk2340] roles roles [0]ROLE_01 [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: tk2340(String), 01(String), 3A9F1924D6F0CE1FE479608692634DF3(String), PHONE(String) [10:30:47] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:30:47] [DEBUG] controller.EssController - ----------------------------------------------- [10:30:47] [DEBUG] controller.EssController - error : http://emsa.eltenergy.com/error.co, param : code=404 [10:30:47] [DEBUG] controller.EssController - ----------------------------------------------- [10:30:48] [DEBUG] controller.EssController - ----------------------------------------------- [10:30:48] [DEBUG] controller.EssController - /index.co called [10:30:48] [DEBUG] controller.EssController - ----------------------------------------------- [10:30:49] [DEBUG] controller.EssController - ----------------------------------------------- [10:30:49] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 41, param.plantSeq : 0 [10:30:49] [DEBUG] controller.EssController - ----------------------------------------------- [10:30: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 [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 0(Integer), 2022-04-14(String), 41(Integer), 0(Integer), 2022-04-13(String), 41(Integer), 0(Integer), 2022-04-15(String), 59228(Integer) [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:30: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 [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-15(String), 41(Integer), 2022-04-15(String), 41(Integer) [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 4 [10:30: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 ?, ? [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:30:49] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:30: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 >= ? [10:30:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-04-01(String) [10:30:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:30: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 [10:30:50] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [10:30:50] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:30: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 [10:30:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 0(Integer), 2022-04-15(String), 41(Integer), 0(Integer), 2022-04-15(String) [10:30:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:30: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 [10:30:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 41(Integer), 0(Integer), 41(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:30:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:30:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:30:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 41(Integer), 1(Integer), 2022-04-15(String), 41(Integer), 1(Integer), 2022-04-15(String) [10:30:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-15(String), 10(String), 35(String), 809.9(Float), 1740.7(Float), 1.9(Float), 1391206.0(Float), 01(String) [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 1(Integer), 44088.0(Double), 0.0(Double), 44.1(Double), 0.0(Double), 56.2(Double), 587.3(Double), 33004.4(Double), 34.3(Double), 0.0(Double), 103400.0(Double), 66965.0(Double), 01(String) [10:35:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 2(Integer), 44472.0(Double), 0.0(Double), 44.5(Double), 0.0(Double), 56.8(Double), 591.9(Double), 33619.9(Double), 36.5(Double), 0.0(Double), 103000.0(Double), 80166.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 3(Integer), 44018.0(Double), 0.0(Double), 44.0(Double), 0.0(Double), 56.7(Double), 589.0(Double), 33394.4(Double), 35.7(Double), 0.0(Double), 103600.0(Double), 68655.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 4(Integer), 44221.0(Double), 0.0(Double), 44.2(Double), 0.0(Double), 57.1(Double), 585.8(Double), 33451.1(Double), 35.7(Double), 0.0(Double), 104300.0(Double), 72064.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 5(Integer), 44807.0(Double), 0.0(Double), 44.8(Double), 0.0(Double), 57.3(Double), 590.2(Double), 33818.5(Double), 36.8(Double), 0.0(Double), 104800.0(Double), 81954.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 6(Integer), 44888.0(Double), 0.0(Double), 44.9(Double), 0.0(Double), 57.1(Double), 589.7(Double), 33670.0(Double), 35.4(Double), 0.0(Double), 106200.0(Double), 81770.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 7(Integer), 44041.0(Double), 0.0(Double), 44.0(Double), 0.0(Double), 56.1(Double), 591.9(Double), 33205.6(Double), 34.8(Double), 0.0(Double), 102900.0(Double), 66223.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 8(Integer), 44308.0(Double), 0.0(Double), 44.3(Double), 0.0(Double), 56.6(Double), 593.7(Double), 33605.3(Double), 34.9(Double), 0.0(Double), 84800.0(Double), 77378.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 9(Integer), 42763.0(Double), 0.0(Double), 42.8(Double), 0.0(Double), 55.2(Double), 581.9(Double), 32120.9(Double), 32.9(Double), 0.0(Double), 42100.0(Double), 65946.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 10(Integer), 44673.0(Double), 0.0(Double), 44.7(Double), 0.0(Double), 57.4(Double), 588.5(Double), 33778.0(Double), 35.3(Double), 0.0(Double), 90400.0(Double), 78456.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 11(Integer), 44754.0(Double), 0.0(Double), 44.8(Double), 0.0(Double), 57.1(Double), 591.4(Double), 33770.8(Double), 35.0(Double), 0.0(Double), 92500.0(Double), 78676.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 12(Integer), 44992.0(Double), 0.0(Double), 45.0(Double), 0.0(Double), 57.2(Double), 591.2(Double), 33816.6(Double), 34.7(Double), 0.0(Double), 96100.0(Double), 80073.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 13(Integer), 44552.0(Double), 0.0(Double), 44.6(Double), 0.0(Double), 56.7(Double), 591.6(Double), 33543.7(Double), 34.0(Double), 0.0(Double), 94600.0(Double), 79218.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 14(Integer), 44022.0(Double), 0.0(Double), 44.0(Double), 0.0(Double), 56.3(Double), 589.8(Double), 33205.7(Double), 34.2(Double), 0.0(Double), 89600.0(Double), 78095.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 15(Integer), 38950.0(Double), 0.0(Double), 39.0(Double), 0.0(Double), 47.4(Double), 588.8(Double), 27910.7(Double), 31.6(Double), 0.0(Double), 90700.0(Double), 71321.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 16(Integer), 38709.0(Double), 0.0(Double), 38.7(Double), 0.0(Double), 47.5(Double), 584.4(Double), 27757.4(Double), 34.5(Double), 0.0(Double), 78500.0(Double), 68050.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 17(Integer), 39571.0(Double), 0.0(Double), 39.6(Double), 0.0(Double), 48.4(Double), 585.4(Double), 28333.4(Double), 32.6(Double), 0.0(Double), 93000.0(Double), 72183.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 18(Integer), 27557.0(Double), 0.0(Double), 27.6(Double), 0.0(Double), 47.2(Double), 584.5(Double), 27590.0(Double), 28.3(Double), 0.0(Double), 56300.0(Double), 48928.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19395(Integer), 92(Integer), 19(Integer), 44555.0(Double), 0.0(Double), 44.6(Double), 0.0(Double), 56.4(Double), 593.7(Double), 33482.8(Double), 34.9(Double), 0.0(Double), 103900.0(Double), 75085.0(Double), 01(String) [10:35:04] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-15(String), 10(String), 35(String), 166.4(Float), 275.4(Float), 1.4(Float), 30010.0(Float), 01(String) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19396(Integer), 99(Integer), 1(Integer), 41100.0(Double), 0.0(Double), 41.2(Double), 3.7(Double), 76.7(Double), 538.6(Double), 41313.2(Double), 50.4(Double), 100.0(Double), 68500.0(Double), 7471.0(Double), 01(String) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19396(Integer), 99(Integer), 2(Integer), 41900.0(Double), 0.0(Double), 42.0(Double), 3.5(Double), 77.6(Double), 542.8(Double), 42123.9(Double), 46.9(Double), 100.0(Double), 69600.0(Double), 7580.0(Double), 01(String) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19396(Integer), 99(Integer), 3(Integer), 41100.0(Double), 0.0(Double), 41.2(Double), 3.3(Double), 75.9(Double), 546.0(Double), 41438.9(Double), 41.6(Double), 100.0(Double), 67800.0(Double), 7401.0(Double), 01(String) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19396(Integer), 99(Integer), 4(Integer), 42300.0(Double), 0.0(Double), 42.4(Double), 3.3(Double), 77.3(Double), 547.6(Double), 42332.1(Double), 36.3(Double), 100.0(Double), 69500.0(Double), 7558.0(Double), 01(String) [10:35:10] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:36:05] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:05] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 34, param.plantSeq : 34 [10:36:05] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [10:36:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-15(String), 2022-04-15(String) [10:36:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:05] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 16 [10:36: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:36:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 01(String), 2022-04-01(String) [10:36:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d1.*, d2.inputDate as inputDateB1 from t_pmsdata_statistic_month d1 left join t_pmsdata_statistic_month d2 on d1.plantSeq = d2.plantSeq and d1.pcsIdx = d2.pcsIdx and d1.inputDate = date_add(d2.inputDate, INTERVAL 1 MONTH) and d2.plantSeq = ? and d2.pcsIdx = ? where 1=1 and d1.plantSeq = ? and d1.pcsIdx = ? and d1.inputYear = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.pcsIdx asc [10:36:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 0(Integer), 34(Integer), 0(Integer), 2022(String) [10:36:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:36:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d1.*, d2.inputDate as inputDateB1 from t_pmsdata_statistic_month d1 left join t_pmsdata_statistic_month d2 on d1.plantSeq = d2.plantSeq and d1.pcsIdx = d2.pcsIdx and d1.inputDate = date_add(d2.inputDate, INTERVAL 1 MONTH) and d2.plantSeq = ? and d2.pcsIdx = ? where 1=1 and d1.plantSeq = ? and d1.pcsIdx = ? and d1.inputYear = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.pcsIdx asc [10:36:06] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 0(Integer), 34(Integer), 0(Integer), 2022(String) [10:36:06] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:36:07] [DEBUG] controller.EssController - ----------------------------------------------- [10:36:07] [DEBUG] controller.EssController - /ess/statistic_chart.co :: plantSeq :: 34, param.plantSeq : 34 [10:36:07] [DEBUG] controller.EssController - ----------------------------------------------- [10:36: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 [10:36:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 2022-04-15(String), 2022-04-15(String) [10:36:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:07] [DEBUG] controller.EssController - selectPmsPlantBySeq : 쿼리조회시간 : 31 [10:36: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 >= ? [10:36:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 34(Integer), 01(String), 2022-04-01(String) [10:36:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:36:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:36:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 34(Integer), 0(Integer), 34(Integer), 0(Integer), 2022(String), 04(String) [10:36:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [10:36:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputYear = ? and d.inputMonth = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:36:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 34(Integer), 0(Integer), 34(Integer), 0(Integer), 2022(String), 04(String) [10:36:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 14 [10:36:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:36:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:36:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:38] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:36:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:36:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:36:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 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:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:48] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 46 [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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:48] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:36:48] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:36:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:36:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:56] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 32 [10:36:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.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:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:36:57] [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 > 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:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:36:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:36:59] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:37:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.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:37:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:37:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:37: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:37:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:37:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:37:46] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:37: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 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:37:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:37:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:40:52] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:40:56] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:40:56] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :hansol, login_channel : null [10:40:56] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hansol(String) [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:40:56] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:40:56] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_01 [10:40:56] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:40:56] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co [10:40:56] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:40:56] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : hansol [10:40:56] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:40:56] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : true [10:40:56] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hansol(String) [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:40:56] [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:40:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hansol(String) [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:40:56] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:40:56] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: hansol, mappingList.size : 1 [10:40:56] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:40:56] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[hansol] roles roles [0]ROLE_01 [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: hansol(String), 01(String), FE672E49A26CB422705EFDB8B964BFE3(String), PHONE(String) [10:40:56] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:40:56] [DEBUG] controller.EssController - ----------------------------------------------- [10:40:56] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 73, param.plantSeq : 0 [10:40:56] [DEBUG] controller.EssController - ----------------------------------------------- [10:40:56] [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:40:56] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 0(Integer), 2022-04-14(String), 73(Integer), 0(Integer), 2022-04-13(String), 73(Integer), 0(Integer), 2022-04-15(String), 59229(Integer) [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.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:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 2022-04-15(String), 73(Integer), 2022-04-15(String), 73(Integer) [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:40: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.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:40: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 >= ? [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 01(String), 2022-04-01(String) [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:40:57] [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:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 01(String), 2022-04-15(String), 2022-04-15(String) [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:40: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 desc, d.pcsIdx asc [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 0(Integer), 2022-04-15(String), 73(Integer), 0(Integer), 2022-04-15(String) [10:40:57] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:40:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.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:40:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 73(Integer), 0(Integer), 73(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:40:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:40:58] [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:40:58] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 73(Integer), 1(Integer), 2022-04-15(String), 73(Integer), 1(Integer), 2022-04-15(String) [10:40:58] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:48: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 > 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:48:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:48:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:48:59] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 47 [10:49:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.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:49:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:49:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:49: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 [10:49:02] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [10:49:02] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:49:02] [DEBUG] controller.PmsController - connectPmsAjax ---------------->> ip : 121.191.191.130, port : 502, pcsIdx : 1, pcsMaker : 12 [10:49: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.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:49:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String) [10:49:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:49:10] [DEBUG] controller.MonitoringController - selectList : 쿼리조회시간 : 31 [10:49: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 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:49:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 2022-04-15(String), 2022-04-15(String) [10:49:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 80 [10:49:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [10:49:31] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String) [10:49:32] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:49:32] [DEBUG] controller.PmsController - connectPmsAjax ---------------->> ip : 121.191.191.130, port : 502, pcsIdx : 1, pcsMaker : 12 [10:49:39] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:49:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:49:53] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :admin03, login_channel : null [10:49:53] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:49:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:49:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String) [10:49:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:49:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:49:53] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String) [10:49:53] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:49:53] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![error : ] [10:49:53] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![userId : null] [10:50:05] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:50:05] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :admin03, login_channel : null [10:50:05] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String) [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:05] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:50:05] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_05 [10:50:05] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:50:05] [DEBUG] authentication.SavedRequestAwareAuthenticationSuccessHandler - Redirecting to DefaultSavedRequest Url: http://emsa.eltenergy.com/ess/view.co?plantSeq=85 [10:50:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:50:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : admin03 [10:50:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:50:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [10:50:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String) [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50: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 [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [10:50:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:50:05] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: admin03, mappingList.size : 79 [10:50:05] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:50:05] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[admin03] roles roles [0]ROLE_05 [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String), 05(String), 4269BD2DF99846B215B056FAFA5D6D0F(String), WEB(String) [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:50:05] [DEBUG] controller.EssController - ----------------------------------------------- [10:50:05] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 85, param.plantSeq : 85 [10:50:05] [DEBUG] controller.EssController - ----------------------------------------------- [10:50: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 [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 0(Integer), 2022-04-14(String), 85(Integer), 0(Integer), 2022-04-13(String), 85(Integer), 0(Integer), 2022-04-15(String), 59229(Integer) [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-15(String), 85(Integer), 2022-04-15(String), 85(Integer) [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 85(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:50:05] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.pvPower/p.supplyPower as pvPercent, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, count(seq) as count from t_pmsdata_2022 where pcsIdx=0 and inputDate = ? group by plantSeq ) d2 where d.plantSeq = d2.plantSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? ) d on p.seq = d.plantSeq ) p left join ( select inputHour as weatherHour, weatherCode, cloud from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ?) ) w on p.weatherCode = w.weatherCode order by p.pvPercent desc [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 2022-04-15(String) [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.geox, p.geoy, w.* from t_weather_2021 w, t_plant p where w.weatherCode = p.weatherCode and p.plantStatus='01' and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) order by p.seq desc [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:50:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(k.seq) as count from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-04-15(String), 2022-04-15(String), 01(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 0 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 31 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 16 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 340(Integer), 160(Integer), 340(Integer), 160(Integer), 340(Integer), 160(Integer), 340(Integer), 10(Integer), 990(Integer), 10(Integer), 990(Integer), 1(Integer), 2022-04-15(String), 2022-04-15(String), 01(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and ( d.data20 < ? or d.data20 > ? or d.data21 < ? or d.data21 > ?) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-15(String), 2022-04-15(String), 01(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputYmd, inputHour, count(inputYmd) as count from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ? ) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 31 [10:50:10] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 47 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 47 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, createDatetime, count(seq) as count from t_pmsdata_statistic_hour where inputDate=? and inputHour = (select max(inputHour) from t_pmsdata_statistic_hour where inputDate = ?) and pcsIdx=0 [10:50:10] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 47 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 31 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-14(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:10] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 0 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputYmd, typeCode, tradeYmd, min, max, avg from t_price where inputYmd between DATE_ADD(?, INTERVAL -8 DAY) and ? group by inputYmd, typeCode [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:50:10] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [10:50: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=? group 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:50:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 0(Integer) [10:50:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:50:11] [DEBUG] controller.MonitoringController - selectPlantPmsDataAvgPcsList : 쿼리조회시간 : 32 [10:50:11] [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:50:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:50:11] [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:50:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:50:11] [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:50:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [10:50:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:50:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:50:11] [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:50:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:50:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:50:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [10:50:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:50:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:50:11] [DEBUG] controller.JsonController - ------------------------------------- [10:50:11] [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":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [10:50:11] [DEBUG] controller.JsonController - ------------------------------------- [10:50:11] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:50:11] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.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:50: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-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [10:50:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:50:12] [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:50:12] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [10:50:12] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:50:13] [DEBUG] controller.EssController - ----------------------------------------------- [10:50:13] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [10:50:13] [DEBUG] controller.EssController - ----------------------------------------------- [10:50: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 [10:50:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:50:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:50:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59229(Integer) [10:50:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50: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 [10:50:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [10:50:13] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50: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 ?, ? [10:50:13] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:50:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:50:18] [DEBUG] controller.EssController - ----------------------------------------------- [10:50:18] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 86, param.plantSeq : 86 [10:50:18] [DEBUG] controller.EssController - ----------------------------------------------- [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, w.* from ( select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 ) p left join t_weather_2021 w on p.weatherCode = w.weatherCode and w.inputYmd= ? and w.inputHour = (select max(inputHour) from t_weather_2021 where inputYmd=?) order by p.seq desc [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 0(Integer), 2022-04-14(String), 86(Integer), 0(Integer), 2022-04-13(String), 86(Integer), 0(Integer), 2022-04-15(String), 59229(Integer) [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-15(String), 86(Integer), 2022-04-15(String), 86(Integer) [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:50:18] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 86(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:50:19] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) order by p.seq asc, d.pcsIdx asc [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.name as plantName, '1' as str1, 'warning' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) union all select p.name as plantName, '2' as str1, 'danger' as str2, d.* from t_pmsdata_2022 d, t_plant p where d.plantSeq = p.seq and d.inputDate=? and d.pcsIdx > 0 and ( d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0) and d.timetableSeq = (select currSeq from t_sequence where seq=10) ) d order by d.str1 asc, d.plantSeq asc, d.pcsIdx asc [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.name as plantName, k.* from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? order by k.inputDate desc, k.inputHour desc, k.plantSeq asc [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 180(Integer), 320(Integer), 30(Integer), 970(Integer), 30(Integer), 970(Integer), 1(Integer), 2022-04-15(String), 2022-04-15(String), 01(String), 0(Integer), 10(Integer) [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:50:21] [DEBUG] controller.JsonController - ------------------------------------- [10:50:21] [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":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [10:50:21] [DEBUG] controller.JsonController - ------------------------------------- [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select c.*, p.name as plantName from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? order by c.inputDate desc, c.seq desc [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [10:50:21] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:50:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: update t_login_2021 set updateTime = curtime() where id = ? and sessionId= ? [10:50:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: admin03(String), 4269BD2DF99846B215B056FAFA5D6D0F(String) [10:50:30] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:50:30] [DEBUG] controller.EssController - ----------------------------------------------- [10:50:30] [DEBUG] controller.EssController - /index.co called [10:50:30] [DEBUG] controller.EssController - ----------------------------------------------- [10:50:30] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:50:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:50:39] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [10:50:39] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:50:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:50:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:50:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:50:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:50:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:39] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![error : ] [10:50:39] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![userId : null] [10:50:47] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:50:47] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :GSNGsolar, login_channel : null [10:50:47] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:50:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:50:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:50:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:50:47] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: GSNGsolar(String) [10:50:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:50:47] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![error : ] [10:50:47] [DEBUG] controller.SignController - /sign/login.co ---------- error called!![userId : null] [10:50:56] [DEBUG] controller.EssController - ----------------------------------------------- [10:50:56] [DEBUG] controller.EssController - /index.co called [10:50:56] [DEBUG] controller.EssController - ----------------------------------------------- [10:50:56] [DEBUG] controller.SignController - /sign/login.co ---------- init called [userId :null] [10:58:35] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [10:58:35] [DEBUG] controller.TestIndexController - called /test/index.co ... [10:58:35] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [10:58:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:58:38] [DEBUG] security.UserAuthenticationProvider - authenticate :: user_id :user09, login_channel : null [10:58:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:58:38] [DEBUG] security.UserAuthenticationProvider - authenticate :: ROLE add :ROLE_09 [10:58:38] [DEBUG] security.UserAuthenticationProvider - ----------------------------------------------- [10:58:38] [DEBUG] authentication.AbstractAuthenticationTargetUrlRequestHandler - Using Referer header: http://emsa.eltenergy.com/test/index.co [10:58:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:58:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user_id : user09 [10:58:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: loginChannel : null [10:58:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: isMobile : false [10:58:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_user where id = ? and statusCode = '01' [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String) [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName from t_plant p left join t_pms m on p.seq = m.plantSeq and p.plantStatus = '01' and m.pmsStatus = '01' order by p.seq desc [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 79 [10:58:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:58:38] [DEBUG] security.UserAuthenticationSuccessHandler - authSuccProcess :: user :: user09, mappingList.size : 79 [10:58:38] [DEBUG] security.UserAuthenticationSuccessHandler - ----------------------------------------------- [10:58:38] [DEBUG] security.UserAuthenticationSuccessHandler - authProcess user[user09] roles roles [0]ROLE_09 [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_login_2021 ( id, roleCode, sessionId, loginChannel, loginDate, loginTime, updateTime ) values ( ?, ?, ?, ?, curdate(), curtime(), curtime() ) [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: user09(String), 09(String), 2268926B98BE84EB349DEE0FD1614E25(String), WEB(String) [10:58:38] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [10:58:38] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [10:58:38] [DEBUG] controller.TestIndexController - called /test/index.co ... [10:58:38] [DEBUG] controller.TestIndexController - --------------------------------------------------------- [10:58:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:58:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:58:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from ( select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.pvPower/p.supplyPower as pvPercent, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.geox, p.geoy, p.weatherCode, p.prate, p.drate, p.beginDate, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.plantStatus = ? and pm.pmsStatus = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, count(seq) as count from t_pmsdata_2022 where pcsIdx=0 and inputDate = ? group by plantSeq ) d2 where d.plantSeq = d2.plantSeq and d.seq = d2.seq and d.inputDate = ? and d.pcsIdx=? ) d on p.seq = d.plantSeq ) p left join ( select inputHour as weatherHour, weatherCode, cloud from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ?) ) w on p.weatherCode = w.weatherCode order by p.pvPercent desc [10:58:39] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 2022-04-15(String) [10:58:39] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.geox, p.geoy, w.* from t_weather_2021 w, t_plant p where w.weatherCode = p.weatherCode and p.plantStatus='01' and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) order by p.seq desc [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 57 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, count(inputHour) as count from t_weather_2021 where inputYmd = ? group by inputHour order by inputHour desc [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:58: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:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(k.seq) as count from t_kesco_data k, t_plant p where k.plantSeq = p.seq and k.inputDate between ? and ? and k.sendStatus = ? [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 00(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:40] [DEBUG] controller.MonitoringController - main_count.Kesco : 쿼리조회시간 : 0 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:40] [DEBUG] controller.MonitoringController - main_count.faultPms : 쿼리조회시간 : 0 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? [10:58:40] [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-15(String), 2022-04-15(String), 01(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data26 > 0 or d.data66 > 0 or d.data67 > 0 or d.data68 > 0 ) and d.inputDate between ? and ? and p.plantStatus = ? [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String), 01(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:40] [DEBUG] controller.MonitoringController - main_count.faultTemp : 쿼리조회시간 : 31 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_pms k where seq = (select max(seq) from t_timetable_pms k where k.inputDate = ? ) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:40] [DEBUG] controller.MonitoringController - main_data_count.pmsVo : 쿼리조회시간 : 0 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select * from t_timetable_kesco k where seq = (select max(seq) from t_timetable_kesco k where k.inputDate = ? ) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:40] [DEBUG] controller.MonitoringController - main_data_count.kescoVo : 쿼리조회시간 : 32 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:40] [DEBUG] controller.MonitoringController - main_count.alarmBatt : 쿼리조회시간 : 0 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputYmd, inputHour, count(inputYmd) as count from t_weather_2021 where inputYmd = ? and inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd = ? ) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:40] [DEBUG] controller.MonitoringController - main_data_count.weatherVo : 쿼리조회시간 : 0 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and d.data52 <> 0 and d.data53 <> 0 and d.data57 <> 0 and d.data58 <> 0 and ( d.data52 < ? or d.data52 > ? or d.data53 < ? or d.data53 > ? or (d.data54 <> 0 and d.data54 < ? ) or d.data54 > ? or (d.data55 <> 0 and d.data55 < ?) or d.data55 > ? or d.data57 < ? or d.data57 > ? or d.data58 < ? or d.data58 > ? ) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? [10:58:40] [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-15(String), 2022-04-15(String), 01(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:40] [DEBUG] controller.MonitoringController - main_count.alarmTemp : 쿼리조회시간 : 32 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputHour, createDatetime, count(seq) as count from t_pmsdata_statistic_hour where inputDate=? and inputHour = (select max(inputHour) from t_pmsdata_statistic_hour where inputDate = ?) and pcsIdx=0 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:40] [DEBUG] controller.MonitoringController - main_data_count.hourVo : 쿼리조회시간 : 15 [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(d.seq) as count from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and ( d.data20 < ? or d.data20 > ? or d.data21 < ? or d.data21 > ?) and d.pcsIdx = ? and d.inputDate between ? and ? and p.plantStatus = ? [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 160(Integer), 320(Integer), 160(Integer), 320(Integer), 1(Integer), 2022-04-15(String), 2022-04-15(String), 01(String) [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputMonth, inputDay, createDatetime, count(seq) as count from t_pmsdata_statistic_day where inputDate=? and pcsIdx=0; [10:58:40] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-14(String) [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:41] [DEBUG] controller.MonitoringController - main_data_count.dayVo : 쿼리조회시간 : 16 [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select * from t_price where inputYmd <= ? order by seq desc, typeCode desc ) R1 LIMIT 0, 2 [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:41] [DEBUG] controller.MonitoringController - main_count.alarmCellTempCount : 쿼리조회시간 : 31 [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(c.seq) as count from t_cs c, t_plant p where c.plantSeq = p.seq and c.procStatus = ? and c.inputDate between ? and ? [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 10(String), 2022-04-15(String), 2022-04-15(String) [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:41] [DEBUG] controller.MonitoringController - main_count.cs : 쿼리조회시간 : 31 [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select inputYmd, typeCode, tradeYmd, min, max, avg from t_price where inputYmd between DATE_ADD(?, INTERVAL -8 DAY) and ? group by inputYmd, typeCode [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:58:41] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 18 [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 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:58:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 01(String), 01(String), 2022-04-15(String), 0(Integer), 2022-04-15(String), 0(Integer) [10:58:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 55 [10:58: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 [10:58:45] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-15(String), 2022-04-15(String) [10:58:45] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:46] [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:58:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:58:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.name as plantName, p.weatherCode, p.geox, p.geoy, w.inputYmd, w.inputHour, w.temp, w.humi, w.rain, w.cloud, w.wind from t_plant p left join t_weather_2021 w on w.weatherCode = p.weatherCode and inputYmd= ? and w.inputHour = ( select max(inputHour) from t_weather_2021 where inputYmd=? ) where p.plantStatus='01' order by p.seq desc [10:58:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 2022-04-15(String) [10:58:46] [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:58:46] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 59 [10:58:46] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String) [10:58:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:58:47] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 16 [10:58:47] [DEBUG] controller.JsonController - ------------------------------------- [10:58:47] [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":"pcs_90_1","level":"2","className":"danger"},{"name":"end"}]} [10:58:47] [DEBUG] controller.JsonController - ------------------------------------- [10:58:51] [DEBUG] controller.EssController - ----------------------------------------------- [10:58:51] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 91 [10:58:51] [DEBUG] controller.EssController - ----------------------------------------------- [10:58:51] [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:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 2022-04-15(String), 2022-04-15(String) [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:51] [DEBUG] controller.EssController - ----------------------------------------------- [10:58:51] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 91, param.plantSeq : 91 [10:58:51] [DEBUG] controller.EssController - ----------------------------------------------- [10:58:51] [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:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 0(Integer), 2022-04-14(String), 91(Integer), 0(Integer), 2022-04-13(String), 91(Integer), 0(Integer), 2022-04-15(String), 59230(Integer) [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 2022-04-15(String), 91(Integer), 2022-04-15(String), 91(Integer) [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:58:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [10:58:59] [DEBUG] controller.EssController - ----------------------------------------------- [10:58:59] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 93 [10:58:59] [DEBUG] controller.EssController - ----------------------------------------------- [10:58: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.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:58:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-04-15(String), 2022-04-15(String) [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:59] [DEBUG] controller.EssController - ----------------------------------------------- [10:58:59] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 93, param.plantSeq : 93 [10:58:59] [DEBUG] controller.EssController - ----------------------------------------------- [10:58:59] [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:58:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-04-14(String), 93(Integer), 0(Integer), 2022-04-13(String), 93(Integer), 0(Integer), 2022-04-15(String), 59230(Integer) [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58: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.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:58:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-04-15(String), 93(Integer), 2022-04-15(String), 93(Integer) [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:58:59] [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:58:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 0 [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 01(String), 2022-04-01(String) [10:58:59] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [10:59:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 0(Integer), 2022-04-15(String), 93(Integer), 0(Integer), 2022-04-15(String) [10:59:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:59:00] [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:59:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 93(Integer), 0(Integer), 93(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:59:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:59:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [10:59:00] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 93(Integer), 1(Integer), 2022-04-15(String), 93(Integer), 1(Integer), 2022-04-15(String) [10:59:00] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:59:08] [DEBUG] controller.EssController - ----------------------------------------------- [10:59:08] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 90 [10:59:08] [DEBUG] controller.EssController - ----------------------------------------------- [10:59: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 [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-15(String), 2022-04-15(String) [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59:08] [DEBUG] controller.EssController - ----------------------------------------------- [10:59:08] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 90, param.plantSeq : 90 [10:59:08] [DEBUG] controller.EssController - ----------------------------------------------- [10:59: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 [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 0(Integer), 2022-04-14(String), 90(Integer), 0(Integer), 2022-04-13(String), 90(Integer), 0(Integer), 2022-04-15(String), 59230(Integer) [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and 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:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-15(String), 90(Integer), 2022-04-15(String), 90(Integer) [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59: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 ?, ? [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [10:59: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 >= ? [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 01(String), 2022-04-01(String) [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59: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 [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 0(Integer), 2022-04-15(String), 90(Integer), 0(Integer), 2022-04-15(String) [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 90(Integer), 0(Integer), 90(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [10:59:08] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [10:59: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 [10:59:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 1(Integer), 2022-04-15(String), 90(Integer), 1(Integer), 2022-04-15(String) [10:59:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 10 [10:59:14] [DEBUG] controller.EssController - ----------------------------------------------- [10:59:14] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 91 [10:59:14] [DEBUG] controller.EssController - ----------------------------------------------- [10:59:14] [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:59:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 2022-04-15(String), 2022-04-15(String) [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59:14] [DEBUG] controller.EssController - ----------------------------------------------- [10:59:14] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 91, param.plantSeq : 91 [10:59:14] [DEBUG] controller.EssController - ----------------------------------------------- [10:59: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 [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 0(Integer), 2022-04-14(String), 91(Integer), 0(Integer), 2022-04-13(String), 91(Integer), 0(Integer), 2022-04-15(String), 59230(Integer) [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59: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 [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 2022-04-15(String), 91(Integer), 2022-04-15(String), 91(Integer) [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [10:59: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 ?, ? [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 91(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [10:59:14] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 3 [11:00:07] [DEBUG] controller.EssController - ----------------------------------------------- [11:00:07] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 88 [11:00:07] [DEBUG] controller.EssController - ----------------------------------------------- [11:00: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:00:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 2022-04-15(String), 2022-04-15(String) [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:00:07] [DEBUG] controller.EssController - ----------------------------------------------- [11:00:07] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 88, param.plantSeq : 88 [11:00:07] [DEBUG] controller.EssController - ----------------------------------------------- [11:00: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 [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 0(Integer), 2022-04-14(String), 88(Integer), 0(Integer), 2022-04-13(String), 88(Integer), 0(Integer), 2022-04-15(String), 59230(Integer) [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 2022-04-15(String), 88(Integer), 2022-04-15(String), 88(Integer) [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [11:00:07] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:00:30] [DEBUG] controller.EssController - ----------------------------------------------- [11:00:30] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 88 [11:00:30] [DEBUG] controller.EssController - ----------------------------------------------- [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, d.createDatetime as pmsdataDatetime, d.count as count, d.timetableSeq from ( select p.*, m.plantSeq, m.ip, m.port, m.pmsStatus, m.startIdx, m.pmsMaker, m.pmsModel, m.pcsMaker, m.pcsVolume, m.pcsQuantity, m.batteryMaker, m.batteryModel, m.batteryVolume, m.batteryQuantity, (m.pcsVolume * m.pcsQuantity) as supplyPcsPower, (m.batteryVolume * m.batteryQuantity) as supplyBatteryPower, ( select name from t_code where groupType='pcs_maker' and code=m.pcsMaker ) as pcsMakerName, ( select name from t_code where groupType='battery_maker' and code=m.batteryMaker ) as batteryMakerName, m.msgGroupPcs, m.msgGroupBattery from t_plant p left join t_pms m on p.seq = m.plantSeq where 1=1 and p.seq = ? ) p left join ( select plantSeq, d.inputDate, d.pcsIdx, max(d.createDatetime) as createDatetime , count(d.seq) as count, max(timetableSeq) as timetableSeq from t_pmsdata_2022 d where d.inputDate = ? and d.pcsIdx = 0 group by plantSeq ) d on p.plantSeq = d.plantSeq and d.inputDate = ? and d.pcsIdx = 0 order by p.seq desc [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 2022-04-15(String), 2022-04-15(String) [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:00:30] [DEBUG] controller.EssController - ----------------------------------------------- [11:00:30] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 88, param.plantSeq : 88 [11:00:30] [DEBUG] controller.EssController - ----------------------------------------------- [11:00: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 [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 0(Integer), 2022-04-14(String), 88(Integer), 0(Integer), 2022-04-13(String), 88(Integer), 0(Integer), 2022-04-15(String), 59230(Integer) [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:00: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 [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 2022-04-15(String), 88(Integer), 2022-04-15(String), 88(Integer) [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:00: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 ?, ? [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 88(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [11:00:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 2 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer), 2022-04-15(String), 11(String), 05(String), 833.7(Float), 2145.3(Float), 2.3(Float), 1391611.0(Float), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 92(Integer) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 1(Integer), 45345.0(Double), 0.0(Double), 45.3(Double), 0.0(Double), 58.0(Double), 586.8(Double), 34034.4(Double), 36.0(Double), 0.0(Double), 125300.0(Double), 66987.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 2(Integer), 45687.0(Double), 0.0(Double), 45.7(Double), 0.0(Double), 58.3(Double), 591.5(Double), 34482.5(Double), 38.6(Double), 0.0(Double), 125200.0(Double), 80188.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 3(Integer), 45329.0(Double), 0.0(Double), 45.3(Double), 0.0(Double), 58.6(Double), 585.5(Double), 34310.3(Double), 37.4(Double), 0.0(Double), 125600.0(Double), 68677.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 4(Integer), 45510.0(Double), 0.0(Double), 45.5(Double), 0.0(Double), 58.5(Double), 587.5(Double), 34366.8(Double), 37.7(Double), 0.0(Double), 126300.0(Double), 72086.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 5(Integer), 45985.0(Double), 0.0(Double), 46.0(Double), 0.0(Double), 59.2(Double), 587.7(Double), 34791.8(Double), 38.8(Double), 0.0(Double), 127100.0(Double), 81977.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 6(Integer), 46285.0(Double), 0.0(Double), 46.3(Double), 0.0(Double), 59.2(Double), 587.2(Double), 34760.3(Double), 37.5(Double), 0.0(Double), 128500.0(Double), 81792.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 7(Integer), 45463.0(Double), 0.0(Double), 45.5(Double), 0.0(Double), 58.6(Double), 586.3(Double), 34359.1(Double), 36.6(Double), 0.0(Double), 124900.0(Double), 66245.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 8(Integer), 45541.0(Double), 0.0(Double), 45.5(Double), 0.0(Double), 58.7(Double), 586.7(Double), 34441.2(Double), 37.7(Double), 0.0(Double), 106800.0(Double), 77400.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 9(Integer), 44994.0(Double), 0.0(Double), 45.0(Double), 0.0(Double), 57.7(Double), 588.1(Double), 33933.4(Double), 37.0(Double), 0.0(Double), 63800.0(Double), 65968.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 10(Integer), 45877.0(Double), 0.0(Double), 45.9(Double), 0.0(Double), 58.5(Double), 592.6(Double), 34667.1(Double), 36.9(Double), 0.0(Double), 112600.0(Double), 78478.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 11(Integer), 45869.0(Double), 0.0(Double), 45.9(Double), 0.0(Double), 58.6(Double), 591.5(Double), 34663.9(Double), 36.9(Double), 0.0(Double), 114700.0(Double), 78698.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 12(Integer), 46049.0(Double), 0.0(Double), 46.0(Double), 0.0(Double), 58.4(Double), 592.7(Double), 34615.6(Double), 36.7(Double), 0.0(Double), 118600.0(Double), 80096.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 13(Integer), 45691.0(Double), 0.0(Double), 45.7(Double), 0.0(Double), 58.9(Double), 586.2(Double), 34525.2(Double), 36.7(Double), 0.0(Double), 116900.0(Double), 79241.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 14(Integer), 45464.0(Double), 0.0(Double), 45.5(Double), 0.0(Double), 58.7(Double), 583.2(Double), 34233.8(Double), 36.9(Double), 0.0(Double), 111800.0(Double), 78117.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 15(Integer), 40126.0(Double), 0.0(Double), 40.1(Double), 0.0(Double), 48.9(Double), 587.9(Double), 28749.9(Double), 34.1(Double), 0.0(Double), 110200.0(Double), 71340.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 16(Integer), 39874.0(Double), 0.0(Double), 39.9(Double), 0.0(Double), 49.1(Double), 583.4(Double), 28644.9(Double), 36.8(Double), 0.0(Double), 97900.0(Double), 68069.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 17(Integer), 40578.0(Double), 0.0(Double), 40.6(Double), 0.0(Double), 49.8(Double), 584.4(Double), 29103.1(Double), 35.2(Double), 0.0(Double), 112600.0(Double), 72203.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 18(Integer), 28219.0(Double), 0.0(Double), 28.2(Double), 0.0(Double), 48.9(Double), 577.6(Double), 28243.0(Double), 30.8(Double), 0.0(Double), 70200.0(Double), 48942.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19402(Integer), 92(Integer), 19(Integer), 45797.0(Double), 0.0(Double), 45.8(Double), 0.0(Double), 58.1(Double), 592.8(Double), 34443.6(Double), 36.3(Double), 0.0(Double), 126300.0(Double), 75107.0(Double), 01(String) [11:05:03] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.*, v.plantSeq, v.url1, v.url2, v.port, v.link, v.ivtType, v.ivtStatus, v.ivtMaker, v.ivtQuantity, v.syncType, v.key1, v.key2, v.updateDatetime, (select max(createDatetime) from t_ivtoverview where plantSeq = p.seq) as ivtDatetime, p.plantType from t_ivtjunc v, t_plant p where v.plantSeq = p.seq and p.seq = ? order by p.seq desc [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtoverview ( plantSeq, inputDate, inputHour, inputMinute, currPower, todayEnergy, todayHours, lifetimeEnergy, ovStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer), 2022-04-15(String), 11(String), 05(String), 145.5(Float), 358.7(Float), 1.8(Float), 30093.0(Float), 01(String) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select max(oseq) as oseq from t_ivtoverview where plantSeq = ? [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 99(Integer) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19403(Integer), 99(Integer), 1(Integer), 43900.0(Double), 0.0(Double), 44.0(Double), 3.1(Double), 82.1(Double), 537.5(Double), 44126.0(Double), 50.5(Double), 100.0(Double), 89200.0(Double), 7491.0(Double), 01(String) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19403(Integer), 99(Integer), 2(Integer), 41500.0(Double), 0.0(Double), 41.5(Double), 2.8(Double), 75.6(Double), 550.5(Double), 41620.3(Double), 48.6(Double), 100.0(Double), 90700.0(Double), 7601.0(Double), 01(String) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19403(Integer), 99(Integer), 3(Integer), 32800.0(Double), 0.0(Double), 32.8(Double), 2.2(Double), 59.6(Double), 551.2(Double), 32853.5(Double), 41.8(Double), 100.0(Double), 88400.0(Double), 7422.0(Double), 01(String) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: insert into t_ivtdata_2022 ( oseq, plantSeq, ivtIdx, acPower, acFreq, apparentPower, reactivePower, dcCurr, dcVolt, dcPower, temp, powerFactor, todayEnergy, lifetimeEnergy, ivtStatus, createDatetime ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now() ) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 19403(Integer), 99(Integer), 4(Integer), 30600.0(Double), 0.0(Double), 30.6(Double), 2.2(Double), 55.7(Double), 547.6(Double), 30501.3(Double), 36.4(Double), 100.0(Double), 90600.0(Double), 7579.0(Double), 01(String) [11:05:09] [DEBUG] jdbc.BaseJdbcLogger - <== Updates: 1 [11:07:29] [DEBUG] controller.EssController - ----------------------------------------------- [11:07:29] [DEBUG] controller.EssController - viewPlant.co change plant :: plantSeq :: 90 [11:07:29] [DEBUG] controller.EssController - ----------------------------------------------- [11: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 [11:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-15(String), 2022-04-15(String) [11:07:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07:29] [DEBUG] controller.EssController - ----------------------------------------------- [11:07:29] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 90, param.plantSeq : 90 [11:07:29] [DEBUG] controller.EssController - ----------------------------------------------- [11:07: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:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [11:07:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [11:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 0(Integer), 2022-04-14(String), 90(Integer), 0(Integer), 2022-04-13(String), 90(Integer), 0(Integer), 2022-04-15(String), 59231(Integer) [11:07:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07: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:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-15(String), 90(Integer), 2022-04-15(String), 90(Integer) [11:07:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07: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:07:29] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [11:07:29] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [11:07: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:07:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 01(String), 2022-04-01(String) [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour desc, d.pcsIdx asc [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 0(Integer), 2022-04-15(String), 90(Integer), 0(Integer), 2022-04-15(String) [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, d.pvPower as todayPvPower, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.*, m.chargePower as y1ChargePower, m.dischargePower as y1DischargePower from t_pmsdata_statistic_day d left join t_pmsdata_statistic_month m on d.plantSeq = m.plantSeq and d.pcsIdx = m.pcsIdx and m.inputDate = concat(date_format(date_add(?, INTERVAL -1 MONTH), '%Y-%m'), '-01') and m.plantSeq = ? and m.pcsIdx = ? where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate between ? and ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.inputYear desc, d.inputMonth desc, d.inputDay desc, d.pcsIdx asc [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 90(Integer), 0(Integer), 90(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 1(Integer), 2022-04-15(String), 90(Integer), 1(Integer), 2022-04-15(String) [11:07:30] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:07:51] [DEBUG] controller.EssController - ----------------------------------------------- [11:07:51] [DEBUG] controller.EssController - /ess/view.co :: plantSeq :: 90, param.plantSeq : 90 [11:07:51] [DEBUG] controller.EssController - ----------------------------------------------- [11:07:51] [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:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String), 2022-04-15(String) [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsQuantity, m.pcsMaker, m.batteryMaker, p.name as plantName from ( select d.*, s.y1ChargePower, s.y1DischargePower, s.y1PvPower, s.y2ChargePower, s.y2DischargePower, s.y2PvPower from t_pmsdata_2022 d left join ( select s1.plantSeq, s1.pcsIdx, s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower, s1.pvPower as y1PvPower, s2.chargePower as y2ChargePower, s2.dischargePower as y2DischargePower, s2.pvPower as y2PvPower from t_pmsdata_statistic_day s1 , t_pmsdata_statistic_day s2 where s1.plantSeq = s2.plantSeq and s1.pcsIdx = s2.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = ? and s2.plantSeq = ? and s2.pcsIdx = ? and s2.inputDate = ? ) s on d.plantSeq = s.plantSeq and d.pcsIdx = s.pcsIdx where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? and d.timetableSeq = ? ) d, t_pms m, t_plant p where d.plantSeq = p.seq and d.plantSeq = m.plantSeq order by d.seq desc [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 0(Integer), 2022-04-14(String), 90(Integer), 0(Integer), 2022-04-13(String), 90(Integer), 0(Integer), 2022-04-15(String), 59231(Integer) [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select p.seq as plantSeq, p.plantName, p.plantStatus, p.supplyPower, p.weatherCode, p.pmsStatus, p.pcsMaker, p.pcsQuantity, d.seq, d.pcsIdx, d.timetableSeq, d.inputDate, d.inputHour, d.inputMinute, d.chargePower, d.dischargePower, d.pvPower, d.dayPvPower, (p.pcsVolume * p.pcsQuantity) as supplyPcsPower, (p.batteryVolume * p.batteryQuantity) as supplyBatteryPower, d.data1, d.data2, d.data3, d.data4, d.data5, d.data6, d.data7, d.data8, d.data9, d.data10, d.data11, d.data12, d.data13, d.data14, d.data15, d.data16, d.data17, d.data18, d.data19, d.data20, d.data21, d.data22, d.data23, d.data24, d.data25, d.data26, d.data27, d.data28, d.data29, d.data30, d.data31, d.data32, d.data33, d.data34, d.data35, d.data36, d.data51, d.data52, d.data53, d.data54, d.data55, d.data56, d.data57, d.data58, d.data59, d.data60, d.data61, d.data62, d.data63, d.data64, d.data65, d.data66, d.data67, d.data68, d.data69, d.data70, d.createDatetime, d.count from ( select p.seq, p.name as plantName, p.plantStatus, p.supplyPower, p.weatherCode, pm.pmsStatus, pm.pcsMaker, pm.pcsQuantity, pm.pcsVolume, pm.batteryQuantity, pm.batteryVolume from t_plant p, t_pms pm where p.seq = pm.plantSeq and p.seq = ? ) p left join ( select d.*, d2.count from t_pmsdata_2022 d, ( select plantSeq, max(seq) as seq, max(timetableSeq) as timetableSeq, count(seq) as count from t_pmsdata_2022 where inputDate = ? and plantSeq = ? and pcsIdx > 0 group by plantSeq, pcsIdx ) d2 where d.plantSeq = d2.plantSeq and d.timetableSeq = d2.timetableSeq and d.seq = d2.seq and d.inputDate = ? and d.plantSeq = ? and d.pcsIdx > 0 group by d.plantSeq, d.pcsIdx ) d on p.seq = d.plantSeq order by p.seq desc, d.pcsIdx asc [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-15(String), 90(Integer), 2022-04-15(String), 90(Integer) [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: SELECT R1.* FROM ( select p.name as plantName, d.*, m.pcsMaker as 'plant.pcsMaker', m.batteryMaker as 'plant.batteryMaker', m.msgGroupPcs as 'plant.msgGroupPcs', m.msgGroupBattery as 'plant.msgGroupBattery', m.pcsQuantity as 'plant.pcsQuantity', m.batteryQuantity as 'plant.batteryQuantity' from t_pmsdata_2022 d, t_plant p, t_pms m where p.seq = d.plantSeq and p.seq = m.plantSeq and d.pcsIdx > 0 and (d.data25 > 0 or d.data62 > 0 or d.data63 > 0 or d.data64 > 0 or d.data28 > 0 or d.data29 > 0 or d.data69 > 0 or d.data70 > 0 ) and d.plantSeq = ? and d.inputDate between ? and ? order by d.inputDate desc, d.inputHour desc, d.inputMinute desc, d.plantSeq asc ) R1 LIMIT ?, ? [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 2022-04-08(String), 2022-04-15(String), 0(Integer), 5(Integer) [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 5 [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select count(a.seq) as count from t_board a left join t_plant p on a.plantSeq = p.seq where 1=1 and ( a.plantSeq = ? or a.plantSeq = 0 ) and a.statusCode = ? and a.beginDate >= ? [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 01(String), 2022-04-01(String) [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 1 [11:07: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 [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 0(Integer), 2022-04-15(String), 90(Integer), 0(Integer), 2022-04-15(String) [11:07:51] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11 [11:07: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 [11:07:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 2022-04-15(String), 90(Integer), 0(Integer), 90(Integer), 0(Integer), 2022-04-06(String), 2022-04-15(String) [11:07:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 9 [11:07:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Preparing: select d.*, m.pcsMaker, m.batteryMaker, p.name as plantName, p.supplyPower from ( select d.* , s1.chargePower as y1ChargePower, s1.dischargePower as y1DischargePower from t_pmsdata_statistic_hour d left join t_pmsdata_statistic_day s1 on d.plantSeq = s1.plantSeq and d.pcsIdx = s1.pcsIdx and s1.plantSeq = ? and s1.pcsIdx = ? and s1.inputDate = date_format(date_add(?, INTERVAL -1 DAY), '%Y-%m-%d') where 1=1 and d.plantSeq = ? and d.pcsIdx = ? and d.inputDate = ? ) d, t_pms m, t_plant p where d.plantSeq = m.plantSeq and d.plantSeq = p.seq order by d.plantSeq desc, d.inputHour asc, d.pcsIdx asc [11:07:52] [DEBUG] jdbc.BaseJdbcLogger - ==> Parameters: 90(Integer), 1(Integer), 2022-04-15(String), 90(Integer), 1(Integer), 2022-04-15(String) [11:07:52] [DEBUG] jdbc.BaseJdbcLogger - <== Total: 11