|  |  | 
 |  |  | using System.Linq; | 
 |  |  | using System.Text; | 
 |  |  | using System.Threading.Tasks; | 
 |  |  | using WIDESEA_Common.LocationEnum; | 
 |  |  | using WIDESEA_Core.BaseRepository; | 
 |  |  | using WIDESEA_Core.Enums; | 
 |  |  | using WIDESEA_Core.Helper; | 
 |  |  | 
 |  |  |         public override bool UpdateData(Dt_LocationInfo entity) | 
 |  |  |         { | 
 |  |  |             return base.UpdateData(entity); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         public List<string> GetCanOutLocationCodes(List<string> roadways, List<int> areaIds) | 
 |  |  |         { | 
 |  |  |             return QueryData(x => x.LocationCode, x => roadways.Contains(x.RoadwayNo) && (areaIds.Contains(x.AreaId) || x.AreaId == 0) && x.LocationStatus == LocationStatusEnum.InStock.ObjToInt() && (x.EnableStatus == EnableStatusEnum.OnlyOut.ObjToInt() || x.EnableStatus == EnableStatusEnum.Normal.ObjToInt())).Distinct().ToList(); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         public List<Dt_LocationInfo> GetLocationInfos(List<string> locationCodes) |