记得上下班打卡 | git大法好,push需谨慎

Commit 0b9660f9 authored by 胡佳晨's avatar 胡佳晨

admin 修复

parent f97ac605
......@@ -47,8 +47,8 @@
<select id="detail" parameterType="java.util.Map" resultMap="StoneScoreListDtoResult">
select hu.*,
avatar,
(case when score <![CDATA[>]]> 0 then sum(score) else 0 END) as 'score_all',
(case when score <![CDATA[<]]> 0 then sum(score) else 0 END) as 'score_use',
SUM(CASE WHEN score <![CDATA[>]]> 0 THEN score ELSE 0 END) AS 'score_all',
ABS(SUM(CASE WHEN score <![CDATA[<]]> 0 THEN score ELSE 0 END)) AS 'score_use',
('score_all' - 'score_use') as 'score_rest'
from (select nickname,
mobile,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment