forked from kidgrow-microservices-platform

dougang
2021-04-08 6d0fee3cdc8cb213d0388ffa2e7ed7a091a1ea4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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>