|
@@ -108,14 +108,14 @@ public class tagents extends Controller {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
public String query_agentsMain() {
|
|
public String query_agentsMain() {
|
|
|
- tagentsid = content.getLong("tagentsid");
|
|
|
|
|
|
|
+ long tagentsid = content.getLong("tagentsid");
|
|
|
SQLFactory sql = new SQLFactory(this, "商户主界面查询");
|
|
SQLFactory sql = new SQLFactory(this, "商户主界面查询");
|
|
|
sql.addParameter("siteid", siteid);
|
|
sql.addParameter("siteid", siteid);
|
|
|
sql.addParameter("tagentsid", tagentsid);
|
|
sql.addParameter("tagentsid", tagentsid);
|
|
|
Rows rows = dbConnect.runSqlQuery(sql.getSQL());
|
|
Rows rows = dbConnect.runSqlQuery(sql.getSQL());
|
|
|
for (Row row : rows) {
|
|
for (Row row : rows) {
|
|
|
row.put("saleprodclass", JSONArray.parseArray(row.getString("saleprodclass")));
|
|
row.put("saleprodclass", JSONArray.parseArray(row.getString("saleprodclass")));
|
|
|
- row.put("attinfos", getAttachmentUrl("tagentsid", String.valueOf(tagentsid), "brandlogo"));
|
|
|
|
|
|
|
+ row.put("attinfos", getAttachmentUrl("tagents", String.valueOf(tagentsid), "brandlogo"));
|
|
|
|
|
|
|
|
//修改申请查询
|
|
//修改申请查询
|
|
|
Rows tagents_msgchangeappRows = dbConnect.runSqlQuery("select fchangemsg,ftype,tagents_msgchangappid from tagents_msgchangeapp where fstatus='申请' and siteid='" + siteid + "' and tagentsid='" + tagentsid + "'");
|
|
Rows tagents_msgchangeappRows = dbConnect.runSqlQuery("select fchangemsg,ftype,tagents_msgchangappid from tagents_msgchangeapp where fstatus='申请' and siteid='" + siteid + "' and tagentsid='" + tagentsid + "'");
|