zjh
2025-06-05 2eb40036e885988fbf93ebcb98a339b197fb6340
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package com.ltkj.hosp.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ltkj.hosp.domain.TjReservation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
 
import java.util.List;
 
 
/**
 * 体检预约Mapper接口
 *
 * @author ltkj
 * @date 2022-11-28
 */
@Mapper
public interface TjReservationMapper extends BaseMapper<TjReservation> {
    /**
     * 查询体检预约
     *
     * @param id 体检预约主键
     * @return 体检预约
     */
    public TjReservation selectTjReservationById(String id);
 
    /**
     * 查询体检预约列表
     *
     * @param tjReservation 体检预约
     * @return 体检预约集合
     */
    public List<TjReservation> selectTjReservationList(TjReservation tjReservation);
 
 
 
    public List<TjReservation> getTjReservationList(TjReservation tjReservation);
 
    /**
     * 新增体检预约
     *
     * @param tjReservation 体检预约
     * @return 结果
     */
    public int insertTjReservation(TjReservation tjReservation);
 
    /**
     * 修改体检预约
     *
     * @param tjReservation 体检预约
     * @return 结果
     */
    public int updateTjReservation(TjReservation tjReservation);
 
    /**
     * 删除体检预约
     *
     * @param id 体检预约主键
     * @return 结果
     */
    public int deleteTjReservationById(Integer id);
 
    /**
     * 批量删除体检预约
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTjReservationByIds(Integer[] ids);
 
 
 
    @Select("SELECT * FROM tj_reservation WHERE deleted = 1")
    public List<TjReservation> selectTjReservationByDelete();
}