Browse Source

修改作息获取最小公出

anderx 2 years ago
parent
commit
100ebb4df9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/java/com/goafanti/common/mapper/WorkingHoursMapper.xml

+ 2 - 1
src/main/java/com/goafanti/common/mapper/WorkingHoursMapper.xml

@@ -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>