|
|
|
@ -19,6 +19,7 @@ using Microsoft.AspNetCore.Identity;
|
|
|
|
|
using DS.WMS.Core.Sys.Interface;
|
|
|
|
|
using DS.WMS.Core.Map.Dtos;
|
|
|
|
|
using DS.WMS.Core.Map.Interface;
|
|
|
|
|
using DS.Module.Core.Constants;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Op.Method
|
|
|
|
|
{
|
|
|
|
@ -93,7 +94,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
info.UpdateBy = long.Parse(user.UserId);
|
|
|
|
|
info.UpdateUserName = user.UserName;
|
|
|
|
|
|
|
|
|
|
await tenantDb.Updateable<BookingContractNoManage>(info).IgnoreColumns(it => new
|
|
|
|
|
await tenantDb.Updateable<BookingContractNoManage>(info).RemoveDataCache($"{SqlSugarCacheConst.ContractNo}{user.TenantId}").IgnoreColumns(it => new
|
|
|
|
|
{
|
|
|
|
|
it.CreateTime,
|
|
|
|
|
it.CreateBy,
|
|
|
|
@ -104,7 +105,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
{
|
|
|
|
|
info = model.Adapt<BookingContractNoManage>();
|
|
|
|
|
|
|
|
|
|
await tenantDb.Insertable<BookingContractNoManage>(info).ExecuteReturnEntityAsync();
|
|
|
|
|
await tenantDb.Insertable<BookingContractNoManage>(info).RemoveDataCache($"{SqlSugarCacheConst.ContractNo}{user.TenantId}").ExecuteReturnEntityAsync();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
@ -249,7 +250,7 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
entity.DeleteBy = long.Parse(user.UserId);
|
|
|
|
|
//entity.UpdatedUserName = UserManager.Name;
|
|
|
|
|
|
|
|
|
|
await tenantDb.Updateable<BookingContractNoManage>().IgnoreColumns(it => new
|
|
|
|
|
await tenantDb.Updateable<BookingContractNoManage>().RemoveDataCache($"{SqlSugarCacheConst.ContractNo}{user.TenantId}").IgnoreColumns(it => new
|
|
|
|
|
{
|
|
|
|
|
it.CreateTime,
|
|
|
|
|
it.CreateBy,
|
|
|
|
|