|
|
|
@ -83,7 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
<select id="selectInToFlowHourList" resultMap="ResultVOResult"> |
|
|
|
|
select t1.hour as name,ifnull( sum(t1.into_num),0) as num from r_reservation_hour t1 |
|
|
|
|
left join b_tour_info t2 on t1.resource_code = t2.resource_code |
|
|
|
|
where t1.del_flag !='2' and t2.del_flag !='2' and t2.organ_code =#{organCode}and (t1.hour >=8 and t1.hour <=18) |
|
|
|
|
where t1.del_flag !='2' and t2.del_flag !='2' and t2.organ_code =#{organCode}and (t1.hour >=8 and t1.hour <=18) |
|
|
|
|
group by t1.hour |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|