瀏覽代碼

240703-1617-Kim

hokky 4 月之前
父節點
當前提交
4ccdd7c732
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      qry/erp/list/list-type1-insert/post/sise/insert2.sql

+ 1 - 1
qry/erp/list/list-type1-insert/post/sise/insert2.sql

@@ -6,7 +6,7 @@ INSERT INTO pro_post ( created_on, updated_on,
 
 SELECT UNIX_TIMESTAMP(), UNIX_TIMESTAMP(),
        c1, c2, c3, c4, c5,
-       c6, UNIX_TIMESTAMP(DATE_ADD('1899-12-30', INTERVAL c7 DAY)), c8, c9,
+       c6, DATE_FORMAT(DATE_ADD('1899-12-30', INTERVAL 45469 DAY), '%Y%m%d') as c7, c8, c9,
        c10
 FROM dbt_list_type1
 where list_token = ?