Commit a254d316 by lizefeng

在周转表页面,配置动态备货规则

parent e23f3350
......@@ -1199,7 +1199,7 @@ where 1 = 1 ";
{
throw new Exception("请选择规则组");
}
var datas = _connection.Query<AutoTurnOver.Models.dc_auto_turnover>(" select * from dc_auto_turnover where id in @ids ",new { ids = ids.Split(',').Select(s=>int.Parse(s)).ToList() });
var datas = _connection.Query<AutoTurnOver.Models.dc_auto_turnover>(" select * from dc_auto_turnover where id in @ids ",new { ids = data.ids.Split(',').Select(s=>int.Parse(s)).ToList() });
foreach (var item in datas)
{
// 检查数据是否存在
......
......@@ -557,6 +557,7 @@ namespace AutoTurnOver.Controllers
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
[HttpPost]
public JsonResult BatchStockUp([FromBody]batch_stock_up_input_dto data)
{
try
......
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