[TAILING] Tailing last 1000 lines for [app] process (change the value with --lines option)
/home/hscodes/.pm2/logs/app-error.log last 1000 lines:
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tempSecret' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1370:68
1|app      |     at /home/hscodes/Api/models/mainModel.js:1769:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tempSecret' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1370:68
1|app      |     at /home/hscodes/Api/models/mainModel.js:1769:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tempSecret' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1370:68
1|app      |     at /home/hscodes/Api/models/mainModel.js:1769:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tempSecret' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1370:68
1|app      |     at /home/hscodes/Api/models/mainModel.js:1769:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | Sun, 03 Jul 2022 06:33:58 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:1980:17
1|app      | Sun, 03 Jul 2022 07:43:33 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:136:17
1|app      | TypeError: Cannot read property '0' of undefined
1|app      |     at Object.exports.getinsertviewleaddeatils (/home/hscodes/Api/models/mainModel.js:1870:370)
1|app      |     at exports.updateviewcreditsdataCtrl (/home/hscodes/Api/controllers/mainCtrl.js:1917:12)
1|app      |     at Layer.handle [as handle_request] (/home/hscodes/Api/node_modules/express/lib/router/layer.js:95:5)
1|app      |     at next (/home/hscodes/Api/node_modules/express/lib/router/route.js:137:13)
1|app      |     at Route.dispatch (/home/hscodes/Api/node_modules/express/lib/router/route.js:112:3)
1|app      |     at Layer.handle [as handle_request] (/home/hscodes/Api/node_modules/express/lib/router/layer.js:95:5)
1|app      |     at /home/hscodes/Api/node_modules/express/lib/router/index.js:281:22
1|app      |     at Function.process_params (/home/hscodes/Api/node_modules/express/lib/router/index.js:335:12)
1|app      |     at next (/home/hscodes/Api/node_modules/express/lib/router/index.js:275:10)
1|app      |     at Function.handle (/home/hscodes/Api/node_modules/express/lib/router/index.js:174:3)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | Tue, 05 Jul 2022 06:17:07 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:136:17
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:722:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:722:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:722:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:722:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:722:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:722:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:722:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | SyntaxError: Unexpected string in JSON at position 16
1|app      |     at JSON.parse (<anonymous>)
1|app      |     at parse (/home/hscodes/Api/node_modules/body-parser/lib/types/json.js:89:19)
1|app      |     at /home/hscodes/Api/node_modules/body-parser/lib/read.js:121:18
1|app      |     at invokeCallback (/home/hscodes/Api/node_modules/raw-body/index.js:224:16)
1|app      |     at done (/home/hscodes/Api/node_modules/raw-body/index.js:213:7)
1|app      |     at IncomingMessage.onEnd (/home/hscodes/Api/node_modules/raw-body/index.js:273:7)
1|app      |     at IncomingMessage.emit (events.js:214:15)
1|app      |     at IncomingMessage.EventEmitter.emit (domain.js:476:20)
1|app      |     at endReadableNT (_stream_readable.js:1178:12)
1|app      |     at processTicksAndRejections (internal/process/task_queues.js:77:11)
1|app      | SyntaxError: Unexpected string in JSON at position 16
1|app      |     at JSON.parse (<anonymous>)
1|app      |     at parse (/home/hscodes/Api/node_modules/body-parser/lib/types/json.js:89:19)
1|app      |     at /home/hscodes/Api/node_modules/body-parser/lib/read.js:121:18
1|app      |     at invokeCallback (/home/hscodes/Api/node_modules/raw-body/index.js:224:16)
1|app      |     at done (/home/hscodes/Api/node_modules/raw-body/index.js:213:7)
1|app      |     at IncomingMessage.onEnd (/home/hscodes/Api/node_modules/raw-body/index.js:273:7)
1|app      |     at IncomingMessage.emit (events.js:214:15)
1|app      |     at IncomingMessage.EventEmitter.emit (domain.js:476:20)
1|app      |     at endReadableNT (_stream_readable.js:1178:12)
1|app      |     at processTicksAndRejections (internal/process/task_queues.js:77:11)
1|app      | Fri, 08 Jul 2022 13:41:30 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:136:17
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | Sun, 10 Jul 2022 13:16:23 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:749:21
1|app      | Wed, 13 Jul 2022 09:02:49 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:136:17
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:944:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'table_nm' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:745:36
1|app      |     at /home/hscodes/Api/models/mainModel.js:430:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | Mon, 18 Jul 2022 07:51:38 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:1980:17
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | Mon, 18 Jul 2022 11:53:25 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:136:17
1|app      | TypeError: Cannot read property 'length' of undefined
1|app      |     at Object.exports.postmembershiprestrictiondetailsMdl (/home/hscodes/Api/models/mainModel.js:588:55)
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:864:28
1|app      |     at /home/hscodes/Api/models/mainModel.js:572:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.OkPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:74:10)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      | Fri, 29 Jul 2022 14:36:06 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:1881:17
1|app      | Fri, 29 Jul 2022 14:36:25 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:975:17
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | TypeError: Cannot read property 'tfa' of undefined
1|app      |     at /home/hscodes/Api/controllers/mainCtrl.js:1473:16
1|app      |     at /home/hscodes/Api/models/mainModel.js:1743:13
1|app      |     at Query.<anonymous> (/home/hscodes/Api/utils/dbutils.js:12:31)
1|app      |     at Query.<anonymous> (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:526:10)
1|app      |     at Query._callback (/home/hscodes/Api/node_modules/mysql/lib/Connection.js:488:16)
1|app      |     at Query.Sequence.end (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
1|app      |     at Query._handleFinalResultPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
1|app      |     at Query.EofPacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
1|app      |     at Protocol._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Protocol.js:291:23)
1|app      |     at Parser._parsePacket (/home/hscodes/Api/node_modules/mysql/lib/protocol/Parser.js:433:10)
1|app      | Sat, 30 Jul 2022 04:42:41 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:1881:17
1|app      | Sat, 30 Jul 2022 04:42:53 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:975:17
1|app      | Sat, 30 Jul 2022 05:48:44 GMT express deprecated res.send(status, body): Use res.status(status).send(body) instead at controllers/mainCtrl.js:3447:25

/home/hscodes/.pm2/logs/app-out.log last 1000 lines:
1|app      |   usr_ctgry: 'User',
1|app      |   remember: true
1|app      | }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='logistics.kiizasupply@gmail.com' and  usr_password='Promisa1' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | {
1|app      |   usr_ph: 'logistics.kiizasupply@gmail.com',
1|app      |   usr_password: 'PromisaI',
1|app      |   usr_ctgry: 'User',
1|app      |   remember: true
1|app      | }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='logistics.kiizasupply@gmail.com' and  usr_password='PromisaI' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { country: 'MY' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'MY' and d_in=0
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { usr_ph: 'hscodesllc@gmail.com', usr_password: 'bvk9369bvk' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { usr_ph: 'hscodesllc@gmail.com', usr_password: 'bvk9369bvk' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | 65 select * from usr_dtl_t u
1|app      |         left join continent_dtl_t c on c.continent_id=u.usr_continent
1|app      | LEFT join country_dtl_t cntry on cntry.country_id=u.usr_country
1|app      | left join hscodes_state_dtl_t s on s.state_id=u.usr_state where u.d_in=0 and referred_by='257' and mail_verification_ind=1;SELECT * FROM usr_membership_dtl_t where curdate() <date(membership_end_date) order by member_ship_id desc
1|app      | 65 select * from usr_dtl_t u
1|app      |         left join continent_dtl_t c on c.continent_id=u.usr_continent
1|app      | LEFT join country_dtl_t cntry on cntry.country_id=u.usr_country
1|app      | left join hscodes_state_dtl_t s on s.state_id=u.usr_state where u.d_in=0 and referred_by='257' and mail_verification_ind=1;SELECT * FROM usr_membership_dtl_t where curdate() <date(membership_end_date) order by member_ship_id desc
1|app      | SELECT * FROM hscodes_rfq_dtl_t where d_in=0 ORDER BY rfq_unique_id DESC;select * from hscodes_freight_quotation_dtl_t where d_in=0 order by request_quotation_id desc;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | {
1|app      |   usr_ph: 'hscodesllc@gmail.com',
1|app      |   usr_password: 'bvk9369bvk',
1|app      |   usr_ctgry: 'User',
1|app      |   remember: false
1|app      | }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { indicator: 4 }
1|app      | { indicator: 4 }
1|app      | select * from hscodes_version_dtl_t where d_in=0;
1|app      | { usr_password: 'Bvk9369bvk', usr_ph: 'hscfaiz@gmail.com' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscfaiz@gmail.com' and  usr_password='Bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | select * from hscodes_welcomemsg_dtl_t where d_in=0;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='808') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | SELECT section_id,section_nm,chapter_display_nm,section_img,section_display_nm FROM section_dtl_t where d_in=0;
1|app      | error2
1|app      | error2
1|app      | { indicator: 1, created_by: null, country_name: 'T' }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0 and country_name like 'T%';
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { indicator: 1, created_by: null, country_name: 'R' }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0 and country_name like 'R%';
1|app      |  SELECT sec.section_nm,pc.purchase_chapter_id,cb.id as credit_debit_id,l.*,usr.*,lead_ctgry_nm,chat.chat_id,CASE
1|app      |     WHEN t.transport_in=1 THEN 'AIR' 
1|app      |     WHEN t.transport_in=2 THEN 'SEA' 
1|app      |     WHEN t.transport_in=3 THEN 'ROAD'  
1|app      |      WHEN t.transport_in=4 THEN 'RAIL'  
1|app      |     ELSE 'ASWP'
1|app      |  END as loadingporttype,CASE
1|app      |     WHEN trans.transport_in=1 THEN 'AIR' 
1|app      |     WHEN trans.transport_in=2 THEN 'SEA' 
1|app      |     WHEN trans.transport_in=3 THEN 'ROAD'  
1|app      |      WHEN trans.transport_in=4 THEN 'RAIL'  
1|app      |     ELSE 'ASWP'
1|app      |  END as destinationporttype,
1|app      |                         c.chapter_id,chapter_cmpr_id,
1|app      |                         c.chapter_nm,
1|app      |                         currency_cd,
1|app      |                         currency_nm,
1|app      |                         continent_nm,
1|app      |                         
1|app      |                         
1|app      |                         ctry.country_cd,
1|app      |                         ctry.country_nm,
1|app      |                         ctry.country_region, 
1|app      |                         loadctry.country_nm as loadingcountry,
1|app      |                         destctry.country_nm as destinationcountry,
1|app      |                         
1|app      |                     
1|app      |                         
1|app      |                         
1|app      |                         tlp.transport_id as loadingtransport_id,
1|app      |                         tlp.icao_cd as loadingicao_cd,
1|app      |                         tlp.iata_cd as loadingiata_cd,
1|app      |                         tlp.trnsport_nm as loadingtrnsport_nm,
1|app      |                         tlp.city_nm as loadingcity_nm,
1|app      |                         
1|app      |                         
1|app      |                         
1|app      |                         tdp.transport_id as desttransport_id,
1|app      |                         tdp.icao_cd as desticao_cd,
1|app      |                         tdp.iata_cd as destiata_cd,
1|app      |                         tdp.trnsport_nm as desttrnsport_nm,
1|app      |                         tdp.city_nm as destcity_nm from lead_dtl_t l
1|app      |                         join lead_ctgry_dtl_t cat on cat.lead_ctgry_id=l.lead_type
1|app      |                         join section_dtl_t sec on sec.section_id=l.lead_category
1|app      |                         join chapter_dtl_t c on c.chapter_id=l.lead_chapter
1|app      |                         
1|app      |                         join currency_dtl_t cur on cur.currency_id=l.lead_currency
1|app      |                         join continent_dtl_t cont on cont.continent_id=l.lead_continent
1|app      |                         
1|app      |                         join country_dtl_t ctry on ctry.country_id=l.lead_country
1|app      |                         join country_dtl_t loadctry on loadctry.country_id=l.loading_port_country
1|app      |                         join country_dtl_t destctry on destctry.country_id=l.destination_port_country
1|app      |                         
1|app      |                         join (SELECT * from hscodes_transport_dtl_t group by transport_in) t on t.transport_in=l.loading_port_type
1|app      |                         join (SELECT * from hscodes_transport_dtl_t group by transport_in) trans on trans.transport_in=l.destination_port_type
1|app      |                         
1|app      |                         
1|app      |                         join hscodes_transport_dtl_t tlp on tlp.transport_id=l.loading_port
1|app      |                         join hscodes_transport_dtl_t tdp on tdp.transport_id=l.destination_port
1|app      |                         left join (SELECT * from credits_debit_t where usr_id='808') as cb on cb.lead_id=l.lead_id
1|app      |                         left join usr_dtl_t usr on usr.usr_id=l.created_by
1|app      |                         left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='808') as pc on pc.chapter_id=l.lead_chapter
1|app      |                         left join (SELECT * from hscodes_chat_dtl_t where chat_usr_id='808' and chat_country_id='230' and d_in=0 ) chat on chat.chat_hscode=l.lead_hscode
1|app      |                         
1|app      |                         where date(lead_expiry_date)>curdate()  and lead_chapter in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99) and l.d_in=0 and l.approve_in=1 ;
1|app      | error2
1|app      | SELECT * FROM hscodes_limit_restriction_dtl_t where date(subscription_end_dt)>curdate() and user_usage_cnt<max_limit_count and usr_id='null'
1|app      | {
1|app      |   usr_ph: 'hscodesllc@gmail.com',
1|app      |   usr_password: 'bvk9369bvk',
1|app      |   usr_ctgry: 'User',
1|app      |   remember: false
1|app      | }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | {
1|app      |   usr_ph: 'hscodesllc@gmail.com',
1|app      |   usr_password: 'bvk9369bvk',
1|app      |   usr_ctgry: 'User',
1|app      |   remember: false
1|app      | }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | {}
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='undefined' and  usr_password='undefined' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | select * from hscodes_dshbrd_usr_dtl_t where uname='IN-An-79' and upass='IN-An-79' and variation_indicator=1; 
1|app      | 65 select * from usr_dtl_t u
1|app      |         left join continent_dtl_t c on c.continent_id=u.usr_continent
1|app      | LEFT join country_dtl_t cntry on cntry.country_id=u.usr_country
1|app      | left join hscodes_state_dtl_t s on s.state_id=u.usr_state where u.d_in=0 and referred_by='257' and mail_verification_ind=1;SELECT * FROM usr_membership_dtl_t where curdate() <date(membership_end_date) order by member_ship_id desc
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | select * from hscodes_dshbrd_usr_dtl_t where uname='IN-An-79' and upass='IN-An-79' and variation_indicator=1; 
1|app      | 65 select * from usr_dtl_t u
1|app      |         left join continent_dtl_t c on c.continent_id=u.usr_continent
1|app      | LEFT join country_dtl_t cntry on cntry.country_id=u.usr_country
1|app      | left join hscodes_state_dtl_t s on s.state_id=u.usr_state where u.d_in=0 and referred_by='257' and mail_verification_ind=1;SELECT * FROM usr_membership_dtl_t where curdate() <date(membership_end_date) order by member_ship_id desc
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | select * from hscodes_dshbrd_usr_dtl_t where uname='IN-An-79' and upass='IN-An-79' and variation_indicator=1; 
1|app      | 65 select * from usr_dtl_t u
1|app      |         left join continent_dtl_t c on c.continent_id=u.usr_continent
1|app      | LEFT join country_dtl_t cntry on cntry.country_id=u.usr_country
1|app      | left join hscodes_state_dtl_t s on s.state_id=u.usr_state where u.d_in=0 and referred_by='257' and mail_verification_ind=1;SELECT * FROM usr_membership_dtl_t where curdate() <date(membership_end_date) order by member_ship_id desc
1|app      | select * from hscodes_dshbrd_usr_dtl_t where uname='undefined' and upass='undefined' and variation_indicator=1; 
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { usr_ph: 'hscodesllc@gmail.com', usr_password: 'bvk9369bvk' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { usr_ph: 'hscodesllc@gmail.com', usr_password: 'bvk9369bvk' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | {
1|app      |   usr_ph: 'gunjanjkumar@gmail.com',
1|app      |   usr_password: 'garcha50',
1|app      |   usr_ctgry: 'User',
1|app      |   remember: false
1|app      | }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjanjkumar@gmail.com' and  usr_password='garcha50' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | {
1|app      |   usr_ph: 'IN-An-79',
1|app      |   usr_password: 'In-an-79',
1|app      |   usr_ctgry: 'User',
1|app      |   remember: false
1|app      | }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='IN-An-79' and  usr_password='In-an-79' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | select * from hscodes_dshbrd_usr_dtl_t where uname='IN-An-79' and upass='In-an-79' and variation_indicator=1; 
1|app      | 65 select * from usr_dtl_t u
1|app      |         left join continent_dtl_t c on c.continent_id=u.usr_continent
1|app      | LEFT join country_dtl_t cntry on cntry.country_id=u.usr_country
1|app      | left join hscodes_state_dtl_t s on s.state_id=u.usr_state where u.d_in=0 and referred_by='257' and mail_verification_ind=1;SELECT * FROM usr_membership_dtl_t where curdate() <date(membership_end_date) order by member_ship_id desc
1|app      | { usr_ph: 'gunjankumar.atos@gmail.com', usr_password: 'Support$321A' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjankumar.atos@gmail.com' and  usr_password='Support$321A' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { usr_ph: 'gunjankumar.atos@gmail.com', usr_password: 'Support$321A' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjankumar.atos@gmail.com' and  usr_password='Support$321A' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { usr_ph: 'gunjankumar.atos@gmail.com', usr_password: 'Support$321A' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjankumar.atos@gmail.com' and  usr_password='Support$321A' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { usr_ph: 'gunjankumar.atos@gmail.com', usr_password: 'Support$321A' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjankumar.atos@gmail.com' and  usr_password='Support$321A' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { usr_ph: 'gunjankumar.atos@gmail.com', usr_password: 'Support$321A' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjankumar.atos@gmail.com' and  usr_password='Support$321A' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { usr_ph: 'gunjankumar.atos@gmail.com', usr_password: 'Support$321A' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjankumar.atos@gmail.com' and  usr_password='Support$321A' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | SELECT * from currency_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | select * from hscodes_membership_desc_dtl_t where d_in=0
1|app      | SELECT * FROM currency_dtl_t where country_id='101' and d_in=0;
1|app      | select * from hscodes_membership_desc_dtl_t where d_in=0
1|app      | SELECT * FROM currency_dtl_t where country_id='101' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT * from currency_dtl_t where d_in=0;
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | { usr_ph: 'gunjankumar.atos@gmail.com', usr_password: 'Support$321A' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjankumar.atos@gmail.com' and  usr_password='Support$321A' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | 65 select * from usr_dtl_t u
1|app      |         left join continent_dtl_t c on c.continent_id=u.usr_continent
1|app      | LEFT join country_dtl_t cntry on cntry.country_id=u.usr_country
1|app      | left join hscodes_state_dtl_t s on s.state_id=u.usr_state where u.d_in=0 and referred_by='257' and mail_verification_ind=1;SELECT * FROM usr_membership_dtl_t where curdate() <date(membership_end_date) order by member_ship_id desc
1|app      | SELECT * FROM hscodes_rfq_dtl_t where d_in=0 ORDER BY rfq_unique_id DESC;select * from hscodes_freight_quotation_dtl_t where d_in=0 order by request_quotation_id desc;
1|app      | {
1|app      |   chapter_id: [
1|app      |      1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12,
1|app      |     13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
1|app      |     25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
1|app      |     37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
1|app      |     49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
1|app      |     61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
1|app      |     73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
1|app      |     85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
1|app      |     97, 98, 99
1|app      |   ],
1|app      |   country_id: 153,
1|app      |   usr_id: 257
1|app      | }
1|app      |  SELECT sec.section_nm,l.*,usr.*,lead_ctgry_nm,CASE
1|app      |     WHEN t.transport_in=1 THEN 'AIR' 
1|app      |     WHEN t.transport_in=2 THEN 'SEA' 
1|app      |     WHEN t.transport_in=3 THEN 'ROAD'  
1|app      |      WHEN t.transport_in=4 THEN 'RAIL'  
1|app      |     ELSE 'ASWP'
1|app      |  END as loadingporttype,CASE
1|app      |     WHEN trans.transport_in=1 THEN 'AIR' 
1|app      |     WHEN trans.transport_in=2 THEN 'SEA' 
1|app      |     WHEN trans.transport_in=3 THEN 'ROAD'  
1|app      |      WHEN trans.transport_in=4 THEN 'RAIL'  
1|app      |     ELSE 'ASWP'
1|app      |  END as destinationporttype,
1|app      |                         c.chapter_id,chapter_cmpr_id,
1|app      |                         c.chapter_nm,
1|app      |                         currency_cd,
1|app      |                         currency_nm,
1|app      |                         continent_nm,
1|app      |                         
1|app      |                         
1|app      |                         ctry.country_cd,
1|app      |                         ctry.country_nm,
1|app      |                         ctry.country_region, 
1|app      |                         loadctry.country_nm as loadingcountry,
1|app      |                         destctry.country_nm as destinationcountry,
1|app      |                         
1|app      |                     
1|app      |                         
1|app      |                         
1|app      |                         tlp.transport_id as loadingtransport_id,
1|app      |                         tlp.icao_cd as loadingicao_cd,
1|app      |                         tlp.iata_cd as loadingiata_cd,
1|app      |                         tlp.trnsport_nm as loadingtrnsport_nm,
1|app      |                         tlp.city_nm as loadingcity_nm,
1|app      |                         
1|app      |                         
1|app      |                         
1|app      |                         tdp.transport_id as desttransport_id,
1|app      |                         tdp.icao_cd as desticao_cd,
1|app      |                         tdp.iata_cd as destiata_cd,
1|app      |                         tdp.trnsport_nm as desttrnsport_nm,
1|app      |                         tdp.city_nm as destcity_nm from lead_dtl_t l
1|app      |                         join lead_ctgry_dtl_t cat on cat.lead_ctgry_id=l.lead_type
1|app      |                         join section_dtl_t sec on sec.section_id=l.lead_category
1|app      |                         join chapter_dtl_t c on c.chapter_id=l.lead_chapter
1|app      |                         
1|app      |                         join currency_dtl_t cur on cur.currency_id=l.lead_currency
1|app      |                         join continent_dtl_t cont on cont.continent_id=l.lead_continent
1|app      |                         
1|app      |                         join country_dtl_t ctry on ctry.country_id=l.lead_country
1|app      |                         join country_dtl_t loadctry on loadctry.country_id=l.loading_port_country
1|app      |                         join country_dtl_t destctry on destctry.country_id=l.destination_port_country
1|app      |                         
1|app      |                         join (SELECT * from hscodes_transport_dtl_t group by transport_in) t on t.transport_in=l.loading_port_type
1|app      |                         join (SELECT * from hscodes_transport_dtl_t group by transport_in) trans on trans.transport_in=l.destination_port_type
1|app      |                         
1|app      |                         
1|app      |                         join hscodes_transport_dtl_t tlp on tlp.transport_id=l.loading_port
1|app      |                         join hscodes_transport_dtl_t tdp on tdp.transport_id=l.destination_port
1|app      |                         left join usr_dtl_t usr on usr.usr_id=l.created_by  
1|app      |                         where date(lead_expiry_date)>curdate()  and lead_chapter in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99) and l.d_in=0 and l.approve_in=1 and usr.referred_by='257';
1|app      | error2
1|app      | 65 select * from usr_dtl_t u
1|app      |         left join continent_dtl_t c on c.continent_id=u.usr_continent
1|app      | LEFT join country_dtl_t cntry on cntry.country_id=u.usr_country
1|app      | left join hscodes_state_dtl_t s on s.state_id=u.usr_state where u.d_in=0 and referred_by='257' and mail_verification_ind=1;SELECT * FROM usr_membership_dtl_t where curdate() <date(membership_end_date) order by member_ship_id desc
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { country: 'US' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'US' and d_in=0
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code FROM country_dtl_t where continent_id='5' and d_in=0;
1|app      | SELECT state_id,state_nm FROM hscodes_state_dtl_t where country_id='223' and  d_in=0;
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | { indicator: 2, country_id: null }
1|app      | { indicator: 2, country_id: null }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='null';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='null';
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='null') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | { indicator: 1, created_by: null, country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | { usr_ph: 'hscodesllc@gmail.com', usr_password: 'bvk9369bvk' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { usr_ph: 'hscodesllc@gmail.com', usr_password: 'bvk9369bvk' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | { usr_ph: 'hscodesllc@gmail.com', usr_password: 'bvk9369bvk' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='hscodesllc@gmail.com' and  usr_password='bvk9369bvk' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | { usr_ph: 'gunjanjkumar@gmail.com', usr_password: 'Garcha50' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjanjkumar@gmail.com' and  usr_password='Garcha50' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | null
1|app      | HSCODES.WORLD NEW SERVER 04-02-2022 is listening at https://::8888
1|app      | { usr_ph: 'gunjanjkumar@gmail.com', usr_password: 'Garcha50' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjanjkumar@gmail.com' and  usr_password='Garcha50' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | true
1|app      | null
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code FROM country_dtl_t where continent_id='2: 2' and d_in=0;
1|app      | SELECT state_id,state_nm FROM hscodes_state_dtl_t where country_id='101' and  d_in=0;
1|app      | {
1|app      |   usr_nm: 'Jai',
1|app      |   salutation: 'Mr.',
1|app      |   gender: 'Male',
1|app      |   last_nm: 'J',
1|app      |   middle_nm: '',
1|app      |   usr_ph: 8178421332,
1|app      |   usr_email: 'gunjan.jk@hscodes.world',
1|app      |   usr_address: 'Dhanbad',
1|app      |   usr_password: 'Garcha50',
1|app      |   usr_continent: 2,
1|app      |   usr_country: 101,
1|app      |   usr_state: 5,
1|app      |   usr_pincode: 826001,
1|app      |   isd_ph_code: 91,
1|app      |   organisation: 'JJc',
1|app      |   bestknown: 'Importer',
1|app      |   referred_by: '0',
1|app      |   lat: 17.4867162,
1|app      |   lng: 78.3857514
1|app      | }
1|app      | SELECT u.* ,c.country_email,c.continent_email from usr_dtl_t u
1|app      |     join country_dtl_t c on c.country_id=u.usr_country
1|app      |     where u.usr_email='gunjan.jk@hscodes.world' or u.usr_ph='8178421332';
1|app      | {
1|app      |   usr_nm: 'Jai',
1|app      |   salutation: 'Mr.',
1|app      |   gender: 'Male',
1|app      |   last_nm: 'J',
1|app      |   middle_nm: '',
1|app      |   usr_ph: 8178421332,
1|app      |   usr_email: 'gunjan.jk@hscodes.world',
1|app      |   usr_address: 'Dhanbad',
1|app      |   usr_password: 'Garcha50',
1|app      |   usr_continent: 2,
1|app      |   usr_country: 101,
1|app      |   usr_state: 5,
1|app      |   usr_pincode: 826001,
1|app      |   isd_ph_code: 91,
1|app      |   organisation: 'JJc',
1|app      |   bestknown: 'Importer',
1|app      |   referred_by: '0',
1|app      |   lat: 17.4867162,
1|app      |   lng: 78.3857514
1|app      | }
1|app      | INSERT INTO usr_dtl_t(usr_nm,salutation,gender,last_nm,middle_nm,usr_ph,usr_email,usr_address,usr_password,usr_continent,usr_country,usr_state,usr_pincode,std_cd,referred_by,organisation,lat,lng,d_in,usr_i_ts,bestknown) values ('Jai','Mr.','Male','J','','8178421332','gunjan.jk@hscodes.world','Dhanbad','Garcha50','2','101','5','826001','91','0','JJc','17.4867162','78.3857514','0','2022-07-30 13:15:07','Importer');
1|app      | 924
1|app      | https://hscodes.world/#/welcome;k_EAIaIQobChMI_grid_4S7oZb45gIVzsreCh2kRAucEAAYASAAEgIFcfD_BwE_k_&ext_vrnchi&gclidEAIaIQobChMI_4S7oZb45gIVzsreCh2kRAucEAAYASAAEgIFcfD_BwE=924
1|app      | API called successfully. Returned data: {"messageId":"<202207300945.78988039885@smtp-relay.mailin.fr>"}
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | select * from hscodes_dshbrd_usr_dtl_t where uname='IN-An-79' and upass='IN-An-79' and variation_indicator=1; 
1|app      | 65 select * from usr_dtl_t u
1|app      |         left join continent_dtl_t c on c.continent_id=u.usr_continent
1|app      | LEFT join country_dtl_t cntry on cntry.country_id=u.usr_country
1|app      | left join hscodes_state_dtl_t s on s.state_id=u.usr_state where u.d_in=0 and referred_by='257' and mail_verification_ind=1;SELECT * FROM usr_membership_dtl_t where curdate() <date(membership_end_date) order by member_ship_id desc
1|app      | 924
1|app      | 2023-07-30 13:16:36
1|app      | insert into usr_membership_dtl_t (usr_id,member_ship_id,membership_name,membership_start_date,membership_end_date,usr_credits,i_ts,d_in,ammount,usd_ammount) values('924',4,'Free','2022-07-30 13:16:36','2023-07-30 13:16:36',0,'2022-07-30 13:16:36',0,0,'0')
1|app      | SELECT u.*,c.country_email,c.continent_email  FROM usr_dtl_t u
1|app      |     join country_dtl_t c on c.country_id=u.usr_country
1|app      |     
1|app      |     WHERE u.usr_id = '924'
1|app      | [
1|app      |   RowDataPacket {
1|app      |     usr_id: 924,
1|app      |     usr_nm: 'Jai',
1|app      |     last_nm: 'J',
1|app      |     middle_nm: '',
1|app      |     salutation: 'Mr.',
1|app      |     gender: 'Male',
1|app      |     usr_ph: 8178421332,
1|app      |     usr_email: 'gunjan.jk@hscodes.world',
1|app      |     usr_address: 'Dhanbad',
1|app      |     usr_password: 'Garcha50',
1|app      |     usr_continent: 2,
1|app      |     usr_country: 101,
1|app      |     usr_state: '5',
1|app      |     usr_district: 0,
1|app      |     usr_pincode: 826001,
1|app      |     usr_img: null,
1|app      |     usr_role: null,
1|app      |     d_in: 0,
1|app      |     usr_i_ts: 2022-07-30T07:45:07.000Z,
1|app      |     u_ts: null,
1|app      |     d_ts: null,
1|app      |     premium_payment_indicator: 0,
1|app      |     membership_type_indicator: 4,
1|app      |     membership_startdate: null,
1|app      |     membership_enddate: null,
1|app      |     deleted_by: 0,
1|app      |     total_credits: 0,
1|app      |     referred_by: 0,
1|app      |     organisation: 'JJc',
1|app      |     mail_verification_ind: 1,
1|app      |     std_cd: '91',
1|app      |     continent_n: '0',
1|app      |     country_n: '0',
1|app      |     lat: '17.4867162',
1|app      |     lng: '78.3857514',
1|app      |     player_id: '0',
1|app      |     c_export: null,
1|app      |     c_import: null,
1|app      |     c_img: null,
1|app      |     bestknown: 'Importer',
1|app      |     edited_by: 0,
1|app      |     e_ts: null,
1|app      |     usr_star_rating: 0,
1|app      |     otp: 0,
1|app      |     country_email: 'hscw.in@hscodes.world',
1|app      |     continent_email: 'hscw.asia@hscodes.world'
1|app      |   }
1|app      | ]
1|app      | false
1|app      | [ '0' ] Mail Verified Successfully YmYxZDJhOGUtZmU4MS00ZjI3LTkyYmQtMzk3NzhlZTg1MGRk 4384a65c-4b5f-44c0-93cb-a5c49ce2d062 Mail Verified
1|app      | 1 player id=>0
1|app      | API called successfully. Returned data: {"messageId":"<202207300946.16888230999@smtp-relay.mailin.fr>"}
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | { indicator: 2, country_id: '101' }
1|app      | { indicator: 2, country_id: '101' }
1|app      | select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Import' and country_indicator='101';select t.*,country_nm from hscodes_top_exports_imports_dtl_t t
1|app      |       join country_dtl_t c on c.country_id=t.country_indicator
1|app      |       where t.d_in=0 and product_type='Export' and country_indicator='101';
1|app      | SELECT chapter_id,chapter_cmpr_id,chapter_nm,section_id,chapter_img FROM chapter_dtl_t where  d_in=0;
1|app      | select lead_id,description,lead_type,lead_display_id,lead_hscode,lead_expiry_date,l.i_ts,purchase_chapter_id,lead_chapter from lead_dtl_t l
1|app      | left join (SELECT * FROM hscodes_purchase_chapter_dtl_t where date(expiry_date)>curdate() and usr_id='1') as pc on pc.chapter_id=l.lead_chapter
1|app      | where approve_in=1 and lead_expiry_date> curdate() ORDER by lead_id DESC;
1|app      | { indicator: 1, created_by: '1', country_name: 0 }
1|app      | SELECT * from hscodes_flag_dtl_t where country_code!='0' and d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | { country: 'IN' }
1|app      | SELECT * FROM country_dtl_t WHERE country_cd LIKE 'IN' and d_in=0
1|app      | { usr_ph: 'gunjan.jk@hscodes.world', usr_password: 'Garcha50' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjan.jk@hscodes.world' and  usr_password='Garcha50' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | true
1|app      | null
1|app      | { usr_ph: 'gunjan.jk@hscodes.world', usr_password: 'Garcha50' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjan.jk@hscodes.world' and  usr_password='Garcha50' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | true
1|app      | null
1|app      | HSCODES.WORLD NEW SERVER 04-02-2022 is listening at https://::8888
1|app      | { usr_ph: 'gunjan.jk@hscodes.world', usr_password: 'Garcha50' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjan.jk@hscodes.world' and  usr_password='Garcha50' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | true
1|app      | Results =null
1|app      | HSCODES.WORLD NEW SERVER 04-02-2022 is listening at https://::8888
1|app      | { usr_ph: 'gunjan.jk@hscodes.world', usr_password: 'Garcha50' }
1|app      | SELECT 	mail_verification_ind,std_cd,salutation,last_nm,middle_nm,gender,DATE_FORMAT(u.usr_i_ts,"%Y-%m-%d") as signupdate,usr_img,std_cd,mail_verification_ind,usr_address,organisation,usr_continent,usr_country,usr_district,usr_email,u.usr_id,usr_nm,usr_password,usr_ph,usr_state,DATE_FORMAT(pc.expiry_date,"%Y-%m-%d") as chapterend,DATE_FORMAT(m.membership_end_date,"%Y-%m-%d")  as memberend,DATE_FORMAT(u.membership_enddate,"%Y-%m-%d") as parentend,DATE_FORMAT(m.membership_start_date,"%Y-%m-%d") as parentstart,DATE_FORMAT(u.membership_startdate,"%Y-%m-%d") as memberstart,DATE_FORMAT(pc.start_date,"%Y-%m-%d")  as chapterstart,membership_type_indicator,premium_payment_indicator,purchase_chapter_id,pc.member_ship_id as package_indicator,pc.chapter_id,pc.chapter_nm,membership_id,membership_name,section_id,c.country_nm from (SELECT * from usr_dtl_t where d_in=0) u 
1|app      |     LEFT join (SELECT * from usr_membership_dtl_t where d_in=0)  m on m.usr_id=u.usr_id
1|app      |     
1|app      |      LEFT join (SELECT * from hscodes_purchase_chapter_dtl_t where d_in=0) pc on pc.parent_membership_id=m.membership_id
1|app      |     left join chapter_dtl_t as cd on cd.chapter_id =pc.chapter_id
1|app      |      join country_dtl_t as c on c.country_id = u.usr_country
1|app      |     where u.usr_email='gunjan.jk@hscodes.world' and  usr_password='Garcha50' GROUP BY purchase_chapter_id; 
1|app      | error2
1|app      | true
1|app      | Results =null

