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
f40b9e57
Commit
f40b9e57
authored
Nov 25, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复文档库复制目录功能
parent
3b937358
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
HGWD001.java
src/main/java/com/baosight/hggp/hg/wd/domain/HGWD001.java
+1
-1
ServiceHGWD001.java
.../java/com/baosight/hggp/hg/wd/service/ServiceHGWD001.java
+1
-1
HGWD001.xml
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
+5
-3
HGWD001.jsp
src/main/webapp/HG/WD/HGWD001.jsp
+2
-2
No files found.
src/main/java/com/baosight/hggp/hg/wd/domain/HGWD001.java
View file @
f40b9e57
...
...
@@ -47,7 +47,7 @@ public class HGWD001 extends DaoEPBase {
public
static
final
String
FIELD_REMARK
=
"remark"
;
/* 备注*/
public
static
final
String
FIELD_RELEASE_DATE
=
"releaseDate"
;
/* 发布时间*/
public
static
final
String
FIELD_FILE_PATH
=
"filePath"
;
/* 文件路径*/
public
static
final
String
FIELD_FILE_ID_PATH
=
"filePath"
;
/* 文件ID路径*/
public
static
final
String
FIELD_FILE_ID_PATH
=
"file
Id
Path"
;
/* 文件ID路径*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_ACCOUNT_CODE
=
"ACCOUNT_CODE"
;
/* 企业编码*/
...
...
src/main/java/com/baosight/hggp/hg/wd/service/ServiceHGWD001.java
View file @
f40b9e57
...
...
@@ -517,7 +517,7 @@ public class ServiceHGWD001 extends ServiceEPBase {
}*/
// 要复制目录集合
if
(
Objects
.
nonNull
(
detail2Rows
))
{
String
parentId
=
detail2Rows
.
get
(
0
).
getFileId
().
length
()
>
0
?
detail2Rows
.
get
(
0
).
getFileId
()
String
parentId
=
detail2Rows
.
get
(
0
).
getFileId
().
trim
().
length
()
>
0
?
detail2Rows
.
get
(
0
).
getFileId
()
:
detail2Rows
.
get
(
0
).
getProjCode
();
if
(!
StringUtils
.
isNull
(
result2Rows
))
{
result2Rows
.
forEach
(
hgwd001
->
{
...
...
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
View file @
f40b9e57
...
...
@@ -419,9 +419,11 @@
'' as "FILE_ID",
<!-- 文件ID -->
'' as "FILE_TYPE",
<!-- 文件类型 -->
'' as "FILE_NAME",
<!-- 文件名称 -->
PROJECT_SOURCE as "FILE_PATH",
PROJ_CODE as "FILE_ID_PATH"
FROM ${hggpSchema}.HGSC001 T WHERE 1=1
case when te.ITEM_CNAME is null then concat(project_source,'/',PROJ_NAME) else concat(ITEM_CNAME,'/',PROJ_NAME) end as "FILE_PATH",
concat(project_source,'/',PROJ_CODE) as "FILE_ID_PATH"
FROM ${hggpSchema}.HGSC001 T
left join iplat_hggp.tedcm01 te on T.project_source = te.ITEM_CODE and te.CODESET_CODE = 'app.sc.projectSource'
WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
src/main/webapp/HG/WD/HGWD001.jsp
View file @
f40b9e57
...
...
@@ -168,7 +168,7 @@
<EF:EFGrid
blockId=
"detail2"
autoDraw=
"override"
autoBind=
"false"
isFloat=
"true"
checkMode=
"single"
queryMethod=
"queryDetail2"
>
<EF:EFColumn
ename=
"id"
primaryKey=
"true"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"parentId"
cname=
"上级ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"filePath"
cname=
"文件路径"
hidden=
"
tru
e"
/>
<EF:EFColumn
ename=
"filePath"
cname=
"文件路径"
hidden=
"
fals
e"
/>
<
%
--
<
EF:EFComboColumn
ename=
"projCode"
cname=
"项目名称"
blockName=
"proj_record_block_id"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
textField=
"textField"
valueField=
"valueField"
...
...
@@ -189,7 +189,7 @@
<EF:EFGrid
blockId=
"result2"
autoDraw=
"override"
autoBind=
"false"
isFloat=
"true"
checkMode=
"row "
queryMethod=
"query2"
>
<EF:EFColumn
ename=
"id"
primaryKey=
"true"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"parentId"
cname=
"上级ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"filePath"
cname=
"文件路径"
hidden=
"
tru
e"
/>
<EF:EFColumn
ename=
"filePath"
cname=
"文件路径"
hidden=
"
fals
e"
/>
<
%
--
<
EF:EFComboColumn
ename=
"projCode"
cname=
"项目名称"
blockName=
"proj_record_block_id"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
textField=
"textField"
valueField=
"valueField"
...
...
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