Explorar o código

单价保留小数点4位SQL更新

liuj hai 2 semanas
pai
achega
569fb6d27e
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  1. 13 0
      src/main/resources/data/update/smb0826.sql

+ 13 - 0
src/main/resources/data/update/smb0826.sql

@@ -101,3 +101,16 @@ VALUES ('资方融资款项',(select id from t_dictionary p where p.code = 'cash
 
 ALTER TABLE `ledger_fund_goods_assign` ADD `repay_kind` varchar(2) DEFAULT NULL COMMENT '苏商还款种类';
 ALTER TABLE `financing_payment_info` ADD `biz_no` varchar(32) DEFAULT NULL COMMENT 'biz_no';
+
+ALTER TABLE `c_settlement_goods_info` MODIFY `reference_price` decimal(17,4) DEFAULT NULL COMMENT '参考价格';
+ALTER TABLE `c_settlement_goods_info` MODIFY `floating_price` decimal(17,4) DEFAULT NULL COMMENT '浮动价格';
+ALTER TABLE `settlement_his_goods_info` MODIFY `reference_price` decimal(17,4) DEFAULT NULL COMMENT '参考价格';
+ALTER TABLE `settlement_his_goods_info` MODIFY `floating_price` decimal(17,4) DEFAULT NULL COMMENT '浮动价格';
+ALTER TABLE `c_invoice_goods_info` MODIFY `sales_price` decimal(17,4) DEFAULT NULL COMMENT '销售单价';
+ALTER TABLE `c_invoice_goods_info` MODIFY `open_amount` decimal(17,4) DEFAULT NULL COMMENT '开票金额';
+ALTER TABLE `invoice_his_goods_info` MODIFY `sales_price` decimal(17,4) DEFAULT NULL COMMENT '销售单价';
+ALTER TABLE `invoice_his_goods_info` MODIFY `open_amount` decimal(17,4) DEFAULT NULL COMMENT '开票金额';
+
+ALTER TABLE `c_sales_invoice_info` MODIFY `amount` decimal(17,4) DEFAULT NULL COMMENT '金额';
+ALTER TABLE `c_sales_invoice_info` MODIFY `tax_amount` decimal(17,4) DEFAULT NULL COMMENT '税额';
+ALTER TABLE `c_sales_invoice_info` MODIFY `price_tax_total` decimal(17,4) DEFAULT NULL COMMENT '价税合计';