摘要: private double getConsumeRateAB(Long node_consumers, Long node_persons) { BigDecimal b1 = new BigDecimal(node_consumers); BigDecimal b2 = new BigDecim 阅读全文
posted @ 2020-11-10 19:59 牧の风 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 类型转换 保留两位小数 cast(SUM(IFNULL(r.value_2,0)) as decimal(10, 2)) 阅读全文
posted @ 2020-11-10 11:37 牧の风 阅读(68) 评论(0) 推荐(0) 编辑