|
|
|
@ -1204,6 +1204,10 @@ namespace Myshipping.Application
|
|
|
|
|
if (!string.IsNullOrEmpty(entity.MBLNO))
|
|
|
|
|
{
|
|
|
|
|
var Config = config.Where(x => x.SystemCode == "YSDBC").FirstOrDefault();
|
|
|
|
|
if (Config==null) {
|
|
|
|
|
|
|
|
|
|
throw Oops.Bah("当前用户未配置相关货运动态数据");
|
|
|
|
|
}
|
|
|
|
|
var Status = _goodsStatus.FirstOrDefault(x => x.bookingId == Id && x.ConfigId == Config.Id);
|
|
|
|
|
if (Status == null)
|
|
|
|
|
{
|
|
|
|
@ -1234,6 +1238,11 @@ namespace Myshipping.Application
|
|
|
|
|
if (!string.IsNullOrEmpty(entity.CUSTNO))
|
|
|
|
|
{
|
|
|
|
|
var Config = config.Where(x => x.SystemCode == "YDC").FirstOrDefault();
|
|
|
|
|
if (Config == null)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
throw Oops.Bah("当前用户未配置相关货运动态数据");
|
|
|
|
|
}
|
|
|
|
|
var Status = _goodsStatus.FirstOrDefault(x => x.bookingId == Id && x.ConfigId == Config.Id);
|
|
|
|
|
if (Status == null)
|
|
|
|
|
{
|
|
|
|
@ -1268,6 +1277,11 @@ namespace Myshipping.Application
|
|
|
|
|
if (!string.IsNullOrEmpty(entity.MBLNO))
|
|
|
|
|
{
|
|
|
|
|
var Config = config.Where(x => x.SystemCode == "YSDBC").FirstOrDefault();
|
|
|
|
|
if (Config == null)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
throw Oops.Bah("当前用户未配置相关货运动态数据");
|
|
|
|
|
}
|
|
|
|
|
var Status = _goodsStatus.FirstOrDefault(x => x.bookingId == Id && x.ConfigId == Config.Id);
|
|
|
|
|
if (Status == null)
|
|
|
|
|
{
|
|
|
|
@ -1299,6 +1313,11 @@ namespace Myshipping.Application
|
|
|
|
|
if (!string.IsNullOrEmpty(entity.CUSTNO))
|
|
|
|
|
{
|
|
|
|
|
var Config = config.Where(x => x.SystemCode == "YDC").FirstOrDefault();
|
|
|
|
|
if (Config == null)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
throw Oops.Bah("当前用户未配置相关货运动态数据");
|
|
|
|
|
}
|
|
|
|
|
var Status = _goodsStatus.FirstOrDefault(x => x.bookingId == Id && x.ConfigId == Config.Id);
|
|
|
|
|
if (Status == null)
|
|
|
|
|
{
|
|
|
|
|