ck 4 년 전
부모
커밋
72d5db74ed
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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]