This commit is contained in:
2025-07-03 18:42:35 +08:00
parent 980648fa6e
commit b004037b4d
7 changed files with 168 additions and 63 deletions
+5
View File
@@ -92,6 +92,11 @@ namespace BLL
{
return Funs.DB.Sys_Const.FirstOrDefault(e => e.ConstValue == constValue && e.GroupId == groupId);
}
public static Sys_Const GetConstByConstText(string constText)
{
return Funs.DB.Sys_Const.FirstOrDefault(e => e.ConstText == constText);
}
public static void DeleteConstValueBygroupId(string groupId)
{
var q = Funs.DB.Sys_Const.Where(x => x.GroupId == groupId);