数据概览导出+优化
This commit is contained in:
parent
322bdab810
commit
17f067f080
|
@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
(select count(1) from bus_store_info WHERE self_delivery_status != '3' and grant_status = '1' and bind_user = a.Agent_Account) as isGrantTotal,
|
||||
b.*,
|
||||
c.*,
|
||||
(case WHEN (minusTotal != Null) THEN IFNULL(commentsTotal,0) / minusTotal else 0 end) as rate,
|
||||
( CASE WHEN ( minusTotal != NULL or minusTotal != 0 ) THEN CONVERT(ROUND(commentsTotal / minusTotal, 2), CHAR) ELSE '0' END ) AS rate,
|
||||
#{expEndTime} as time
|
||||
FROM
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue