This commit is contained in:
2025-07-21 11:31:28 +08:00
parent 2df8d81f2b
commit fd1b357633
3 changed files with 8 additions and 24 deletions

View File

@@ -163,7 +163,10 @@ namespace MyCode.Project.Services.Implementation
throw new BaseException("单据已经下推.");
}
var one = _yTKJTShopParameterRepository.Queryable().Where(t => t.FSHOPCODE == orderSHeet.ShopCode).First();
if (one is null)
{
throw new BaseException($"门店编号:{orderSHeet.ShopCode},门店名称:{orderSHeet.ShopName},没有找到对应的门店参数 ");
}
// TODO 如果是False则同步到云星空销售订单
if (one.FSYNCHRONIZEWMS == "0")
{