Commit 6f345e9a authored by liudong1993's avatar liudong1993

Merge branch 'sdzq' of http://gitlab.oytour.com/Kui2/mall.oytour.com into sdzq-ld

parents b3e0d44f ea63cb36
...@@ -28,7 +28,7 @@ namespace Mall.Repository.Product ...@@ -28,7 +28,7 @@ namespace Mall.Repository.Product
public List<RB_Goods_Order_Extend> GetOrderPageList(int pageIndex, int pageSize, out long count, RB_Goods_Order_Extend dmodel) public List<RB_Goods_Order_Extend> GetOrderPageList(int pageIndex, int pageSize, out long count, RB_Goods_Order_Extend dmodel)
{ {
var parameters = new DynamicParameters(); var parameters = new DynamicParameters();
string where = $" 1=1 and o.{nameof(RB_Goods_Order.Status)}=0"; string where = $" 1=1 and o.{nameof(RB_Goods_Order.Status)}=0 and o.{nameof(RB_Goods_Order.OrderClassify)}=0 ";
if (dmodel.TenantId > 0) if (dmodel.TenantId > 0)
{ {
where += $@" and o.{nameof(RB_Goods_Order.TenantId)}={dmodel.TenantId}"; where += $@" and o.{nameof(RB_Goods_Order.TenantId)}={dmodel.TenantId}";
......
...@@ -205,6 +205,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -205,6 +205,7 @@ namespace Mall.WebApi.Controllers.MallBase
demodel.MallBaseId = userInfo.MallBaseId; demodel.MallBaseId = userInfo.MallBaseId;
demodel.UserId = userInfo.UserId; demodel.UserId = userInfo.UserId;
demodel.Recycled = 2; demodel.Recycled = 2;
demodel.OrderClassify = 0;
if (demodel.OrderStatus == Common.Enum.Goods.OrderStatusEnum.WaitSendGoods) if (demodel.OrderStatus == Common.Enum.Goods.OrderStatusEnum.WaitSendGoods)
{ {
demodel.OrderStatusIds = "2,6";//待处理也是待发货状态才有的 demodel.OrderStatusIds = "2,6";//待处理也是待发货状态才有的
......
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