Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
bltdc
data-center-auto
Commits
a412b85c
Commit
a412b85c
authored
May 18, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5d60c3a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
report.cs
AutoTurnOver.DB/report.cs
+10
-6
No files found.
AutoTurnOver.DB/report.cs
View file @
a412b85c
...
@@ -717,12 +717,16 @@ and not exists ( select * from dc_auto_shortage_push_not_config where dc_auto_sh
...
@@ -717,12 +717,16 @@ and not exists ( select * from dc_auto_shortage_push_not_config where dc_auto_sh
public
static
void
removeShortagePush
(
IEnumerable
<
int
>
datas
)
public
static
void
removeShortagePush
(
IEnumerable
<
int
>
datas
)
{
{
var
conn
=
_connection
;
if
(
datas
!=
null
&&
datas
.
Count
()
>=
1
)
//foreach (var item in datas)
{
//{
var
conn
=
_connection
;
// conn.Delete<dc_auto_shortage_push>(item);
//foreach (var item in datas)
//}
//{
conn
.
Execute
(
" update dc_auto_shortage_push set has_return_goods=1 where id in @ids "
,
new
{
ids
=
datas
});
// conn.Delete<dc_auto_shortage_push>(item);
//}
conn
.
Execute
(
" update dc_auto_shortage_push set has_return_goods=1 where id in @ids "
,
new
{
ids
=
datas
});
}
}
}
...
...
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