sql7="delete from mcms_operation_notice where branch_name like '%东土城路院区_____';"
sql7="delete from mcms_operation_notice where branch_name like '%东土城路院区_____';"
sql8="delete from mcms_purchase_detail where pid in(select id from mcms_purchase where branch_id not in(select id from spd3_herp_test2.mcms_branch_info ));"
sql8="delete from mcms_purchase_detail where pid in(select id from mcms_purchase where branch_id not in(select id from spd3_herp_test2.mcms_branch_info ));"
sql9="delete from mcms_purchase where branch_id not in(select id from spd3_herp_test2.mcms_branch_info );"
sql9="delete from mcms_purchase where branch_id not in(select id from spd3_herp_test2.mcms_branch_info );"
#删除发票中的垃圾数据
sql10=" delete from mcms_invoice where id in (select pid from mcms_invoice_detail where hos_goods_id not in(select id from mcms_goods_info));"
sql11=" delete from mcms_invoice_detail where hos_goods_id not in(select id from mcms_goods_info);"