@@ -271,7 +271,7 @@
from machine_record t
where t.status_cd = '0'
and t.community_id = #{communityId}
- group by DATE_FORMAT(t.create_time,'%Y-%m-%d')
+ group by t.create_time
order by t.create_time desc
limit 0,7
</select>
@@ -611,7 +611,6 @@
and t.stock > 0
</if>
group by rsts.times_id,rsts.res_code,rsts.stock,rsts.price
- order by t.create_time desc
<if test="page != -1 and page != null ">
limit #{page}, #{row}