anderx 4 years ago
parent
commit
0f94e4bdce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/common/mapper/WorkingHoursMapper.xml

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

@@ -174,7 +174,7 @@
   
   <select id="selectBydepId"  resultType="com.goafanti.common.model.WorkingHours">
     select 
-    a.id,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
     from department d  left join working_hours a on d.working_hours_type =a.type
     where d.id = #{depId}
   </select>