update 整合来款用途

This commit is contained in:
lijiarao
2022-08-31 16:34:31 +08:00
parent 3ff5a29a88
commit 33a50f8175
+15
View File
@@ -124,3 +124,18 @@ where certificate_payment_amount is null;
update tb_member_project_subitem
set member_payment_amount = amount_receivable
where member_payment_amount is null;
-- 整合来款用途
ALTER TABLE `tb_certificate_payment`
MODIFY COLUMN `charge_use` tinyint(1) NULL DEFAULT 21 COMMENT '来款用途(字典表)';
update tb_certificate_payment set charge_use = 21;
ALTER TABLE `tb_member_project_subitem`
MODIFY COLUMN `charge_use` tinyint(1) NULL DEFAULT 21 COMMENT '来款用途(字典表)';
update tb_member_project_subitem set charge_use = 21;
ALTER TABLE `pay_member_project_subitem`
MODIFY COLUMN `charge_use` tinyint(1) NULL DEFAULT 21 COMMENT '来款用途(字典表)';
update pay_member_project_subitem set charge_use = 21;
update pay_common_project set charge_use = 21 where charge_use in (20,3,2,9);
delete from sys_dict_item where dict_id = '1431145150766923778' and item_value in (2,3,9,20);