일괄처리 추가
platform_name = 'post', 'story', 'channel'일 경우 sns으로 변경 git-svn-id: svn://192.168.0.12/source@244 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
@@ -86,6 +86,10 @@ void SDataDlg::DataReload(QString _strTableName,int _nSelect)
|
||||
for (int i = 0; i < pTable->columnCount() ; i++)
|
||||
{
|
||||
QString str = query.value(i).toString().replace("\n"," ");
|
||||
if((i == GetColumn().getColumnIndex("platform_form")) && (str.trimmed() == "post" || str.trimmed() == "channel" || str.trimmed() == "story"))
|
||||
str = "sns";
|
||||
if((i == GetColumn().getColumnIndex("platform_form")) && (str.trimmed() == "group"))
|
||||
str = "community";
|
||||
pTable->setItem(nCount,i,new QTableWidgetItem(" "+str.replace("\t"," ")+" "));
|
||||
}
|
||||
nCount++;
|
||||
|
||||
Reference in New Issue
Block a user