From 850f36e4b224c047b69ccf19cacd6cf836da1534 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Mon, 2 Sep 2024 18:01:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20240901_修改价格与数量的类型.sql | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/202409/重庆机具/20240901_修改价格与数量的类型.sql b/202409/重庆机具/20240901_修改价格与数量的类型.sql index 947430f..20c0b37 100644 --- a/202409/重庆机具/20240901_修改价格与数量的类型.sql +++ b/202409/重庆机具/20240901_修改价格与数量的类型.sql @@ -1,20 +1,20 @@ --任务:修改价格、费用与数量的类型 -ALTER TABLE data_receive_detail MODIFY COLUMN rent_price decimal(10, 2) default 0.00 comment '租赁价格'; -ALTER TABLE ma_machine MODIFY COLUMN buy_price decimal(10, 2) default 0.00 comment '购置价格'; -ALTER TABLE ma_part_type MODIFY COLUMN buy_price decimal(10, 2) default 0.00 comment '原值'; -ALTER TABLE ma_type MODIFY COLUMN lease_price decimal(10, 2) default 0.00 comment '内部租赁单价'; -ALTER TABLE ma_type MODIFY COLUMN rent_price decimal(10, 2) default 0.00 comment '外部租赁单价'; -ALTER TABLE ma_type MODIFY COLUMN buy_price decimal(10, 2) default 0.00 comment '原值'; -ALTER TABLE ma_type MODIFY COLUMN pay_price decimal(10, 2) default 0.00 comment '丢失赔偿价'; -ALTER TABLE ma_type_his_price MODIFY COLUMN lease_price decimal(10, 2) default 0.00 comment '租赁价格'; -ALTER TABLE plan_borrow_details MODIFY COLUMN plan_price decimal(10, 2) default 0.00 comment '计划单价'; -ALTER TABLE plan_need_details MODIFY COLUMN plan_price decimal(10, 2) default 0.00 comment '计划单价'; -ALTER TABLE purchase_check_details MODIFY COLUMN purchase_price decimal(10, 2) default 0.00 comment '采购单价'; -ALTER TABLE purchase_part_details MODIFY COLUMN purchase_price decimal(10, 2) default 0.00 comment '采购单价'; -ALTER TABLE repair_apply_record MODIFY COLUMN part_price decimal(10, 2) default 0.00 comment '配件单价'; -ALTER TABLE slt_agreement_details MODIFY COLUMN price decimal(10, 2) default 0.00 comment '单价'; -ALTER TABLE slt_agreement_info MODIFY COLUMN lease_price decimal(10, 2) default 0.00 comment '租赁单价'; -ALTER TABLE slt_agreement_info MODIFY COLUMN buy_price decimal(10, 2) default 0.00 comment '原值'; +ALTER TABLE data_receive_detail MODIFY COLUMN rent_price decimal(10, 2) default 0.00 comment '租赁价格'; --数据推送过来的,未联调过 +ALTER TABLE ma_machine MODIFY COLUMN buy_price decimal(10, 2) default 0.00 comment '购置价格'; -- 该字段未用 +ALTER TABLE ma_part_type MODIFY COLUMN buy_price decimal(10, 2) default 0.00 comment '原值'; -- 已改 +ALTER TABLE ma_type MODIFY COLUMN lease_price decimal(10, 2) default 0.00 comment '内部租赁单价'; -- 已改 +ALTER TABLE ma_type MODIFY COLUMN rent_price decimal(10, 2) default 0.00 comment '外部租赁单价'; -- 重庆未使用该字段 +ALTER TABLE ma_type MODIFY COLUMN buy_price decimal(10, 2) default 0.00 comment '原值'; -- 已改 +ALTER TABLE ma_type MODIFY COLUMN pay_price decimal(10, 2) default 0.00 comment '丢失赔偿价'; -- 重庆未使用该字段(已改) +ALTER TABLE ma_type_his_price MODIFY COLUMN lease_price decimal(10, 2) default 0.00 comment '租赁价格'; -- 该表未使用 +ALTER TABLE plan_borrow_details MODIFY COLUMN plan_price decimal(10, 2) default 0.00 comment '计划单价'; -- 计划管理功能菜单隐藏,暂时不改 +ALTER TABLE plan_need_details MODIFY COLUMN plan_price decimal(10, 2) default 0.00 comment '计划单价'; -- 计划管理功能菜单隐藏,暂时不改 +ALTER TABLE purchase_check_details MODIFY COLUMN purchase_price decimal(10, 2) default 0.00 comment '采购单价'; -- 已改 +ALTER TABLE purchase_part_details MODIFY COLUMN purchase_price decimal(10, 2) default 0.00 comment '采购单价'; -- 已改 +ALTER TABLE repair_apply_record MODIFY COLUMN part_price decimal(10, 2) default 0.00 comment '配件单价'; -- 已改 +ALTER TABLE slt_agreement_details MODIFY COLUMN price decimal(10, 2) default 0.00 comment '单价'; -- 该表未使用 +ALTER TABLE slt_agreement_info MODIFY COLUMN lease_price decimal(10, 2) default 0.00 comment '租赁单价'; -- 已改 +ALTER TABLE slt_agreement_info MODIFY COLUMN buy_price decimal(10, 2) default 0.00 comment '原值'; -- 已改 ALTER TABLE plan_borrow_details MODIFY COLUMN plan_cost decimal(10, 2) default 0.00 comment '计划总价'; ALTER TABLE plan_need_details MODIFY COLUMN plan_cost decimal(10, 2) default 0.00 comment '计划总价';