8d73e917
陈威
初始化提交
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hotent.Calendar.dao.CalendarShiftPeroidDao">
<resultMap id="CalendarShiftPeroid" type="com.hotent.Calendar.model.CalendarShiftPeroid">
<id property="id" column="id_" jdbcType="VARCHAR"/>
<result property="shiftId" column="shift_id_" jdbcType="VARCHAR"/>
<result property="startTime" column="start_time_" jdbcType="VARCHAR"/>
<result property="endTime" column="end_time_" jdbcType="VARCHAR"/>
<result property="memo" column="memo_" jdbcType="VARCHAR"/>
</resultMap>
<delete id="delByMainId">
DELETE FROM portal_cal_shift_peroid
WHERE
shift_id_=#{shiftId}
</delete>
<select id="getCalendarShiftPeroidList" resultMap="CalendarShiftPeroid">
SELECT *
FROM portal_cal_shift_peroid
WHERE shift_id_=#{shiftId}
</select>
</mapper>
|