|
|
@@ -468,14 +468,13 @@ public class docManage extends Controller {
|
|
|
if (!StringUtils.isBlank(type)) tattachment.setValue("type", type, 11L);
|
|
|
tattachmentSet.save();
|
|
|
tattachmentSet.close();
|
|
|
-// Row row = new Row();
|
|
|
-// row.put("fdocument", new String(uploadfile.getFileName().getBytes("iso8859-1"), "UTF-8"));
|
|
|
-// row.put("fobsurl", obsurl);
|
|
|
-// row.put("tattachmentid", tattachment.getUniqueIDValue());
|
|
|
-// row.put("postfix", ftype);
|
|
|
-// row.put("type", type);
|
|
|
- return getReturnObject_suc().toString();
|
|
|
- //return getReturnObject_suc(row, false).toString();
|
|
|
+ Row row = new Row();
|
|
|
+ row.put("fdocument", new String(uploadfile.getFileName().getBytes("iso8859-1"), "UTF-8"));
|
|
|
+ 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());
|
|
|
}
|
|
|
return getReturnObject_err("´íÎó").toString();
|