young-datafan-ooooo1 / sqlbuilder

通用的sql构建包,目前支持(mysql、oracle、postgresql、sqlserver、Clickhouse)的大部分函数,以及多表关联。
http://www.young-datafan.com/docs-sqlbuilder/intro/
Apache License 2.0
126 stars 20 forks source link

pg 12/100 默认不保留小数等于0,所以百分比计算方法需要调整,为round(12/100:: NUMERIC,2) #19

Closed iris2019 closed 2 years ago

iris2019 commented 2 years ago

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows: