equal
deleted
inserted
replaced
24 public: |
24 public: |
25 searchRltWrapper(); |
25 searchRltWrapper(); |
26 ~searchRltWrapper(); |
26 ~searchRltWrapper(); |
27 |
27 |
28 public: |
28 public: |
|
29 /* |
|
30 * RowData: [direction: in] table row value |
|
31 * bOpt: [direction: in] true = the db connection should be open; |
|
32 */ |
|
33 bool addSearchRlt(const columnMap* const RowData, |
|
34 bool bOpt = true); |
|
35 |
|
36 void addSearchRltFinished(); |
29 /* |
37 /* |
30 * RowData: [direction: in]table row value; |
38 * RowData: [direction: in]table row value; |
31 * condAND: [direction: in]condition for search searchRlt, it is AND relationship in every pair; |
39 * condAND: [direction: in]condition for search searchRlt, it is AND relationship in every pair; |
32 * condOR: [direction: in]condition for search searchRlt, it is OR relationship in every pair; |
40 * condOR: [direction: in]condition for search searchRlt, it is OR relationship in every pair; |
33 */ |
41 */ |
67 * condUserCidStr:[direction: in]specific condition(where) string for user-define uid; |
75 * condUserCidStr:[direction: in]specific condition(where) string for user-define uid; |
68 * condAND: [direction: in]condition for search channelHistory, it is AND relationship in every pair; |
76 * condAND: [direction: in]condition for search channelHistory, it is AND relationship in every pair; |
69 * condOR: [direction: in]condition for search channelHistory, it is OR relationship in every pair; |
77 * condOR: [direction: in]condition for search channelHistory, it is OR relationship in every pair; |
70 * uint: return channelId; |
78 * uint: return channelId; |
71 */ |
79 */ |
72 uint srhChannelId(QString& condUserCidStr, |
80 uint srhChannelId(const columnMap* const condAND = NULL, |
73 const columnMap* const condAND, |
|
74 const columnMap* const condOR = NULL); |
81 const columnMap* const condOR = NULL); |
75 |
82 /* |
|
83 * create QString List for handle(insert/update) the data come from search view |
|
84 * channelId: [direction: in] channel id; |
|
85 * RowData: [direction: in] input data; |
|
86 * sqlList: [direction: out] return sql string; |
|
87 */ |
|
88 void combineSqlStr(const uint& channelId, |
|
89 const columnMap* const RowData, |
|
90 QStringList& sqlList); |
76 }; |
91 }; |
77 |
92 |
78 #endif |
93 #endif |