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