ck há 4 anos atrás
pai
commit
d5a315f631
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/etl/src/src_book_info.py

+ 1 - 1
app/etl/src/src_book_info.py

@@ -9,7 +9,7 @@ ck = CkUtils()
 def src_book_info():
     print("run> src_book_info")
     sql="""SELECT  date_format(a.effect_day,'%Y-%m-%d'),
-            case a.type when 'mp' then 'vx' when 'gdt' then 'qq' end type,
+            case a.type when 'mp' then 'MP' when 'gdt' then 'GDT' end type,
             b.book_name,c.platform_name,a.node_price from t_platform_book_ratio a 
             left join  t_platform_book b on a.platform_book_id=b.id 
             left join t_platform_novel c on b.platform_id=c.id """