瀏覽代碼

2021-11-20 10:50 bgj

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);
             if(!StringUtils.isBlank(type)) tattachment.setValue("type", type);
             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());
 
         }