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
ec832e2e
Commit
ec832e2e
authored
Oct 22, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-sx' of
http://129.211.46.84:8800/platform/hg-smart
into dev
parents
8cb86304
51a51b60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
ServiceHGWD001C.java
...java/com/baosight/hggp/hg/wd/service/ServiceHGWD001C.java
+6
-4
No files found.
src/main/java/com/baosight/hggp/hg/wd/service/ServiceHGWD001C.java
View file @
ec832e2e
...
@@ -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
);
}
}
...
...
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