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
a4d65638
Commit
a4d65638
authored
Oct 22, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://129.211.46.84:8800/platform/hg-smart
into master-dc
parents
9009b50d
ec832e2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
ServiceHGWD001C.java
...java/com/baosight/hggp/hg/wd/service/ServiceHGWD001C.java
+6
-4
HGCW012.js
src/main/webapp/HG/CW/HGCW012.js
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/wd/service/ServiceHGWD001C.java
View file @
a4d65638
...
@@ -5,7 +5,6 @@ import com.baosight.hggp.core.dao.DaoUtils;
...
@@ -5,7 +5,6 @@ import com.baosight.hggp.core.dao.DaoUtils;
import
com.baosight.hggp.core.enums.DeleteFlagEnum
;
import
com.baosight.hggp.core.enums.DeleteFlagEnum
;
import
com.baosight.hggp.core.tools.FileTools
;
import
com.baosight.hggp.core.tools.FileTools
;
import
com.baosight.hggp.core.utils.Iplat4jUtils
;
import
com.baosight.hggp.core.utils.Iplat4jUtils
;
import
com.baosight.hggp.hg.cw.tools.HGCWTools
;
import
com.baosight.hggp.hg.wd.domain.HGWD001
;
import
com.baosight.hggp.hg.wd.domain.HGWD001
;
import
com.baosight.hggp.hg.wd.domain.HGWD001C
;
import
com.baosight.hggp.hg.wd.domain.HGWD001C
;
import
com.baosight.hggp.hg.wd.domain.HGWD002
;
import
com.baosight.hggp.hg.wd.domain.HGWD002
;
...
@@ -133,12 +132,15 @@ public class ServiceHGWD001C extends ServiceBase {
...
@@ -133,12 +132,15 @@ public class ServiceHGWD001C extends ServiceBase {
* @param inInfo
* @param inInfo
*/
*/
private
void
saveData
(
EiInfo
inInfo
)
{
private
void
saveData
(
EiInfo
inInfo
)
{
List
<
HGWD001C
>
fWd001cs
=
MapUtils
.
toDaoEPBases
(
inInfo
,
HGWD001C
.
class
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
for
(
HGWD001C
fWd001c
:
fWd001cs
)
{
String
fileId
=
MapUtils
.
getString
(
queryMap
,
HGWD001
.
FIELD_FILE_ID
);
AssertUtils
.
isEmpty
(
fWd001c
.
getFileId
(),
"文件ID不能为空"
);
AssertUtils
.
isEmpty
(
fileId
,
"文件ID不能为空"
);
List
<
HGWD001C
>
fWd001Cs
=
MapUtils
.
toDaoEPBases
(
inInfo
,
HGWD001C
.
class
);
for
(
HGWD001C
fWd001c
:
fWd001Cs
)
{
// 下载记录+1
// 下载记录+1
HGWDTools
.
HgWd099
.
downloadIncr
(
fWd001c
.
getDocId
());
HGWDTools
.
HgWd099
.
downloadIncr
(
fWd001c
.
getDocId
());
// 新增
// 新增
fWd001c
.
setFileId
(
fileId
);
fWd001c
.
setDeleteFlag
(
DeleteFlagEnum
.
UN_REMOVE
.
getCode
());
fWd001c
.
setDeleteFlag
(
DeleteFlagEnum
.
UN_REMOVE
.
getCode
());
DaoUtils
.
insert
(
HGWD001C
.
INSERT
,
fWd001c
);
DaoUtils
.
insert
(
HGWD001C
.
INSERT
,
fWd001c
);
}
}
...
...
src/main/webapp/HG/CW/HGCW012.js
View file @
a4d65638
...
@@ -271,7 +271,7 @@ function contractDetailFunc(id) {
...
@@ -271,7 +271,7 @@ function contractDetailFunc(id) {
function
fileDetailFunc
(
id
)
{
function
fileDetailFunc
(
id
)
{
JSColorbox
.
open
({
JSColorbox
.
open
({
href
:
"HGCW999?methodName=initLoad&inqu_status-0-bizType=
H
T&inqu_status-0-matId="
+
id
+
"&efParentFormEname=HGCW012"
,
href
:
"HGCW999?methodName=initLoad&inqu_status-0-bizType=
PUR_RECEIP
T&inqu_status-0-matId="
+
id
+
"&efParentFormEname=HGCW012"
,
title
:
"<div style='text-align: center;'>附件清单</div>"
,
title
:
"<div style='text-align: center;'>附件清单</div>"
,
width
:
"80%"
,
width
:
"80%"
,
height
:
"80%"
,
height
:
"80%"
,
...
...
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