fix:
1.内审预算单上传合同附件
This commit is contained in:
parent
96a8138473
commit
5e53a39e68
@ -58,13 +58,9 @@ public class IntAuditBuSaAttachmentsContractOp extends AbstractOperationServiceP
|
||||
{
|
||||
List<Map<String, Object>> attachments = AttachmentServiceHelper.getAttachmentsByExport(purInBill.getDataEntityType().getName(),
|
||||
purInBill.getLong("id"));
|
||||
try {
|
||||
for (Map<String, Object> map : attachments) {
|
||||
map.put("lastModified", null);
|
||||
map.put("url", getPathfromDownloadUrl(URLDecoder.decode(String.valueOf(map.get("url")), "UTF-8")));
|
||||
}
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
for (Map<String, Object> map : attachments) {
|
||||
map.put("lastModified", null);
|
||||
map.put("url", map.get("url"));
|
||||
}
|
||||
AttachmentServiceHelper.upload(to.getDataEntityType().getName(), to.getLong("id"), "attachmentpanel",
|
||||
attachments);
|
||||
|
Loading…
Reference in New Issue
Block a user