git-svn-id: svn://192.168.0.12/source@34 8346c931-da38-4b9b-9d4c-e48b93cbd075

This commit is contained in:
admin
2015-03-03 09:02:01 +00:00
parent 08748187b3
commit 46f2c2487a

View File

@@ -89,7 +89,7 @@ QGroupBox *Widget::setKeywordWidgets()
m_pcbRealTime->addItems(QStringList() << "false" << "true"); m_pcbRealTime->addItems(QStringList() << "false" << "true");
m_pcbPlatform = new QComboBox; m_pcbPlatform = new QComboBox;
m_pcbPlatform->addItems(QStringList() << "NaverCafe" << "NaverBlog"); m_pcbPlatform->addItems(QStringList() << "NaverCafe" << "NaverBlog" << "DaumCafe");
m_pleKeyword = new QLineEdit; m_pleKeyword = new QLineEdit;
m_pleAuthorship = new QLineEdit; m_pleAuthorship = new QLineEdit;
@@ -289,7 +289,7 @@ void Widget::on_keyword_button_modify()
"end = STR_TO_DATE('%2', '%Y-%m-%d')," "end = STR_TO_DATE('%2', '%Y-%m-%d'),"
"searches = '%3'," "searches = '%3',"
"realtime = %4," "realtime = %4,"
"searches = '%5' " "authorship = '%5' "
"where id = '%6'") "where id = '%6'")
.arg(m_pdeStart->date().toString("yyyy-MM-dd")) .arg(m_pdeStart->date().toString("yyyy-MM-dd"))
.arg(m_pdeEnd->date().toString("yyyy-MM-dd")) .arg(m_pdeEnd->date().toString("yyyy-MM-dd"))
@@ -304,7 +304,7 @@ void Widget::on_keyword_button_modify()
"end = STR_TO_DATE('%2', '%Y-%m-%d')," "end = STR_TO_DATE('%2', '%Y-%m-%d'),"
"searches = '%3'," "searches = '%3',"
"realtime = %4," "realtime = %4,"
"searches = '%5'," "authorship = '%5',"
"platform = %6 " "platform = %6 "
"where id = '%7'") "where id = '%7'")
.arg(m_pdeStart->date().toString("yyyy-MM-dd")) .arg(m_pdeStart->date().toString("yyyy-MM-dd"))
@@ -375,9 +375,10 @@ void Widget::on_group_button_insert()
"article_hit INT," "article_hit INT,"
"article_date DATETIME," "article_date DATETIME,"
"article_order SMALLINT," "article_order SMALLINT,"
"article_profileurl VARCHAR(512),"
"platform_id CHAR(128)," "platform_id CHAR(128),"
"keyword_id INT," "keyword_id INT,"
"reply_url VARCHAR(1024)) CHARSET=utf8"; "reply_url VARCHAR(1024)) CHARSET=utf8"; //varchar(512) imageurl 생성하
sql.exec(strQuery); sql.exec(strQuery);
m_pmodelGroup->setQuery("SELECT * FROM datagroup"); m_pmodelGroup->setQuery("SELECT * FROM datagroup");
} }