yh.sql 621 B

12345678910111213141516
  1. update apisql set sqlname='getNoMesList_bk' where sqlname ='getNoMesList';
  2. update apisql set sqlname='getNoMesCount_bk' where sqlname ='getNoMesCount';
  3. alter table buydetail modify column contractId bigint(50) ;
  4. alter table part_repertory modify column contractId bigint(50) ;
  5. alter table checkpart modify column contractId bigint(50) ;
  6. alter table partuse modify column contractId bigint(50) ;
  7. alter table part_repertory drop index partcode
  8. alter table part_repertory add unique index (locationId ,providerId ,price,partCode,contractId)
  9. locationId ,
  10. providerId ,
  11. price ,
  12. partCode ,
  13. contractId,