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
48387866
Commit
48387866
authored
Sep 10, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态备货规则组
parent
5b36ad6c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
db_config.cs
AutoTurnOver.DB/db_config.cs
+1
-1
ConfigServices.cs
AutoTurnOver.Services/ConfigServices.cs
+1
-1
JitTagController.cs
AutoTurnOver/Controllers/JitTagController.cs
+1
-1
No files found.
AutoTurnOver.DB/db_config.cs
View file @
48387866
...
@@ -1017,7 +1017,7 @@ where 1 = 1 ";
...
@@ -1017,7 +1017,7 @@ where 1 = 1 ";
total
=
_connection
.
ExecuteScalar
<
int
>(
"select count(0) from ("
+
sql
+
") tb1"
);
total
=
_connection
.
ExecuteScalar
<
int
>(
"select count(0) from ("
+
sql
+
") tb1"
);
var
obj
=
_connection
.
Query
<
dc_auto_stock_up_range
>(
sql
+
" limit "
+
offset
+
","
+
limit
);
var
obj
=
_connection
.
Query
<
dc_auto_stock_up_range
_dto
>(
sql
+
" limit "
+
offset
+
","
+
limit
);
return
obj
.
AsList
();
return
obj
.
AsList
();
...
...
AutoTurnOver.Services/ConfigServices.cs
View file @
48387866
...
@@ -542,7 +542,7 @@ namespace AutoTurnOver.Services
...
@@ -542,7 +542,7 @@ namespace AutoTurnOver.Services
#
region
动态备货
sku
#
region
动态备货
sku
public
List
<
dc_auto_stock_up_range
>
StockUpRangeList
(
Condition_ConfigPromotion
m
,
int
offset
,
int
limit
,
ref
int
total
)
public
List
<
dc_auto_stock_up_range
_dto
>
StockUpRangeList
(
Condition_ConfigPromotion
m
,
int
offset
,
int
limit
,
ref
int
total
)
{
{
return
DB
.
db_config
.
StockUpRangeList
(
m
,
offset
,
limit
,
ref
total
);
return
DB
.
db_config
.
StockUpRangeList
(
m
,
offset
,
limit
,
ref
total
);
}
}
...
...
AutoTurnOver/Controllers/JitTagController.cs
View file @
48387866
...
@@ -19,7 +19,7 @@ namespace AutoTurnOver.Controllers
...
@@ -19,7 +19,7 @@ namespace AutoTurnOver.Controllers
{
{
var
total
=
0
;
var
total
=
0
;
var
service
=
new
Services
.
JitTagServices
();
var
service
=
new
Services
.
JitTagServices
();
var
list
=
service
.
JitTagList
(
group_id
,
offset
,
limit
,
ref
total
);
var
list
=
service
.
JitTagList
(
group_id
??
0
,
offset
,
limit
,
ref
total
);
return
new
JsonResult
(
new
return
new
JsonResult
(
new
{
{
...
...
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