using SqlSugar; using System; using ZJ_BYD.Model; using ZJ_BYD.Untils; namespace ZJ_BYD.DB { public class AreaHelper { public AreaHelper() : base() { } /// /// 查询地域 /// /// public static ISugarQueryable QueryAreas() { try { return DBHelper.sqlSugarDb.Queryable().Where(m => !m.IsDeleted); } catch (Exception ex) { var msg = ex == null ? "执行QueryAreas方法时异常" : ex.Message; LogHelper.WriteLog($"执行QueryAreas方法时异常:{msg}"); return null; } } } }