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);
|
}
|
}
|