mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 查询首页数据
This commit is contained in:
@@ -779,7 +779,13 @@
|
||||
date(t1.create_time) >= DATE_SUB(CURDATE(),INTERVAL 30 day)
|
||||
and t1.order_status = '6'
|
||||
<if test="dto.stationId != null and dto.stationId != ''">
|
||||
and t1,station_id = #{dto.stationId,jdbcType=VARCHAR}
|
||||
and t1.station_id = #{dto.stationId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dto.stationIdList != null and dto.stationIdList.size() != 0">
|
||||
and t1.station_id in
|
||||
<foreach collection="dto.stationIdList" item="item" open="(" separator="," close=")">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
group by DATE_FORMAT(t1.create_time,'%Y-%m-%d')
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user