This commit is contained in:
parent
c790894d86
commit
57706319ae
|
@ -9,7 +9,7 @@
|
|||
left join (select count(*) as num, day_id
|
||||
from m_reservation_time
|
||||
where counselor_id = #{userId}
|
||||
and status = 1
|
||||
and status > 0
|
||||
group by day_id) t on t.day_id = rd.id
|
||||
where rd.counselor_id = #{userId}
|
||||
and DATE_FORMAT(rd.day_time, '%Y-%m') = #{time}
|
||||
|
@ -25,7 +25,7 @@
|
|||
left join m_reservation_order ro on ro.time_id = rt.id
|
||||
left join sys_user u on u.user_id = ro.create_by
|
||||
where rt.counselor_id = #{userId}
|
||||
and DATE_FORMAT(rd.day_time, '%Y-%m') = #{time}
|
||||
and DATE_FORMAT(rd.day_time, '%Y-%m-%d') = #{time}
|
||||
and rt.`status` > 0
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
Loading…
Reference in New Issue