zjh
2025-01-16 5c58a8a9fa43c671af54358172f853f02c4acfc7
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package com.ltkj.hosp.service.impl;
 
import java.util.List;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ltkj.common.utils.DateUtils;
import com.ltkj.hosp.domain.TjSurveyTemplate;
import com.ltkj.hosp.mapper.TjSurveyTemplateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ltkj.hosp.mapper.TjTeamAppLogMapper;
import com.ltkj.hosp.domain.TjTeamAppLog;
import com.ltkj.hosp.service.ITjTeamAppLogService;
 
/**
 * 小程序团队预约记录Service业务层处理
 *
 * @author ltkj_赵佳豪&李格
 * @date 2023-12-01
 */
@Service
public class TjTeamAppLogServiceImpl extends ServiceImpl<TjTeamAppLogMapper, TjTeamAppLog>  implements ITjTeamAppLogService {
    @Autowired
    private TjTeamAppLogMapper tjTeamAppLogMapper;
 
    /**
     * 查询小程序团队预约记录
     *
     * @param id 小程序团队预约记录主键
     * @return 小程序团队预约记录
     */
    @Override
    public TjTeamAppLog selectTjTeamAppLogById(Long id) {
        return tjTeamAppLogMapper.selectTjTeamAppLogById(id);
    }
 
    /**
     * 查询小程序团队预约记录列表
     *
     * @param tjTeamAppLog 小程序团队预约记录
     * @return 小程序团队预约记录
     */
    @Override
    public List<TjTeamAppLog> selectTjTeamAppLogList(TjTeamAppLog tjTeamAppLog) {
        return tjTeamAppLogMapper.selectTjTeamAppLogList(tjTeamAppLog);
    }
 
    /**
     * 新增小程序团队预约记录
     *
     * @param tjTeamAppLog 小程序团队预约记录
     * @return 结果
     */
    @Override
    public int insertTjTeamAppLog(TjTeamAppLog tjTeamAppLog) {
                tjTeamAppLog.setCreateTime(DateUtils.getNowDate());
            return tjTeamAppLogMapper.insertTjTeamAppLog(tjTeamAppLog);
    }
 
    /**
     * 修改小程序团队预约记录
     *
     * @param tjTeamAppLog 小程序团队预约记录
     * @return 结果
     */
    @Override
    public int updateTjTeamAppLog(TjTeamAppLog tjTeamAppLog) {
                tjTeamAppLog.setUpdateTime(DateUtils.getNowDate());
        return tjTeamAppLogMapper.updateTjTeamAppLog(tjTeamAppLog);
    }
 
    /**
     * 批量删除小程序团队预约记录
     *
     * @param ids 需要删除的小程序团队预约记录主键
     * @return 结果
     */
    @Override
    public int deleteTjTeamAppLogByIds(Long[] ids) {
        return tjTeamAppLogMapper.deleteTjTeamAppLogByIds(ids);
    }
 
    /**
     * 删除小程序团队预约记录信息
     *
     * @param id 小程序团队预约记录主键
     * @return 结果
     */
    @Override
    public int deleteTjTeamAppLogById(Long id) {
        return tjTeamAppLogMapper.deleteTjTeamAppLogById(id);
    }
}