|
|
@@ -127,17 +127,19 @@ public class tagents extends Controller {
|
|
|
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,changedate from tagents_msgchangeapp where fstatus='ÉêÇë' and siteid='" + siteid + "' and tagentsid='" + tagentsid + "'");
|
|
|
if (tagents_msgchangeappRows.isEmpty()) {
|
|
|
row.put("msgchangeapp", "{}");
|
|
|
} else {
|
|
|
String ftype = tagents_msgchangeappRows.get(0).getString("ftype");
|
|
|
String fchangemsg = tagents_msgchangeappRows.get(0).getString("fchangemsg");
|
|
|
long tagents_msgchangappid = tagents_msgchangeappRows.get(0).getLong("tagents_msgchangappid");
|
|
|
+ String changedate = tagents_msgchangeappRows.get(0).getString("changedate");
|
|
|
JSONObject msgchangeappObject = new JSONObject();
|
|
|
msgchangeappObject.put("ftype", ftype);
|
|
|
msgchangeappObject.put("fchangemsg", JSONObject.parseObject(fchangemsg));
|
|
|
msgchangeappObject.put("tagents_msgchangappid", tagents_msgchangappid);
|
|
|
+ msgchangeappObject.put("changedate", changedate);
|
|
|
row.put("msgchangeapp", msgchangeappObject);
|
|
|
}
|
|
|
}
|