ck 4 năm trước cách đây
mục cha
commit
72d5db74ed
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      data_manage/pitcher_panel.py

+ 2 - 2
data_manage/pitcher_panel.py

@@ -143,9 +143,9 @@ def get_channel_overview(channel,pitcher,start,end,page,page_size,order_by,order
     if channel!='':
         sql+=f" and channel='{channel}'"
     if start!='':
-        sql+=f" and start>='{start}'"
+        sql+=f" and dt>='{start}'"
     if end!='':
-        sql+=f" and end<='{end}'"
+        sql+=f" and dt<='{end}'"
     if pitcher!='':
         sql+=f" and pitcher='{pitcher}'"
     total = ck.execute(f"select count(1) from ({sql}) a")[0][0]