|
|
@@ -84,8 +84,8 @@ public class homepage extends Controller {
|
|
|
* @return
|
|
|
*/
|
|
|
public String query_supplyanddemandMain() {
|
|
|
- long tsupplyanddemandid = content.getLong("tsupplyanddemandid");
|
|
|
- long tagentsid = content.getLong("tagentsid");
|
|
|
+ long tsupplyanddemandid = content.getLongValue("tsupplyanddemandid");
|
|
|
+ long tagentsid = content.getLongValue("tagentsid");
|
|
|
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "供需详情查询");
|
|
|
sqlFactory.addParameter("siteid", siteid);
|
|
|
@@ -256,8 +256,6 @@ public class homepage extends Controller {
|
|
|
agentlistSql = new SQLFactory(this, "热门商户列表_全部", pageSize, pageNumber, "t1.ftype,t1.frownum");
|
|
|
agentlistSql.addParameter("siteid", siteid);
|
|
|
}
|
|
|
-
|
|
|
- System.err.println(agentlistSql.getSQL());
|
|
|
Rows rows = dbConnect.runSqlQuery(agentlistSql.getSQL());
|
|
|
RowsMap map = getAttachmentUrl("texcellentagents", rows.toArrayList("texcellentagentsid"));
|
|
|
for (Row row : rows) {
|
|
|
@@ -286,7 +284,6 @@ public class homepage extends Controller {
|
|
|
}
|
|
|
prodlistSql.addParameter("siteid", siteid);
|
|
|
prodlistSql.addParameter("ftype", "%" + ftype + "%");
|
|
|
- System.err.println(prodlistSql.getSQL());
|
|
|
Rows rows = dbConnect.runSqlQuery(prodlistSql.getSQL());
|
|
|
for (Row row : rows) {
|
|
|
row.put("attinfos", getAttachmentUrl("texcellenproducts", row.getString("texcellenproductid")));
|