<?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.kidgrow.oprationcenter.mapper.AppointmentTimeMapper">
|
<!--定义查询列-->
|
<sql id="Column_List">
|
*
|
</sql>
|
|
<!--sql查询片段-->
|
<sql id="where">
|
<where>
|
<!--查询条件自行添加-->
|
|
</where>
|
</sql>
|
|
<delete id="delByAdvisoryId" parameterType="java.lang.Long">
|
delete from appointment_time where advisory_id= #{id}
|
</delete>
|
|
<select id="queryByAdvisoryId" parameterType="java.lang.Long" resultType="com.kidgrow.oprationcenter.model.AppointmentTime">
|
select * from appointment_time where advisory_id=#{advisoryId}
|
</select>
|
</mapper>
|