This commit is contained in:
Administrator committed 2026-07-03 15:51:18 +08:00
commit d9d00cc9fa
2 files changed
+6 -3

No files matched your search

Binary file not shown.
+6 -3
View File
@@ -263,10 +263,13 @@ namespace SunlightAggregationManager.UserClass
var groups = MainWindowViewModel.Selet_Memory(MainWindowViewModel._userData,
"Groups", "User='" + person?.User + "'");
var department = MainWindowViewModel.Selet_Memory(MainWindowViewModel._userData,
"Department", "User='" + person?.User + "'");
DataTable resultTable = MainWindowViewModel.SQLiteHelpers.ExecuteDataSet("" +
"select * from Notification WHERE Groups='" + groups + "' and Id>'" +
s_ + "'", null)?.Tables[0] ?? new DataTable();
DataTable resultTable = MainWindowViewModel.SQLiteHelpers.ExecuteDataSet("" +
"select * from Notification WHERE Groups='" + groups + "'and Department='" +
"' and Id>'" + s_ + "'", null)?.Tables[0] ?? new DataTable();
if(resultTable.Rows.Count==0) resultTable.Rows.Add();
//格式化返回信息