Commit 48387866 by lizefeng

动态备货规则组

parent 5b36ad6c
...@@ -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();
......
...@@ -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);
} }
......
...@@ -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
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment