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
f0b59484
Commit
f0b59484
authored
Aug 15, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监视周转表的异常
parent
d5579168
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
SkuAutoTurnController.cs
AutoTurnOver/Controllers/SkuAutoTurnController.cs
+12
-1
No files found.
AutoTurnOver/Controllers/SkuAutoTurnController.cs
View file @
f0b59484
...
@@ -30,7 +30,8 @@ namespace AutoTurnOver.Controllers
...
@@ -30,7 +30,8 @@ namespace AutoTurnOver.Controllers
[
HttpGet
]
[
HttpGet
]
public
JsonResult
List
(
int
limit
,
int
offset
,
string
order
,
string
sort
,
int
?
searchType
,
string
key_words
,
string
buyer_name
,
int
?
IsRedundant
,
int
?
IsStockOut
,
string
warehousecode
,
string
supplier_name
,
string
warehousetype
,
int
?
warehousearea
,
bool
?
hasDefectConfig
,
bool
?
hasAadvise
=
null
,
string
categoryIds
=
null
,
int
?
monitor_status
=
null
,
int
?
has_tort
=
null
)
public
JsonResult
List
(
int
limit
,
int
offset
,
string
order
,
string
sort
,
int
?
searchType
,
string
key_words
,
string
buyer_name
,
int
?
IsRedundant
,
int
?
IsStockOut
,
string
warehousecode
,
string
supplier_name
,
string
warehousetype
,
int
?
warehousearea
,
bool
?
hasDefectConfig
,
bool
?
hasAadvise
=
null
,
string
categoryIds
=
null
,
int
?
monitor_status
=
null
,
int
?
has_tort
=
null
)
{
{
try
{
var
m
=
new
Condition_AutoTurnOver
var
m
=
new
Condition_AutoTurnOver
{
{
searchType
=
searchType
,
searchType
=
searchType
,
...
@@ -60,6 +61,16 @@ namespace AutoTurnOver.Controllers
...
@@ -60,6 +61,16 @@ namespace AutoTurnOver.Controllers
pagecount
=
(
total
/
limit
+
(
total
%
limit
>
0
?
1
:
0
))
pagecount
=
(
total
/
limit
+
(
total
%
limit
>
0
?
1
:
0
))
});
});
}
}
catch
(
Exception
ex
)
{
new
JsonResult
(
new
{
message
=
ex
.
Message
,
stack_trace
=
ex
.
StackTrace
};
}
}
public
JsonResult
ListSumFooter
(
string
supplier_name
,
int
limit
,
int
offset
,
string
order
,
string
sort
,
int
?
searchType
,
string
key_words
,
string
buyer_name
,
string
sku_prefix
,
int
?
IsRedundant
,
int
?
IsStockOut
,
string
warehousecode
,
string
warehousetype
,
int
?
warehousearea
,
bool
?
hasDefectConfig
,
bool
?
hasAadvise
=
null
,
string
categoryIds
=
null
,
int
?
monitor_status
=
null
,
int
?
has_tort
=
null
)
public
JsonResult
ListSumFooter
(
string
supplier_name
,
int
limit
,
int
offset
,
string
order
,
string
sort
,
int
?
searchType
,
string
key_words
,
string
buyer_name
,
string
sku_prefix
,
int
?
IsRedundant
,
int
?
IsStockOut
,
string
warehousecode
,
string
warehousetype
,
int
?
warehousearea
,
bool
?
hasDefectConfig
,
bool
?
hasAadvise
=
null
,
string
categoryIds
=
null
,
int
?
monitor_status
=
null
,
int
?
has_tort
=
null
)
{
{
...
...
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