Ver código fonte

240703-1625-Kim

hokky 4 meses atrás
pai
commit
d31c4a631c

+ 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, DATE_FORMAT(DATE_ADD('1899-12-30', INTERVAL 45469 DAY), '%Y%m%d') as c7, c8, c9,
+       c6, DATE_FORMAT(DATE_ADD('1899-12-30', INTERVAL c7 DAY), '%Y%m%d') as c7, c8, c9,
        c10
 FROM dbt_list_type1
 where list_token = ?