anderx 4 年之前
父节点
当前提交
0f94e4bdce
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>