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
e8d73b2d
Commit
e8d73b2d
authored
Nov 26, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixBug-sx' of
http://129.211.46.84:8800/platform/hg-smart
into master-dc
parents
ebf3655e
3e52189a
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 @
e8d73b2d
...
@@ -120,8 +120,10 @@ public class ServiceHGWD001C extends ServiceBase {
...
@@ -120,8 +120,10 @@ public class ServiceHGWD001C extends ServiceBase {
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
String
fileId
=
MapUtils
.
getString
(
queryMap
,
HGWD001
.
FIELD_FILE_ID
);
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
);
List
<
String
>
docIds
=
ObjectUtils
.
listKey
(
inInfo
,
HGWD099
.
FIELD_DOC_ID
);
inInfo
.
set
(
"url"
,
Iplat4jUtils
.
compressFile
(
docIds
,
zipName
));
inInfo
.
set
(
"url"
,
Iplat4jUtils
.
compressFile
(
docIds
,
zipName
));
// 写入下载记录
// 写入下载记录
...
...
src/main/webapp/HG/WD/HGWD002.js
View file @
e8d73b2d
...
@@ -163,6 +163,7 @@ $(function () {
...
@@ -163,6 +163,7 @@ $(function () {
},
},
selectTreeNode
:
{
selectTreeNode
:
{
treeId
:
''
,
treeId
:
''
,
treeText
:
''
,
projCode
:
''
,
projCode
:
''
,
leafType
:
''
,
leafType
:
''
,
downloadFlag
:
'0'
downloadFlag
:
'0'
...
@@ -294,6 +295,7 @@ let treeSelectClick = function (nodeData) {
...
@@ -294,6 +295,7 @@ let treeSelectClick = function (nodeData) {
*/
*/
let
setTreeNodeValue
=
function
(
nodeData
)
{
let
setTreeNodeValue
=
function
(
nodeData
)
{
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
treeId
=
nodeData
.
id
;
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
.
projCode
=
nodeData
.
projCode
;
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
leafType
=
nodeData
.
leafType
;
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
leafType
=
nodeData
.
leafType
;
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
downloadFlag
=
nodeData
.
downloadFlag
==
null
?
0
IPLATUI
.
EFTree
.
docTree
.
selectTreeNode
.
downloadFlag
=
nodeData
.
downloadFlag
==
null
?
0
...
...
src/main/webapp/HG/WD/HGWD002.jsp
View file @
e8d73b2d
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<div
id=
"right-pane"
class=
"i-fit-height"
>
<div
id=
"right-pane"
class=
"i-fit-height"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFInput
ename=
"projCode"
cname=
"项目代码"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<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"
>
<div
class=
"row"
>
<EF:EFSelect
ename=
"fileType"
cname=
"附件分类"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
<EF:EFSelect
ename=
"fileType"
cname=
"附件分类"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
filter=
"contains"
>
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