浏览代码

240703-1622-Kim

hokky 4 月之前
父节点
当前提交
ca04f384f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      qry/erp/list/list-type1/download/post/post-sise/subqry/insert1.sql

+ 1 - 1
qry/erp/list/list-type1/download/post/post-sise/subqry/insert1.sql

@@ -5,7 +5,7 @@ INSERT INTO dbt_list_type1 	( created_on, list_token, id,
 
 SELECT UNIX_TIMESTAMP(), ?, id,
        post_title, pc1, pc2, pc3, pc4,
-       pc5, pc6, post_type_id, post_slug, post_no
+       pc5, STR_TO_DATE(pc6, '%Y%m%d') AS pc6, post_type_id, post_slug, post_no
 
 FROM pro_post as mx