Browse Source

240703-1622-Kim

hokky 4 months ago
parent
commit
ca04f384f3

+ 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