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
60106249
Commit
60106249
authored
May 25, 2024
by
yukang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同管理
parent
b4280439
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
HGCWTools.java
src/main/java/com/baosight/hggp/hg/cw/tools/HGCWTools.java
+6
-4
No files found.
src/main/java/com/baosight/hggp/hg/cw/tools/HGCWTools.java
View file @
60106249
...
@@ -280,10 +280,12 @@ public class HGCWTools {
...
@@ -280,10 +280,12 @@ public class HGCWTools {
public
static
void
batchUpdate
(
List
<
Map
>
rows
,
Long
id
)
{
public
static
void
batchUpdate
(
List
<
Map
>
rows
,
Long
id
)
{
AssertUtils
.
isNull
(
id
,
"业务ID不能为空!"
);
AssertUtils
.
isNull
(
id
,
"业务ID不能为空!"
);
String
[]
docIds
=
rows
.
stream
().
map
(
row
->
row
.
get
(
"docId"
).
toString
()).
toArray
(
String
[]::
new
);
String
[]
docIds
=
rows
.
stream
().
map
(
row
->
row
.
get
(
"docId"
).
toString
()).
toArray
(
String
[]::
new
);
DaoUtils
.
update
(
"HGCW999.batchUpdate"
,
new
HashMap
<
String
,
Object
>(){
if
(
docIds
.
length
>
0
)
{
{
put
(
"docIds"
,
docIds
);}
DaoUtils
.
update
(
"HGCW999.batchUpdate"
,
new
HashMap
<
String
,
Object
>(){
{
put
(
"matId"
,
id
);}
{
put
(
"docIds"
,
docIds
);}
});
{
put
(
"matId"
,
id
);}
});
}
}
}
public
static
List
<
HGCW999
>
queryByBiz
(
Long
matId
,
String
bizType
)
{
public
static
List
<
HGCW999
>
queryByBiz
(
Long
matId
,
String
bizType
)
{
...
...
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