jianghaiqing 2 years ago
commit 00ed27899a

@ -717,6 +717,62 @@ namespace Myshipping.Application.Service.DataSync.Dto
public string SourceName { get; set; }
#region 船舶日期相关
/// <summary>
/// 运港通ETD爬取的ETD
/// </summary>
public DateTime? YgtETD { get; set; }
/// <summary>
/// 起始港预抵日期
/// </summary>
public DateTime? StartETA { get; set; }
/// <summary>
/// 起始港实际抵港
/// </summary>
public DateTime? StartATA { get; set; }
/// <summary>
/// 中转预抵
/// </summary>
public DateTime? MiddleETA { get; set; }
/// <summary>
/// 中转预计离港
/// </summary>
public DateTime? MiddleETD { get; set; }
/// <summary>
/// 中转实际到港
/// </summary>
public DateTime? MiddleATA { get; set; }
/// <summary>
/// 中转实际离港
/// </summary>
public DateTime? MiddleATD { get; set; }
/// <summary>
/// 实际到港(目的港)
/// </summary>
public DateTime? ATA { get; set; }
#endregion
public List<BookingCtnDto> ctnInputs { get; set; }
/// <summary>
@ -1437,6 +1493,61 @@ namespace Myshipping.Application.Service.DataSync.Dto
/// 业务来源名称
/// </summary>
public string SourceName { get; set; }
#region 船舶日期相关
/// <summary>
/// 运港通ETD爬取的ETD
/// </summary>
public DateTime? YgtETD { get; set; }
/// <summary>
/// 起始港预抵日期
/// </summary>
public DateTime? StartETA { get; set; }
/// <summary>
/// 起始港实际抵港
/// </summary>
public DateTime? StartATA { get; set; }
/// <summary>
/// 中转预抵
/// </summary>
public DateTime? MiddleETA { get; set; }
/// <summary>
/// 中转预计离港
/// </summary>
public DateTime? MiddleETD { get; set; }
/// <summary>
/// 中转实际到港
/// </summary>
public DateTime? MiddleATA { get; set; }
/// <summary>
/// 中转实际离港
/// </summary>
public DateTime? MiddleATD { get; set; }
/// <summary>
/// 实际到港(目的港)
/// </summary>
public DateTime? ATA { get; set; }
#endregion
}

@ -578,14 +578,15 @@ public class SysUserService : ISysUserService, IDynamicApiController, ITransient
/// 获取租户下的用户
/// </summary>
/// <param name="name"></param>
/// <param name="TenantId">默认0 获取当前用户,可不传 传租户id获取当前租户</param>
/// <param name="tenantId">默认0 获取当前用户,可不传 传租户id获取当前租户</param>
/// <returns></returns>
[HttpGet("/sysUser/GetTenantUser")]
public Task<List<SysUser>> GetTenantUser(string name, long? tenantId = 0)
public async Task<List<SysUser>> GetTenantUser(string name, long? tenantId = 0)
{
return _sysUserRep.AsQueryable().Filter(null, true).WhereIF(tenantId == 0, x => x.TenantId == Convert.ToInt64(UserManager.TENANT_ID)&&x.Status== CommonStatus.ENABLE)
return await _sysUserRep.AsQueryable().Filter(null, true).WhereIF(tenantId == 0, x => x.TenantId == Convert.ToInt64(UserManager.TENANT_ID) && x.Status == CommonStatus.ENABLE)
.WhereIF(tenantId != 0, x => x.TenantId == tenantId)
.WhereIF(!string.IsNullOrWhiteSpace(name), x => x.Name.Contains(name)).ToListAsync();
.WhereIF(!string.IsNullOrWhiteSpace(name), x => x.Name.Contains(name))
.OrderBy(x => x.Name).ToListAsync();
}
[HttpGet("/sysUser/DecryptPassword")]

Loading…
Cancel
Save