| | |
| | | |
| | | // c erlang init |
| | | erl_init(NULL, 0); |
| | | |
| | | struct in_addr addr; |
| | | addr.s_addr = inet_addr("127.0.0.1"); |
| | | |
| | |
| | | std::cout << m_ret << std::endl; |
| | | // 判断节点是否启动成功 |
| | | m_ret = waitNode(); |
| | | // erl_close_connection(m_fd); |
| | | resetConn(); |
| | | return m_ret; |
| | | } else { |
| | |
| | | "Select a.uuid as id ,a.faceUrl as img,a.feature,b.idCard as idcard,b.enabled,b.monitorLevel from '" + |
| | | str_tableUuid + |
| | | "_fea' as a ,'" + str_tableUuid + "' as b where a.uuid = b.uuid and ( a.del_flag=0 AND b.del_flag=0);"); |
| | | //Select a.uuid as id ,a.faceUrl as img,a.feature,b.idCard as idcard,b.enabled,b.monitorLevel from '0cd82a8b-5285-5737-ab19-8c07247c797e_fea' as a ,'0cd82a8b-5285-5737-ab19-8c07247c797e' as b where a.uuid = b.uuid and ( a.del_flag=0 AND b.del_flag=0); |
| | | QSqlQuery query(g_syncDbFile); |
| | | query.prepare(sql); |
| | | if (!query.exec()) { |