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
c62da236
Commit
c62da236
authored
Oct 17, 2024
by
江和松
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
2dedfe63
9f4ca922
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
19 deletions
+2
-19
ServiceHGDM099.java
.../java/com/baosight/hggp/hg/dm/service/ServiceHGDM099.java
+0
-2
HgDmTools.java
src/main/java/com/baosight/hggp/hg/dm/tools/HgDmTools.java
+2
-17
No files found.
src/main/java/com/baosight/hggp/hg/dm/service/ServiceHGDM099.java
View file @
c62da236
...
@@ -62,8 +62,6 @@ public class ServiceHGDM099 extends ServiceEPBase {
...
@@ -62,8 +62,6 @@ public class ServiceHGDM099 extends ServiceEPBase {
public
EiInfo
upload
(
EiInfo
inInfo
)
{
public
EiInfo
upload
(
EiInfo
inInfo
)
{
try
{
try
{
HGDM099
fDm099
=
MapUtils
.
toDaoEPBase
(
inInfo
,
HGDM099
.
class
);
HGDM099
fDm099
=
MapUtils
.
toDaoEPBase
(
inInfo
,
HGDM099
.
class
);
AssertUtils
.
isEmpty
(
fDm099
.
getBizId
(),
"业务ID不能为空"
);
AssertUtils
.
isEmpty
(
fDm099
.
getBizType
(),
"业务类型不能为空"
);
AssertUtils
.
isEmpty
(
fDm099
.
getDocId
(),
"文件ID不能为空"
);
AssertUtils
.
isEmpty
(
fDm099
.
getDocId
(),
"文件ID不能为空"
);
fDm099
.
setDeleteFlag
(
CommonConstant
.
YesNo
.
NO_0
);
fDm099
.
setDeleteFlag
(
CommonConstant
.
YesNo
.
NO_0
);
DaoUtils
.
insert
(
HGDM099
.
INSERT
,
fDm099
);
DaoUtils
.
insert
(
HGDM099
.
INSERT
,
fDm099
);
...
...
src/main/java/com/baosight/hggp/hg/dm/tools/H
p
DmTools.java
→
src/main/java/com/baosight/hggp/hg/dm/tools/H
g
DmTools.java
View file @
c62da236
package
com
.
baosight
.
hggp
.
hg
.
dm
.
tools
;
package
com
.
baosight
.
hggp
.
hg
.
dm
.
tools
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.dao.DaoBase
;
import
com.baosight.hggp.core.dao.DaoBase
;
import
com.baosight.hggp.hg.dm.domain.HGDM099
;
import
com.baosight.hggp.hg.dm.domain.HGDM099
;
import
com.baosight.hggp.util.AssertUtils
;
import
com.baosight.hggp.util.AssertUtils
;
...
@@ -14,7 +12,7 @@ import java.util.Map;
...
@@ -14,7 +12,7 @@ import java.util.Map;
* @author:songx
* @author:songx
* @date:2024/8/13,16:40
* @date:2024/8/13,16:40
*/
*/
public
class
H
p
DmTools
{
public
class
H
g
DmTools
{
/**
/**
* @author:songx
* @author:songx
...
@@ -23,24 +21,11 @@ public class HpDmTools {
...
@@ -23,24 +21,11 @@ public class HpDmTools {
public
static
class
HpDm099
{
public
static
class
HpDm099
{
/**
/**
* 查询
*
*
* @param bizType
* @param bizType
* @param
biz
Id
* @param
doc
Id
* @return
* @return
*/
*/
public
static
List
<
HGDM099
>
list
(
String
bizType
,
String
bizId
)
{
AssertUtils
.
isEmpty
(
bizId
,
"业务ID不能为空"
);
Map
<
String
,
Object
>
paramMap
=
new
HashMap
();
paramMap
.
put
(
HGDM099
.
FIELD_BIZ_TYPE
,
bizType
);
paramMap
.
put
(
HGDM099
.
FIELD_BIZ_ID
,
bizId
);
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
return
DaoBase
.
getInstance
().
query
(
"HGDM099.queryS3"
,
paramMap
);
}
else
{
return
DaoBase
.
getInstance
().
query
(
"HGDM099.queryLocal"
,
paramMap
);
}
}
public
static
List
<
HGDM099
>
getByDocId
(
String
bizType
,
String
docId
)
{
public
static
List
<
HGDM099
>
getByDocId
(
String
bizType
,
String
docId
)
{
AssertUtils
.
isEmpty
(
docId
,
"文件ID不能为空"
);
AssertUtils
.
isEmpty
(
docId
,
"文件ID不能为空"
);
Map
<
String
,
Object
>
paramMap
=
new
HashMap
();
Map
<
String
,
Object
>
paramMap
=
new
HashMap
();
...
...
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