1.0.348.sql 576 B

12345678910111213141516
  1. -- 1.0.348 停用 S3 已废弃的本地 InvMaster 拉取。
  2. -- 库存余额统一由 S5 LocationDetail -> mdp_std_inventory 链路提供。
  3. SET NAMES utf8mb4;
  4. UPDATE `mdp_entity`
  5. SET `status` = 0,
  6. `remark` = CONCAT(
  7. IFNULL(`remark`, ''),
  8. CASE
  9. WHEN IFNULL(`remark`, '') LIKE '%INV-CONVERGENCE: S3 inventory uses S5 LocationDetail standard chain%'
  10. THEN ''
  11. ELSE ' | INV-CONVERGENCE: S3 inventory uses S5 LocationDetail standard chain'
  12. END
  13. ),
  14. `update_time` = NOW()
  15. WHERE `entity_code` = 'S3_INVENTORY';