Explorar o código

商户认证、修改申请增加申请时间返回

沈静伟 %!s(int64=4) %!d(string=hai) anos
pai
achega
3bc8a7c5f8

+ 3 - 1
src/dsb/com/cnd3b/restcontroller/customer/tagents/tagents.java

@@ -42,17 +42,19 @@ public class tagents extends Controller {
             row.put("fisauthenticating", modifyapprows.isEmpty() ? 0 : 1);
 
             //ÐÞ¸ÄÉêÇë²éѯ
-            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);
             }
         }

+ 3 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/tagents/tagents.java

@@ -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);
             }
         }