-- 修正V20状态默认值的额外引号;不改历史业务、工资或核算数据。 ALTER TABLE tplus_automation_states ALTER COLUMN worker_phase SET DEFAULT 'STOPPED'; UPDATE tplus_automation_states SET worker_phase='STOPPED' WHERE worker_phase='''STOPPED''';