|
|
|
@@ -9,7 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="onDutyHourStart" column="on_duty_hour_start" /> |
|
|
|
<result property="onDutyHourEnd" column="on_duty_hour_end" /> |
|
|
|
<result property="offDutyHourStart" column="off_duty_hour_start" /> |
|
|
|
<result property="weekendHourEnd" column="off_duty_hour_end" /> |
|
|
|
<result property="offDutyHourEnd" column="off_duty_hour_end" /> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<select id="selectWorkTimeByDeptId" parameterType="java.lang.Long" resultMap="SysDeptExtResult"> |
|
|
|
@@ -19,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
|
|
|
<insert id="insertWorkTimeByDeptId" parameterType="SysDeptExt"> |
|
|
|
insert into sys_dept_ext (dept_id,on_duty_hour_start,on_duty_hour_end,off_duty_hour_start,off_duty_hour_end) |
|
|
|
values (#{deptId},#{workdayHourStart},#{workdayHourEnd},#{offDutyHourStart},#{weekendHourEnd}) |
|
|
|
values (#{deptId},#{workdayHourStart},#{workdayHourEnd},#{offDutyHourStart},#{offDutyHourEnd}) |
|
|
|
</insert> |
|
|
|
|
|
|
|
<update id="updateWorkTimeByDeptId" parameterType="SysDeptExt"> |
|
|
|
|