-- 设置批号/序列号属性
IF NOT EXISTS (SELECT 1 FROM T_BD_LOTCODEITEMENTRY WHERE FENTRYID = 702629882970119168) 
INSERT INTO T_BD_LOTCODEITEMENTRY (FID, FENTRYID, FSEQ, FAPPBILLID, FENTRYENTITYID, FBILLFIELDNAME, FBILLFIELDID) VALUES(621746542658810880, 702629882970119168, 9, 'im_productinbill', ' ', '单据头.入库日期', 'biztime');
