zjh
2025-06-20 5f1d1c462bbf49bc6a22b9e17b49733bcc1e0bc6
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.TjTeamAppLog;
import com.ltkj.hosp.mapper.TjTeamAppLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ltkj.hosp.mapper.TjTeamContactLogMapper;
import com.ltkj.hosp.domain.TjTeamContactLog;
import com.ltkj.hosp.service.ITjTeamContactLogService;
 
/**
 * 团队预约沟通记录Service业务层处理
 *
 * @author ltkj_赵佳豪&李格
 * @date 2023-12-01
 */
@Service
public class TjTeamContactLogServiceImpl extends ServiceImpl<TjTeamContactLogMapper, TjTeamContactLog>  implements ITjTeamContactLogService {
    @Autowired
    private TjTeamContactLogMapper tjTeamContactLogMapper;
 
    /**
     * 查询团队预约沟通记录
     *
     * @param id 团队预约沟通记录主键
     * @return 团队预约沟通记录
     */
    @Override
    public TjTeamContactLog selectTjTeamContactLogById(Long id) {
        return tjTeamContactLogMapper.selectTjTeamContactLogById(id);
    }
 
    /**
     * 查询团队预约沟通记录列表
     *
     * @param tjTeamContactLog 团队预约沟通记录
     * @return 团队预约沟通记录
     */
    @Override
    public List<TjTeamContactLog> selectTjTeamContactLogList(TjTeamContactLog tjTeamContactLog) {
        return tjTeamContactLogMapper.selectTjTeamContactLogList(tjTeamContactLog);
    }
 
    /**
     * 新增团队预约沟通记录
     *
     * @param tjTeamContactLog 团队预约沟通记录
     * @return 结果
     */
    @Override
    public int insertTjTeamContactLog(TjTeamContactLog tjTeamContactLog) {
                tjTeamContactLog.setCreateTime(DateUtils.getNowDate());
            return tjTeamContactLogMapper.insertTjTeamContactLog(tjTeamContactLog);
    }
 
    /**
     * 修改团队预约沟通记录
     *
     * @param tjTeamContactLog 团队预约沟通记录
     * @return 结果
     */
    @Override
    public int updateTjTeamContactLog(TjTeamContactLog tjTeamContactLog) {
                tjTeamContactLog.setUpdateTime(DateUtils.getNowDate());
        return tjTeamContactLogMapper.updateTjTeamContactLog(tjTeamContactLog);
    }
 
    /**
     * 批量删除团队预约沟通记录
     *
     * @param ids 需要删除的团队预约沟通记录主键
     * @return 结果
     */
    @Override
    public int deleteTjTeamContactLogByIds(Long[] ids) {
        return tjTeamContactLogMapper.deleteTjTeamContactLogByIds(ids);
    }
 
    /**
     * 删除团队预约沟通记录信息
     *
     * @param id 团队预约沟通记录主键
     * @return 结果
     */
    @Override
    public int deleteTjTeamContactLogById(Long id) {
        return tjTeamContactLogMapper.deleteTjTeamContactLogById(id);
    }
}