DELETE FROM T_HRCS_PERMRELAT WHERE FID = 1417277174720920576;
INSERT INTO T_HRCS_PERMRELAT(FID,FCREATETIME,FPERMITEMID,FMODIFIERID,FMODIFYTIME,FAPPID,FDESCRIPTION,FCREATORID,FENTITYTYPEID) VALUES (1417277174720920576,{ts'2022-05-10  00:00:00'},'HRQXX0099',1,{ts'2022-05-14  00:00:00'},'1WXB5G9/BL46',' ',1,'hom_waitcheckin'); 

DELETE FROM T_HRCS_PERMRELATENTRY WHERE FENTRYID = 1417277174720923648;
INSERT INTO T_HRCS_PERMRELATENTRY(FID,FISSYSPRESET,FPERMITEMID,FENTRYID,FSEQ,FAPPID,FENTITYTYPEID) VALUES (1417277174720920576,'0','HRQXX0099',1417277174720923648,1,'1WXB5G9/BL46','hom_onbrdcheckinbody');