|
|
@@ -145,8 +145,10 @@ public class homepage extends Controller {
|
|
|
* @return
|
|
|
*/
|
|
|
public String prodList() {
|
|
|
- SQLFactory prodlistSql = new SQLFactory(this, "优质商品",pageSize,pageNumber,"t1.tagents_productid");
|
|
|
+ long tagentsid = content.getLongValue("tagentsid");
|
|
|
+ SQLFactory prodlistSql = new SQLFactory(this, "优质商品", pageSize, pageNumber, "t1.tagents_productid");
|
|
|
prodlistSql.addParameter("siteid", siteid);
|
|
|
+ prodlistSql.addParameter("tagentsid", tagentsid);
|
|
|
//prodlistSql.addParameter("saleprodclass", content.getString("saleprodclass"));
|
|
|
Rows rows = prodlistSql.runSqlQuery();
|
|
|
RowsMap map = getAttachmentUrl("tagents_product", rows.toArrayList("tagents_productid"));
|
|
|
@@ -158,9 +160,10 @@ public class homepage extends Controller {
|
|
|
|
|
|
/**
|
|
|
* 展会活动信息
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
- public String activityMsg(){
|
|
|
+ public String activityMsg() {
|
|
|
SQLFactory sql = new SQLFactory(this, "活动信息展示");
|
|
|
Rows rows = sql.runSqlQuery();
|
|
|
return getSucReturnObject().setData(rows).toString();
|