登录
上传中....
hibernate 聚合函数
select ceiling(SUM(artAnsowerNum)) from Artic where enterTime between ? and ? and project.prjId=?
用ceiling,向上取整
floor是向下取整
round(a,0) 四舍五入
---------------------------------------------
数据库的