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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
25 deletions
+36
-25
SkuAutoTurnController.cs
AutoTurnOver/Controllers/SkuAutoTurnController.cs
+36
-25
No files found.
AutoTurnOver/Controllers/SkuAutoTurnController.cs
View file @
f0b59484
...
@@ -30,35 +30,46 @@ namespace AutoTurnOver.Controllers
...
@@ -30,35 +30,46 @@ 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
{
{
searchType
=
searchType
,
var
m
=
new
Condition_AutoTurnOver
key_words
=
key_words
,
{
out_of_stock
=
IsStockOut
,
searchType
=
searchType
,
redundancy
=
IsRedundant
,
key_words
=
key_words
,
warehouse_code
=
warehousecode
,
out_of_stock
=
IsStockOut
,
warehousetype
=
warehousetype
,
redundancy
=
IsRedundant
,
warehousearea
=
warehousearea
,
warehouse_code
=
warehousecode
,
hasDefectConfig
=
hasDefectConfig
,
warehousetype
=
warehousetype
,
hasAadvise
=
hasAadvise
,
warehousearea
=
warehousearea
,
categoryIds
=
categoryIds
,
hasDefectConfig
=
hasDefectConfig
,
monitor_status
=
monitor_status
,
hasAadvise
=
hasAadvise
,
buyer_name
=
buyer_name
,
categoryIds
=
categoryIds
,
supplier_name
=
supplier_name
,
monitor_status
=
monitor_status
,
has_tort
=
has_tort
buyer_name
=
buyer_name
,
};
supplier_name
=
supplier_name
,
has_tort
=
has_tort
};
var
total
=
0
;
var
total
=
0
;
var
service
=
new
Services
.
SkuAutoTurnServices
();
var
service
=
new
Services
.
SkuAutoTurnServices
();
var
list
=
service
.
List
(
m
,
offset
,
limit
,
ref
total
,
order
,
sort
);
var
list
=
service
.
List
(
m
,
offset
,
limit
,
ref
total
,
order
,
sort
);
return
new
JsonResult
(
new
return
new
JsonResult
(
new
{
rows
=
list
,
total
=
total
,
pagecount
=
(
total
/
limit
+
(
total
%
limit
>
0
?
1
:
0
))
});
}
catch
(
Exception
ex
)
{
{
rows
=
list
,
new
JsonResult
(
new
total
=
total
,
{
pagecount
=
(
total
/
limit
+
(
total
%
limit
>
0
?
1
:
0
))
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