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
1ff78272
Commit
1ff78272
authored
Apr 17, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e9a68576
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dc_auto_stock_monitor_dao.cs
AutoTurnOver.DB/dc_auto_stock_monitor_dao.cs
+5
-5
No files found.
AutoTurnOver.DB/dc_auto_stock_monitor_dao.cs
View file @
1ff78272
...
...
@@ -40,19 +40,19 @@ where EXISTS (select * from dc_base_stock as t_s where t_s.bailun_sku = t1.bail
}
if
(
search
.
type
==
1
)
{
sql
+=
" and t
1
.haiwai_us_usable_stock>0 "
;
sql
+=
" and t
2
.haiwai_us_usable_stock>0 "
;
}
else
if
(
search
.
type
==
2
)
{
sql
+=
" and t
1
.haiwai_uk_usable_stock>0 "
;
sql
+=
" and t
2
.haiwai_uk_usable_stock>0 "
;
}
else
if
(
search
.
type
==
3
)
{
sql
+=
" and t
1
.guangzhou01_transfer_stock<=0 "
;
sql
+=
" and t
2
.guangzhou01_transfer_stock<=0 "
;
}
else
if
(
search
.
type
==
4
)
{
sql
+=
" and t
1
.haiwai_uk_transfer<=0 "
;
sql
+=
" and t
2
.haiwai_uk_transfer<=0 "
;
}
else
if
(
search
.
type
==
5
)
{
sql
+=
" and t
1
.haiwai_us_transfer<=0 "
;
sql
+=
" and t
2
.haiwai_us_transfer<=0 "
;
}
}
return
_connection
.
Page
<
dc_auto_stock_monitor_dto
>(
sql
,
search
,
parameters
);
...
...
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