Commit 36134080 by liuyang

2024-10-24 文档库变更优化

parent 47e283c8
......@@ -284,7 +284,7 @@ public class ServiceHGWD001 extends ServiceEPBase {
strFileName.append("本次上传文件名称:");
List<Map> resultRows = inInfo.getBlock(EiConstant.resultBlock).getRows();
HGWD001 hgwd001 = HGWDTools.HgWd001.get(inInfo.getCellStr(EiConstant.queryBlock, ACConstants.ROW_CODE_0, HGWD001.FIELD_FILE_ID));
List<HGWD099> hgwd099List = HGWDTools.HgWd099.queryByBiz("WD");
List<HGWD099> hgwd099List = HGWDTools.HgWd099.queryByBiz("WD", hgwd001.getFileId());
for (Map resultRow : resultRows) {
String ndocId = resultRow.get("ndocId").toString();
List<HGWD099> hgwd099s = hgwd099List.stream().filter(hgwd099 -> hgwd099.getDocId().equals(ndocId)).collect(Collectors.toList());
......
......@@ -804,8 +804,13 @@ function uploadFileCallback(data) {
EiCommunicator.send(serviceName, methodName, inEiInfo, {
onSuccess(response) {
if (response.getStatus() == 1){
NotificationUtil(ei, "error");
}else {
JSColorbox.close();
resultGrid.dataSource.page(1);
}
},
onFail(errorMessage, status, e) {
NotificationUtil("执行失败!", "error");
......
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