This commit is contained in:
jl
2024-11-29 11:19:47 +08:00
parent 0f7cc10d25
commit f4b525c564
7 changed files with 65 additions and 43 deletions

View File

@ -14,26 +14,20 @@ namespace Epost.BLL
WmsTaskBLL taskbll = new WmsTaskBLL();
public DataTable GetSkuInfoList(string sku)
{
//if (sku.Substring(0, 1) == "2")
//{
// if (sku.Substring(1, 1) == "5")
// {
// if (sku.Length >= 7)
// {
// sku = sku.Substring(2, 6);
// }
// }
// else {
// if (sku.Length >= 7)
// {
// sku = sku.Substring(1, 6);
// }
// }
// return dal.GetSkuInfo(sku);
//}
//else {
if (sku.Substring(0, 1) == "2")
{
if (sku.Length >= 8)
{
sku = sku.Substring(0, 8);
}
return dal.GetSkuInfo(sku);
}
else
{
return dal.GetSkuInfoList(sku);
// }
}
}

View File

@ -248,7 +248,7 @@ namespace Epost.BLL
//修改订单状态
orderbll.UpdateOrderState_Car(downlist, model, truequantity, checkquantity);
LogHelper.WriteLogInfo(data.Address + "=========------------------" + data.Parameter);
bool skuInish = orderbll.IsFinishWork(1, block, "", area, model.Sku);
bool skuInish = orderbll.IsFinishWork(1, block, "", area, model.Sku,"", model.Matchid);
model.State = 3;
if (skuInish)
{