Bladeren bron

准备更改selectUser查询逻辑,试图修改已经存在的bug,在此保存

xcbosa 3 jaren geleden
bovenliggende
commit
772c4c5300
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 1 2
      WpfTest1/selectUser.xaml.cs

+ 1 - 2
WpfTest1/selectUser.xaml.cs

@@ -75,8 +75,7 @@ namespace WpfTest1
                 orderCondition = "p_last_filter_time desc";
             }
 
-            string selectCmd = "SELECT * FROM Patient ORDER BY " + orderCondition + " LIMIT 100";
-            //string selectCmd = "SELECT * FROM Patient WHERE p_delete_flag = 0 ORDER BY " + orderCondition + " LIMIT 100";
+            string selectCmd = "SELECT * FROM Patient WHERE p_delete_flag = 0 ORDER BY " + orderCondition + " LIMIT 100";
             con.Open();
             da = new SQLiteDataAdapter(selectCmd, con);
             ds = new DataSet();