using EC.Entity.Transport; using EC.Service.Base; namespace EC.Service.Transport { public class AuthService : MvcService { public AuthService() { } #region BLL /// /// 检查运输车有无权限 /// /// /// public bool CheckTruckAuth(string truckPlate) { var auth = SelectEntityByWhere($"TruckPlate='{truckPlate}'"); return auth != null; } #endregion BLL } }