Compare commits
2
Commits
e28be80856
...
ffc9b3d425
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ffc9b3d425 | ||
|
|
d9d00cc9fa |
No files matched your search
Binary file not shown.
@@ -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();
|
||||
|
||||
//格式化返回信息
|
||||
|
||||
Reference in new issue
Block a user