--部件更换记录-部件更换清单--增加索引  IDX_POM_PART_FMATERIALSEQ
IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_POM_PART_FMATERIALSEQ') CREATE INDEX IDX_POM_PART_FMATERIALSEQ ON T_POM_PARTREPLECEENTRY(FMATERIALSEQ);