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
26
27
28
29
30
31
32
package com.kidgrow.oprationcenter.mapper;
 
import com.kidgrow.db.mapper.SuperMapper;
import com.kidgrow.oprationcenter.model.AppointmentTime;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br>
 *
 * @Description: <br>
 * @Project: <br>
 * @CreateDate: Created in 2021/3/1 14:39 <br>
 * @Author: <a href="78125310@kidgrow.com">dougang</a>
 */
public interface AppointmentTimeMapper extends SuperMapper<AppointmentTime> {
 
    /**
     * 通过咨询ID删除
     * @param id
     * @return
     */
    int delByAdvisoryId(@Param("id") Long id);
 
    /**
     * 通过咨询ID查询预约时间
     * @param id
     * @return
     */
    List<AppointmentTime> queryByAdvisoryId(@Param("advisoryId") Long id);
}