sjw преди 4 години
родител
ревизия
f6aeda1152
променени са 1 файла, в които са добавени 9 реда и са изтрити 1 реда
  1. 9 1
      src/rest/openapi/restcontroller/wechatapp/system/docManage.java

+ 9 - 1
src/rest/openapi/restcontroller/wechatapp/system/docManage.java

@@ -477,7 +477,15 @@ public class docManage extends Controller {
             tattachment.setValue("fobsurl", obsurl);
             tattachment.setValue("fobsurl", obsurl);
             if(!StringUtils.isBlank(type)) tattachment.setValue("type", type);
             if(!StringUtils.isBlank(type)) tattachment.setValue("type", type);
             tattachmentSet.save();
             tattachmentSet.save();
-            return getReturnObject_suc().toString();
+
+
+            Row row=new Row();
+            row.put("fdocument",uploadfile.getFileName());
+            row.put("fobsurl",obsurl);
+            row.put("tattachmentid",tattachment.getUniqueIDValue());
+            row.put("postfix",ftype);
+            row.put("type",type);
+            return getReturnObject_suc(row,false).toString();
 //            tattachment.setValue("docinfoid", docinfo.getUniqueIDValue());
 //            tattachment.setValue("docinfoid", docinfo.getUniqueIDValue());
 
 
         }
         }