数据概览导出+优化

This commit is contained in:
ywh 2024-08-18 17:53:25 +08:00
parent 322bdab810
commit 17f067f080
1 changed files with 1 additions and 1 deletions

View File

@ -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, (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.*, b.*,
c.*, 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 #{expEndTime} as time
FROM FROM
( (