This commit is contained in:
@ -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);
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user