|
|
@@ -60,7 +60,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getSaleData" parameterType="long" resultType="string">
|
|
|
- select concat('[',five,',',other,']') from ((
|
|
|
+ select concat('[',five,',',other,']') from ((
|
|
|
|
|
|
select GROUP_CONCAT(concat('{"x":"',si_custname,'","y":',IFNULL(round(si_amount/10000,2),0),'}')) five from (
|
|
|
select * from statsinfo where companyid=1 and si_yearmonth=DATE_FORMAT(now(),'%Y%m') and si_type='SALE' ORDER BY si_amount desc limit 0,5
|