Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
36134080
Commit
36134080
authored
Oct 25, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-24 文档库变更优化
parent
47e283c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
ServiceHGWD001.java
.../java/com/baosight/hggp/hg/wd/service/ServiceHGWD001.java
+1
-1
HGWD001.js
src/main/webapp/HG/WD/HGWD001.js
+7
-2
No files found.
src/main/java/com/baosight/hggp/hg/wd/service/ServiceHGWD001.java
View file @
36134080
...
@@ -284,7 +284,7 @@ public class ServiceHGWD001 extends ServiceEPBase {
...
@@ -284,7 +284,7 @@ public class ServiceHGWD001 extends ServiceEPBase {
strFileName
.
append
(
"本次上传文件名称:"
);
strFileName
.
append
(
"本次上传文件名称:"
);
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
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
));
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
)
{
for
(
Map
resultRow
:
resultRows
)
{
String
ndocId
=
resultRow
.
get
(
"ndocId"
).
toString
();
String
ndocId
=
resultRow
.
get
(
"ndocId"
).
toString
();
List
<
HGWD099
>
hgwd099s
=
hgwd099List
.
stream
().
filter
(
hgwd099
->
hgwd099
.
getDocId
().
equals
(
ndocId
)).
collect
(
Collectors
.
toList
());
List
<
HGWD099
>
hgwd099s
=
hgwd099List
.
stream
().
filter
(
hgwd099
->
hgwd099
.
getDocId
().
equals
(
ndocId
)).
collect
(
Collectors
.
toList
());
...
...
src/main/webapp/HG/WD/HGWD001.js
View file @
36134080
...
@@ -804,8 +804,13 @@ function uploadFileCallback(data) {
...
@@ -804,8 +804,13 @@ function uploadFileCallback(data) {
EiCommunicator
.
send
(
serviceName
,
methodName
,
inEiInfo
,
{
EiCommunicator
.
send
(
serviceName
,
methodName
,
inEiInfo
,
{
onSuccess
(
response
)
{
onSuccess
(
response
)
{
JSColorbox
.
close
();
if
(
response
.
getStatus
()
==
1
){
resultGrid
.
dataSource
.
page
(
1
);
NotificationUtil
(
ei
,
"error"
);
}
else
{
JSColorbox
.
close
();
resultGrid
.
dataSource
.
page
(
1
);
}
},
},
onFail
(
errorMessage
,
status
,
e
)
{
onFail
(
errorMessage
,
status
,
e
)
{
NotificationUtil
(
"执行失败!"
,
"error"
);
NotificationUtil
(
"执行失败!"
,
"error"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment