Commit ce5e99e2 by liuyang

2024-09-24

1.文档库:复制功能需支持按项目和文件夹复制附件
parent e3b823c9
......@@ -461,14 +461,17 @@ public class ServiceHGWD001 extends ServiceEPBase {
// 要复制项目
String parentId = result1Rows.get(0).getParentId();
if (!StringUtils.isNull(hgwd001List)){
// 写入数据
for (HGWD001 hgwd001:hgwd001List) {
String fileId = SequenceGenerator.getNextSequence(HGConstant.SequenceId.WD_FILE_ID);
addCopyFile(hgwd001, parentId, fileId);
}
}
inInfo.setStatus(EiConstant.STATUS_DEFAULT);
inInfo.setMsg("操作成功!本次对[" + hgwd001List.size() + "]条数据保存成功!");
inInfo.setMsg("操作成功!本次对[" + hgwd001List == null ? String.valueOf(0) : hgwd001List.size() + "]条数据保存成功!");
} catch (Exception e) {
LogUtils.setDetailMsg(inInfo, e, "保存失败");
}
......
......@@ -966,8 +966,13 @@ function saveProtFunc() {
$("#selectProjWindow").data("kendoWindow").close()
$("#inqu_status2-0-companyCode").val('');
$("#inqu_status2-0-projName").val('');
const tree = $('#categoryTree').data('kendoTreeView');
const parentId = $("#inqu_status-0-orgParentId").val();
// 刷新树节点
tree.reload(parentId);
// 展开树
expandTreeNode(tree, parentId);
refreshTree();
query();
} catch (e) {
// TODO: handle exception
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment