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
3e52189a
Commit
3e52189a
authored
Nov 26, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.文件名称空的问题
parent
9abe1ea6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
ServiceHGWD001C.java
...java/com/baosight/hggp/hg/wd/service/ServiceHGWD001C.java
+4
-2
HGWD002.js
src/main/webapp/HG/WD/HGWD002.js
+2
-0
HGWD002.jsp
src/main/webapp/HG/WD/HGWD002.jsp
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/wd/service/ServiceHGWD001C.java
View file @
3e52189a
...
...
@@ -120,8 +120,10 @@ public class ServiceHGWD001C extends ServiceBase {
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
String
fileId
=
MapUtils
.
getString
(
queryMap
,
HGWD001
.
FIELD_FILE_ID
);
String
fileName
=
MapUtils
.
getString
(
queryMap
,
HGWD001
.
FIELD_FILE_NAME
);
String
zipName
=
fileName
+
"_"
+
DateUtils
.
shortDateTime
();
// 文档信息
HGWD001
dbHg001
=
HGWDTools
.
HgWd001
.
get
(
fileId
);
AssertUtils
.
isNull
(
dbHg001
,
"文档不存在"
);
String
zipName
=
dbHg001
.
getFileName
()
+
"_"
+
DateUtils
.
shortDateTime
();
List
<
String
>
docIds
=
ObjectUtils
.
listKey
(
inInfo
,
HGWD099
.
FIELD_DOC_ID
);
inInfo
.
set
(
"url"
,
Iplat4jUtils
.
compressFile
(
docIds
,
zipName
));
// 写入下载记录
...
...
src/main/webapp/HG/WD/HGWD002.js
View file @
3e52189a
...
...
@@ -163,6 +163,7 @@ $(function () {
},
selectTreeNode
:
{
treeId
:
''
,
treeText
:
''
,
projCode
:
''
,
leafType
:
''
,
downloadFlag
:
'0'
...
...
@@ -294,6 +295,7 @@ let treeSelectClick = function (nodeData) {
*/
let
setTreeNodeValue
=
function
(
nodeData
)
{
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
treeId
=
nodeData
.
id
;
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
treeText
=
nodeData
.
text
;
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
projCode
=
nodeData
.
projCode
;
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
leafType
=
nodeData
.
leafType
;
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
downloadFlag
=
nodeData
.
downloadFlag
==
null
?
0
...
...
src/main/webapp/HG/WD/HGWD002.jsp
View file @
3e52189a
...
...
@@ -25,7 +25,7 @@
<div
id=
"right-pane"
class=
"i-fit-height"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFInput
ename=
"projCode"
cname=
"项目代码"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
ename=
"fileId"
cname=
"文档
库id
"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
ename=
"fileId"
cname=
"文档
ID
"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<div
class=
"row"
>
<EF:EFSelect
ename=
"fileType"
cname=
"附件分类"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
filter=
"contains"
>
...
...
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