@@ -139,7 +139,8 @@
<select id="selectBydepId" resultType="com.goafanti.common.model.WorkingHours">
select
- a.id,a.name,a.`type`, a.`start`, a.rest_start restStart, a.rest_end restEnd, a.`end`, a.create_time createTime
+ a.id,a.name,a.`type`, a.`start`, a.rest_start restStart, a.rest_end restEnd, a.`end`, a.create_time createTime,
+ a.min_hours minHours
from department d left join working_hours a on d.working_hours_type =a.type
where d.id = #{depId}
</select>