|
|
@ -103,8 +103,6 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
|
|
|
|
|
|
|
var orderInfo = orderList.FirstOrDefault(a => a.Id == id);
|
|
|
|
var orderInfo = orderList.FirstOrDefault(a => a.Id == id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var userInfo = db.Queryable<SysUser>().Filter(null, true).First(x => x.Id == orderInfo.OperatorId && x.TenantId == long.Parse(user.TenantId));
|
|
|
|
var userInfo = db.Queryable<SysUser>().Filter(null, true).First(x => x.Id == orderInfo.OperatorId && x.TenantId == long.Parse(user.TenantId));
|
|
|
|
|
|
|
|
|
|
|
|
string djyUserId = userInfo?.DjyUserId;
|
|
|
|
string djyUserId = userInfo?.DjyUserId;
|
|
|
@ -122,6 +120,8 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
{
|
|
|
|
{
|
|
|
|
detail.Status = "FAILURE";
|
|
|
|
detail.Status = "FAILURE";
|
|
|
|
detail.Message = $"当前操作OP={userInfo?.UserName}没有绑定大简云用户ID,请联系管理员";
|
|
|
|
detail.Message = $"当前操作OP={userInfo?.UserName}没有绑定大简云用户ID,请联系管理员";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Logger.Log(NLog.LogLevel.Info, $"当前操作OP={userInfo?.UserName}没有绑定大简云用户ID,请联系管理员");
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -132,6 +132,8 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
{
|
|
|
|
{
|
|
|
|
detail.Status = "FAILURE";
|
|
|
|
detail.Status = "FAILURE";
|
|
|
|
detail.Message = $"未配置大简云扣费授权,请在接口账户维护";
|
|
|
|
detail.Message = $"未配置大简云扣费授权,请在接口账户维护";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Logger.Log(NLog.LogLevel.Info, $"未配置大简云扣费授权,请在接口账户维护");
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|