-- 删除元数据 sys.meta库

-- 生产领料单删除
delete from t_meta_bizunitrelform where fformid = '0C8H9D+WHEOS';
delete from t_meta_entity where fid = '0C8H9D+WHEOS';
delete from t_meta_entitydesign where fid = '0C8H9D+WHEOS';
delete from t_meta_entitydesign_l where fid = '0C8H9D+WHEOS';
delete from t_meta_entityinfo where FMAINENTITYID = '0C8H9D+WHEOS';
delete from t_meta_form where fid = '0C8H9D+WHEOS';
delete from t_meta_formdesign where fid = '0C8H9D+WHEOS';
delete from t_meta_formdesign_l where fid = '0C8H9D+WHEOS';
delete from t_meta_mainentityinfo where FDENTITYID = '0C8H9D+WHEOS';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPT8M0W5U';
delete from t_meta_mainentityinfo_l where fpkid = '0PP7ONCUXYNE';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPT8M0W5V';


-- 入库单删除
delete from t_meta_bizunitrelform where fformid = '0CKU6AO+PN/N';
delete from t_meta_entity where fid = '0CKU6AO+PN/N';
delete from t_meta_entitydesign where fid = '0CKU6AO+PN/N';
delete from t_meta_entitydesign_l where fid = '0CKU6AO+PN/N';
delete from t_meta_entityinfo where FMAINENTITYID = '0CKU6AO+PN/N';
delete from t_meta_form where fid = '0CKU6AO+PN/N';
delete from t_meta_formdesign where fid = '0CKU6AO+PN/N';
delete from t_meta_formdesign_l where fid = '0CKU6AO+PN/N';
delete from t_meta_mainentityinfo where FDENTITYID = '0CKU6AO+PN/N';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPOIEWCJY';
delete from t_meta_mainentityinfo_l where fpkid = '0PP7P=UFEKXJ';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPOIEWCJY';



-- 删除生产退料单 生产补料单
delete from t_meta_bizunitrelform where fformid = '0VYB7SNY+5=O';
delete from t_meta_bizunitrelform where fformid = '0VYB4/PGAE7V';
delete from t_meta_entity where fid = '0VYB7SNY+5=O';
delete from t_meta_entity where fid = '0VYB4/PGAE7V';
delete from t_meta_entitydesign where fid = '0VYB7SNY+5=O';
delete from t_meta_entitydesign where fid = '0VYB4/PGAE7V';
delete from t_meta_entitydesign_l where fid = '0VYB7SNY+5=O';
delete from t_meta_entitydesign_l where fid = '0VYB4/PGAE7V';
delete from t_meta_entityinfo where FMAINENTITYID = '0VYB7SNY+5=O';
delete from t_meta_entityinfo where FMAINENTITYID = '0VYB4/PGAE7V';
delete from t_meta_form where fid = '0VYB7SNY+5=O';
delete from t_meta_form where fid = '0VYB4/PGAE7V';
delete from t_meta_formdesign where fid = '0VYB7SNY+5=O';
delete from t_meta_formdesign where fid = '0VYB4/PGAE7V';
delete from t_meta_formdesign_l where fid = '0VYB7SNY+5=O';
delete from t_meta_formdesign_l where fid = '0VYB4/PGAE7V';
delete from t_meta_mainentityinfo where FDENTITYID = '0VYB7SNY+5=O';
delete from t_meta_mainentityinfo where FDENTITYID = '0VYB4/PGAE7V';
delete from t_meta_mainentityinfo_l where fpkid = '0VYB451K99UH';
delete from t_meta_mainentityinfo_l where fpkid = '0VYB451K99UG';
delete from t_meta_mainentityinfo_l where fpkid = '0VYB451K99UI';
delete from t_meta_mainentityinfo_l where fpkid = '0VYB7X1UHYV6';
delete from t_meta_mainentityinfo_l where fpkid = '0VYB7X1UHYV5';
delete from t_meta_mainentityinfo_l where fpkid = '0VYB7X1UHYV7';


-- 删除完工退库单
delete from t_meta_bizunitrelform where fformid = '0W+SBHG=SBBT'; 
delete from t_meta_entity where fid = '0W+SBHG=SBBT'; 
delete from t_meta_entitydesign where fid = '0W+SBHG=SBBT';
delete from t_meta_entitydesign_l where fid = '0W+SBHG=SBBT'; 
delete from t_meta_entityinfo where FMAINENTITYID = '0W+SBHG=SBBT'; 
delete from t_meta_form where fid = '0W+SBHG=SBBT'; 
delete from t_meta_formdesign where fid = '0W+SBHG=SBBT'; 
delete from t_meta_formdesign_l where fid = '0W+SBHG=SBBT'; 
delete from t_meta_mainentityinfo where FDENTITYID = '0W+SBHG=SBBT'; 
delete from t_meta_mainentityinfo_l where fpkid = '0W+SBLI24XKU';
delete from t_meta_mainentityinfo_l where fpkid = '0W+SBLI24XKT';
delete from t_meta_mainentityinfo_l where fpkid = '0W+SBLI24XKV';


--im_mdc_mtfreqorder 0UAOGV+IKQS6

delete from t_meta_bizunitrelform where fformid = '0UAOGV+IKQS6';
delete from t_meta_entity where fid = '0UAOGV+IKQS6';
delete from t_meta_entitydesign where fid = '0UAOGV+IKQS6';
delete from t_meta_entitydesign_l where fid = '0UAOGV+IKQS6';
delete from t_meta_entityinfo where FMAINENTITYID = '0UAOGV+IKQS6';
delete from t_meta_form where fid = '0UAOGV+IKQS6';
delete from t_meta_formdesign where fid = '0UAOGV+IKQS6';
delete from t_meta_formdesign_l where fid = '0UAOGV+IKQS6';
delete from t_meta_mainentityinfo where FDENTITYID = '0UAOGV+IKQS6';
delete from t_meta_mainentityinfo_l where fpkid = '0UAQS17SCW69';

--select * from t_meta_entity where fnumber = 'mdc_manubillentryprof7'
--select * from t_meta_mainentityinfo_l where fid = 'mdc_manubillentryprof7'

delete from t_meta_bizunitrelform where fformid = '0RRRZZLKSG34';
delete from t_meta_entity where fid = '0RRRZZLKSG34';
delete from t_meta_entitydesign where fid = '0RRRZZLKSG34';
delete from t_meta_entitydesign_l where fid = '0RRRZZLKSG34';
delete from t_meta_entityinfo where FMAINENTITYID = '0RRRZZLKSG34';
delete from t_meta_form where fid = '0RRRZZLKSG34';
delete from t_meta_formdesign where fid = '0RRRZZLKSG34';
delete from t_meta_formdesign_l where fid = '0RRRZZLKSG34';
delete from t_meta_mainentityinfo where FDENTITYID = '0RRRZZLKSG34';
delete from t_meta_mainentityinfo_l where fpkid = '0RTKVMZ9GP+/';
delete from t_meta_mainentityinfo_l where fpkid = '0RTKVMZ9GP++';
delete from t_meta_mainentityinfo_l where fpkid = '0RTKVMZ9GP+0';

--select * from t_meta_formdesign where fnumber = 'mdc_mftmanuinbill'
--select * from t_meta_mainentityinfo where fid = 'mdc_mftmanuinbill'

delete from t_meta_bizunitrelform where fformid = '0CKU6AO+PN/N';
delete from t_meta_entity where fid = '0CKU6AO+PN/N';
delete from t_meta_entitydesign where fid = '0CKU6AO+PN/N';
delete from t_meta_entitydesign_l where fid = '0CKU6AO+PN/N';
delete from t_meta_entityinfo where FMAINENTITYID = '0CKU6AO+PN/N';
delete from t_meta_form where fid = '0CKU6AO+PN/N';
delete from t_meta_formdesign where fid = '0CKU6AO+PN/N';
delete from t_meta_formdesign_l where fid = '0CKU6AO+PN/N';
delete from t_meta_mainentityinfo where FDENTITYID = '0CKU6AO+PN/N';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPOIEWCJY';
delete from t_meta_mainentityinfo_l where fpkid = '0PP7P=UFEKXJ';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPOIEWCJZ';

--select * from t_meta_mainentityinfo where fnumber = 'mdc_mftreqoutfeed'
--select * from t_meta_mainentityinfo where fid = 'mdc_mftreqoutfeed'

delete from t_meta_bizunitrelform where fformid = '0VKIO=VZQ5FQ';
delete from t_meta_entity where fid = '0VKIO=VZQ5FQ';
delete from t_meta_entitydesign where fid = '0VKIO=VZQ5FQ';
delete from t_meta_entitydesign_l where fid = '0VKIO=VZQ5FQ';
delete from t_meta_entityinfo where FMAINENTITYID = '0VKIO=VZQ5FQ';
delete from t_meta_form where fid = '0VKIO=VZQ5FQ';
delete from t_meta_formdesign where fid = '0VKIO=VZQ5FQ';
delete from t_meta_formdesign_l where fid = '0VKIO=VZQ5FQ';
delete from t_meta_mainentityinfo where FDENTITYID = '0VKIO=VZQ5FQ';


--select * from t_meta_formdesign where fnumber = 'mdc_mftreturn'
--select * from t_meta_entityinfo where fid = 'mdc_mftreturn'

delete from t_meta_bizunitrelform where fformid = '0VNY4G0Z7O3K';
delete from t_meta_entity where fid = '0VNY4G0Z7O3K';
delete from t_meta_entitydesign where fid = '0VNY4G0Z7O3K';
delete from t_meta_entitydesign_l where fid = '0VNY4G0Z7O3K';
delete from t_meta_entityinfo where FMAINENTITYID = '0VNY4G0Z7O3K';
delete from t_meta_form where fid = '0VNY4G0Z7O3K';
delete from t_meta_formdesign where fid = '0VNY4G0Z7O3K';
delete from t_meta_formdesign_l where fid = '0VNY4G0Z7O3K';
delete from t_meta_mainentityinfo where FDENTITYID = '0VNY4G0Z7O3K';

--select * from t_meta_formdesign where fnumber = 'im_opm_mftmanuinbill'
--select * from t_meta_mainentityinfo where fid = 'im_opm_mftmanuinbill'

delete from t_meta_bizunitrelform where fformid = '0MN5=IPF3HSQ';
delete from t_meta_entity where fid = '0MN5=IPF3HSQ';
delete from t_meta_entitydesign where fid = '0MN5=IPF3HSQ';
delete from t_meta_entitydesign_l where fid = '0MN5=IPF3HSQ';
delete from t_meta_entityinfo where FMAINENTITYID = '0MN5=IPF3HSQ';
delete from t_meta_form where fid = '0MN5=IPF3HSQ';
delete from t_meta_formdesign where fid = '0MN5=IPF3HSQ';
delete from t_meta_formdesign_l where fid = '0MN5=IPF3HSQ';
delete from t_meta_mainentityinfo where FDENTITYID = '0MN5=IPF3HSQ';

--select * from t_meta_formdesign where fnumber = 'im_opm_mftreqoutbill'
--select * from t_meta_mainentityinfo where fid = 'im_opm_mftreqoutbill'

delete from t_meta_bizunitrelform where fformid = '0MN5CH1E7L6N';
delete from t_meta_entity where fid = '0MN5CH1E7L6N';
delete from t_meta_entitydesign where fid = '0MN5CH1E7L6N';
delete from t_meta_entitydesign_l where fid = '0MN5CH1E7L6N';
delete from t_meta_entityinfo where FMAINENTITYID = '0MN5CH1E7L6N';
delete from t_meta_form where fid = '0MN5CH1E7L6N';
delete from t_meta_formdesign where fid = '0MN5CH1E7L6N';
delete from t_meta_formdesign_l where fid = '0MN5CH1E7L6N';
delete from t_meta_mainentityinfo where FDENTITYID = '0MN5CH1E7L6N';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPOIEWCJY';
delete from t_meta_mainentityinfo_l where fpkid = '0PP7P=UFEKXJ';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPOIEWCJZ';

--select * from t_meta_formdesign where fnumber = 'mdc_mftmanuinbill'
--select * from t_meta_mainentityinfo_l where fid = 'mdc_mftmanuinbill'

delete from t_meta_bizunitrelform where fformid = '0CKU6AO+PN/N';
delete from t_meta_entity where fid = '0CKU6AO+PN/N';
delete from t_meta_entitydesign where fid = '0CKU6AO+PN/N';
delete from t_meta_entitydesign_l where fid = '0CKU6AO+PN/N';
delete from t_meta_entityinfo where FMAINENTITYID = '0CKU6AO+PN/N';
delete from t_meta_form where fid = '0CKU6AO+PN/N';
delete from t_meta_formdesign where fid = '0CKU6AO+PN/N';
delete from t_meta_formdesign_l where fid = '0CKU6AO+PN/N';
delete from t_meta_mainentityinfo where FDENTITYID = '0CKU6AO+PN/N';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPOIEWCJY';
delete from t_meta_mainentityinfo_l where fpkid = '0PP7P=UFEKXJ';
delete from t_meta_mainentityinfo_l where fpkid = '0PYQPOIEWCJZ';

--select * from t_meta_formdesign where fnumber = 'im_mdc_manuinwarebill'
--select * from t_meta_mainentityinfo where fid = 'im_mdc_manuinwarebill'

delete from t_meta_bizunitrelform where fformid = '0MKB4SZCZ6V6';
delete from t_meta_entity where fid = '0MKB4SZCZ6V6';
delete from t_meta_entitydesign where fid = '0MKB4SZCZ6V6';
delete from t_meta_entitydesign_l where fid = '0MKB4SZCZ6V6';
delete from t_meta_entityinfo where FMAINENTITYID = '0MKB4SZCZ6V6';
delete from t_meta_form where fid = '0MKB4SZCZ6V6';
delete from t_meta_formdesign where fid = '0MKB4SZCZ6V6';
delete from t_meta_formdesign_l where fid = '0MKB4SZCZ6V6';
delete from t_meta_mainentityinfo where FDENTITYID = '0MKB4SZCZ6V6';

--select * from t_meta_formdesign where fnumber = 'im_mdc_mftoutsignout'
--select * from t_meta_mainentityinfo_l where fid = 'im_mdc_mftoutsignout'

delete from t_meta_bizunitrelform where fformid = '0MKHCMO/0DR2';
delete from t_meta_entity where fid = '0MKHCMO/0DR2';
delete from t_meta_entitydesign where fid = '0MKHCMO/0DR2';
delete from t_meta_entitydesign_l where fid = '0MKHCMO/0DR2';
delete from t_meta_entityinfo where FMAINENTITYID = '0MKHCMO/0DR2';
delete from t_meta_form where fid = '0MKHCMO/0DR2';
delete from t_meta_formdesign where fid = '0MKHCMO/0DR2';
delete from t_meta_formdesign_l where fid = '0MKHCMO/0DR2';
delete from t_meta_mainentityinfo where FDENTITYID = '0MKHCMO/0DR2';

--select * from t_meta_formdesign where fnumber = 'mdc_producereport'
--select * from t_meta_mainentityinfo where fid = 'mdc_producereport'

delete from t_meta_bizunitrelform where fformid = '0R7DRSJ7JEPV';
delete from t_meta_entity where fid = '0R7DRSJ7JEPV';
delete from t_meta_entitydesign where fid = '0R7DRSJ7JEPV';
delete from t_meta_entitydesign_l where fid = '0R7DRSJ7JEPV';
delete from t_meta_entityinfo where FMAINENTITYID = '0R7DRSJ7JEPV';
delete from t_meta_form where fid = '0R7DRSJ7JEPV';
delete from t_meta_formdesign where fid = '0R7DRSJ7JEPV';
delete from t_meta_formdesign_l where fid = '0R7DRSJ7JEPV';
delete from t_meta_mainentityinfo where FDENTITYID = '0R7DRSJ7JEPV';
delete from t_meta_mainentityinfo_l where fpkid = '0RQZ03=70BWG';
delete from t_meta_mainentityinfo_l where fpkid = '0RQZ03=70BWF';
delete from t_meta_mainentityinfo_l where fpkid = '0RQZ03=70BWH';

--select * from t_meta_formdesign where fnumber = 'mdc_mftreqoutbillreport'
--select * from t_meta_mainentityinfo where fid = 'mdc_mftreqoutbillreport'

delete from t_meta_bizunitrelform where fformid = '0RDP7EUBYH8J';
delete from t_meta_entity where fid = '0RDP7EUBYH8J';
delete from t_meta_entitydesign where fid = '0RDP7EUBYH8J';
delete from t_meta_entitydesign_l where fid = '0RDP7EUBYH8J';
delete from t_meta_entityinfo where FMAINENTITYID = '0RDP7EUBYH8J';
delete from t_meta_form where fid = '0RDP7EUBYH8J';
delete from t_meta_formdesign where fid = '0RDP7EUBYH8J';
delete from t_meta_formdesign_l where fid = '0RDP7EUBYH8J';
delete from t_meta_mainentityinfo where FDENTITYID = '0RDP7EUBYH8J';

--select * from t_meta_formdesign where fnumber = 'mdc_manubillentryprof7'
--select * from t_meta_mainentityinfo_l where fid = 'mdc_manubillentryprof7'

delete from t_meta_bizunitrelform where fformid = '0RRRZZLKSG34';
delete from t_meta_entity where fid = '0RRRZZLKSG34';
delete from t_meta_entitydesign where fid = '0RRRZZLKSG34';
delete from t_meta_entitydesign_l where fid = '0RRRZZLKSG34';
delete from t_meta_entityinfo where FMAINENTITYID = '0RRRZZLKSG34';
delete from t_meta_form where fid = '0RRRZZLKSG34';
delete from t_meta_formdesign where fid = '0RRRZZLKSG34';
delete from t_meta_formdesign_l where fid = '0RRRZZLKSG34';
delete from t_meta_mainentityinfo where FDENTITYID = '0RRRZZLKSG34';
delete from t_meta_mainentityinfo_l where fpkid = '0RTKVMZ9GP+/';
delete from t_meta_mainentityinfo_l where fpkid = '0RTKVMZ9GP++';
delete from t_meta_mainentityinfo_l where fpkid = '0RTKVMZ9GP+0';

--select * from t_meta_formdesign where fnumber = 'mdc_mftbomsearch'
--select * from t_meta_mainentityinfo_l where fid = 'mdc_mftbomsearch'

delete from t_meta_bizunitrelform where fformid = '0UAS+4JH+KWK';
delete from t_meta_entity where fid = '0UAS+4JH+KWK';
delete from t_meta_entitydesign where fid = '0UAS+4JH+KWK';
delete from t_meta_entitydesign_l where fid = '0UAS+4JH+KWK';
delete from t_meta_entityinfo where FMAINENTITYID = '0UAS+4JH+KWK';
delete from t_meta_form where fid = '0UAS+4JH+KWK';
delete from t_meta_formdesign where fid = '0UAS+4JH+KWK';
delete from t_meta_formdesign_l where fid = '0UAS+4JH+KWK';
delete from t_meta_mainentityinfo where FDENTITYID = '0UAS+4JH+KWK';
delete from t_meta_mainentityinfo_l where fpkid = '0UAS+5G6D/VH';

--select * from t_meta_formdesign where fnumber = 'im_mdc_mftreturn'
--select * from t_meta_mainentityinfo_l where fid = 'im_mdc_mftreturn'

delete from t_meta_bizunitrelform where fformid = '0MKFUTGE22VO';
delete from t_meta_entity where fid = '0MKFUTGE22VO';
delete from t_meta_entitydesign where fid = '0MKFUTGE22VO';
delete from t_meta_entitydesign_l where fid = '0MKFUTGE22VO';
delete from t_meta_entityinfo where FMAINENTITYID = '0MKFUTGE22VO';
delete from t_meta_form where fid = '0MKFUTGE22VO';
delete from t_meta_formdesign where fid = '0MKFUTGE22VO';
delete from t_meta_formdesign_l where fid = '0MKFUTGE22VO';
delete from t_meta_mainentityinfo where FDENTITYID = '0MKFUTGE22VO';

--select * from t_meta_formdesign where fnumber = 'im_mdc_mftreqoutbill'
--select * from t_meta_mainentityinfo_l where fid = 'im_mdc_mftreqoutbill'

delete from t_meta_bizunitrelform where fformid = '0MKGWCYYQE4W';
delete from t_meta_entity where fid = '0MKGWCYYQE4W';
delete from t_meta_entitydesign where fid = '0MKGWCYYQE4W';
delete from t_meta_entitydesign_l where fid = '0MKGWCYYQE4W';
delete from t_meta_entityinfo where FMAINENTITYID = '0MKGWCYYQE4W';
delete from t_meta_form where fid = '0MKGWCYYQE4W';
delete from t_meta_formdesign where fid = '0MKGWCYYQE4W';
delete from t_meta_formdesign_l where fid = '0MKGWCYYQE4W';
delete from t_meta_mainentityinfo where FDENTITYID = '0MKGWCYYQE4W';

--select * from t_meta_formdesign where fnumber = 'im_mdc_mftreqoutfeed'
--select * from t_meta_mainentityinfo_l where fid = 'im_mdc_mftreqoutfeed'

delete from t_meta_bizunitrelform where fformid = '0MKH11KFIP4+';
delete from t_meta_entity where fid = '0MKH11KFIP4+';
delete from t_meta_entitydesign where fid = '0MKH11KFIP4+';
delete from t_meta_entitydesign_l where fid = '0MKH11KFIP4+';
delete from t_meta_entityinfo where FMAINENTITYID = '0MKH11KFIP4+';
delete from t_meta_form where fid = '0MKH11KFIP4+';
delete from t_meta_formdesign where fid = '0MKH11KFIP4+';
delete from t_meta_formdesign_l where fid = '0MKH11KFIP4+';
delete from t_meta_mainentityinfo where FDENTITYID = '0MKH11KFIP4+';

--select * from t_meta_formdesign where fnumber = 'mdc_mftreqoutbill'
--select * from t_meta_mainentityinfo_l where fid = 'mdc_mftreqoutbill'

delete from t_meta_bizunitrelform where fformid = '0C8H9D+WHEOS';
delete from t_meta_entity where fid = '0C8H9D+WHEOS';
delete from t_meta_entitydesign where fid = '0C8H9D+WHEOS';
delete from t_meta_entitydesign_l where fid = '0C8H9D+WHEOS';
delete from t_meta_entityinfo where FMAINENTITYID = '0C8H9D+WHEOS';
delete from t_meta_form where fid = '0C8H9D+WHEOS';
delete from t_meta_formdesign where fid = '0C8H9D+WHEOS';
delete from t_meta_formdesign_l where fid = '0C8H9D+WHEOS';
delete from t_meta_mainentityinfo where FDENTITYID = '0C8H9D+WHEOS';
delete from t_meta_mainentityinfo_l where fpkid = '0WXIT12BPUS1';
delete from t_meta_mainentityinfo_l where fpkid = '0WXIT12BPUS2';
delete from t_meta_mainentityinfo_l where fpkid = '0WXIT12BPUS3';

--select * from t_meta_formdesign where fnumber = 'opm_mftmanuinbill'
--select * from t_meta_mainentityinfo_l where fid = 'opm_mftmanuinbill'
delete from t_meta_bizunitrelform where fformid = '0MJPWLMB7E/0';
delete from t_meta_entity where fid = '0MJPWLMB7E/0';
delete from t_meta_entitydesign where fid = '0MJPWLMB7E/0';
delete from t_meta_entitydesign_l where fid = '0MJPWLMB7E/0';
delete from t_meta_entityinfo where FMAINENTITYID = '0MJPWLMB7E/0';
delete from t_meta_form where fid = '0MJPWLMB7E/0';
delete from t_meta_formdesign where fid = '0MJPWLMB7E/0';
delete from t_meta_formdesign_l where fid = '0MJPWLMB7E/0';
delete from t_meta_mainentityinfo where FDENTITYID = '0MJPWLMB7E/0';


-- 删除原有生产领单转换路线

DELETE FROM T_BOTP_ConvertRule WHERE FID in('912216323566773248','759872285418330112','767145708901067776','768168368925714432','768168685159458816',
'772526018668961792','772527501732913152','775955067257127936','765674635693030400','762869848001809408','764388144190657536',
'839028579810867200','839054654288887808','923176526063661056','762869848001809408','764388144190657536','839028579810867200',
'839054654288887808','836184009800406016','767264184433255424','767352893719532544','774473319285117952','836184009800406016','919431685886465024');

DELETE FROM t_botp_convertrule_l WHERE FID IN ('912216323566773248','759872285418330112','767145708901067776','768168368925714432','768168685159458816',
'772526018668961792','772527501732913152','775955067257127936','765674635693030400','762869848001809408','764388144190657536',
'839028579810867200','839054654288887808','923176526063661056','762869848001809408','764388144190657536','839028579810867200',
'839054654288887808','836184009800406016','767264184433255424','767352893719532544','774473319285117952','836184009800406016','919431685886465024');

DELETE FROM t_botp_convertrule_s WHERE FID IN ('912216323566773248','759872285418330112','767145708901067776','768168368925714432','768168685159458816',
'772526018668961792','772527501732913152','775955067257127936','765674635693030400','762869848001809408','764388144190657536',
'839028579810867200','839054654288887808','923176526063661056','762869848001809408','764388144190657536','839028579810867200',
'839054654288887808','836184009800406016','767264184433255424','767352893719532544','774473319285117952','836184009800406016','919431685886465024');

DELETE FROM T_BOTP_WriteBackRule WHERE FID IN ('912216323566773248','759872285418330112','767145708901067776','768168368925714432','768168685159458816',
'772526018668961792','772527501732913152','775955067257127936','765674635693030400','762869848001809408','764388144190657536',
'839028579810867200','839054654288887808','923176526063661056','762869848001809408','764388144190657536','839028579810867200',
'839054654288887808','836184009800406016','767264184433255424','767352893719532544','774473319285117952','836184009800406016','919431685886465024');

-- 删除旧的完工入库单转换路线（mdc_mftmanuinbill）  sys.meta
DELETE from T_BOTP_ConvertRule where fid in ('912249709043794944','836184009800406016','912258510555857920','767264184433255424','767352893719532544','774473319285117952');
DELETE from T_BOTP_ConvertRule_L where fid in ('912249709043794944','836184009800406016','912258510555857920','767264184433255424','767352893719532544','774473319285117952');
DELETE from T_BOTP_WriteBackRule_S where fid in ('912249709043794944','836184009800406016','912258510555857920','767264184433255424','767352893719532544','774473319285117952');
DELETE from T_BOTP_WriteBackRule_L where fid in ('912249709043794944','836184009800406016','912258510555857920','767264184433255424','767352893719532544','774473319285117952');
DELETE from T_BOTP_WriteBackRule where fid in ('912249709043794944','836184009800406016','912258510555857920','767264184433255424','767352893719532544','774473319285117952');