|
|
@@ -69,12 +69,14 @@ public class supplyanddemand extends Controller {
|
|
|
dialoglistSQL.addParameter("userid",userid);
|
|
|
dialoglistSQL.addParameter_in("tsupplyanddemandid", rows.toArrayList("tsupplyanddemandid"));
|
|
|
System.err.println(dialoglistSQL.getSQL());
|
|
|
+
|
|
|
Rows dialogrows = dbConnect.runSqlQuery(dialoglistSQL.getSQL());
|
|
|
|
|
|
SQLFactory timnewmsgSQL = new SQLFactory(this, "即时通讯群最新消息查询");
|
|
|
timnewmsgSQL.addParameter("siteid", siteid);
|
|
|
timnewmsgSQL.addParameter("userid",userid);
|
|
|
timnewmsgSQL.addParameter_in("timdialogid", dialogrows.toArrayList("timdialogid"));
|
|
|
+ System.err.println(timnewmsgSQL.getSQL());
|
|
|
RowsMap newmsgmap = timnewmsgSQL.runSqlQuery().toRowsMap("timdialogid");
|
|
|
for (Row drow : dialogrows) {
|
|
|
Rows newmsgrows = newmsgmap.get(drow.getString("timdialogid"));
|