package com.ruoyi.system.service.impl;
|
|
import java.util.List;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
import com.ruoyi.system.mapper.CjStudentBindMapper;
|
import com.ruoyi.system.domain.CjStudentBind;
|
import com.ruoyi.system.service.ICjStudentBindService;
|
|
/**
|
* 学生-微信绑定Service业务层处理
|
*
|
* @author ruoyi
|
* @date 2026-09-03
|
*/
|
@Service
|
public class CjStudentBindServiceImpl implements ICjStudentBindService
|
{
|
@Autowired
|
private CjStudentBindMapper cjStudentBindMapper;
|
|
/**
|
* 查询学生-微信绑定
|
*
|
* @param id 学生-微信绑定主键
|
* @return 学生-微信绑定
|
*/
|
@Override
|
public CjStudentBind selectCjStudentBindById(Long id)
|
{
|
return cjStudentBindMapper.selectCjStudentBindById(id);
|
}
|
|
/**
|
* 查询学生-微信绑定列表
|
*
|
* @param cjStudentBind 学生-微信绑定
|
* @return 学生-微信绑定
|
*/
|
@Override
|
public List<CjStudentBind> selectCjStudentBindList(CjStudentBind cjStudentBind)
|
{
|
return cjStudentBindMapper.selectCjStudentBindList(cjStudentBind);
|
}
|
|
/**
|
* 新增学生-微信绑定
|
*
|
* @param cjStudentBind 学生-微信绑定
|
* @return 结果
|
*/
|
@Override
|
public int insertCjStudentBind(CjStudentBind cjStudentBind)
|
{
|
return cjStudentBindMapper.insertCjStudentBind(cjStudentBind);
|
}
|
|
/**
|
* 修改学生-微信绑定
|
*
|
* @param cjStudentBind 学生-微信绑定
|
* @return 结果
|
*/
|
@Override
|
public int updateCjStudentBind(CjStudentBind cjStudentBind)
|
{
|
return cjStudentBindMapper.updateCjStudentBind(cjStudentBind);
|
}
|
|
/**
|
* 批量删除学生-微信绑定
|
*
|
* @param ids 需要删除的学生-微信绑定主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteCjStudentBindByIds(Long[] ids)
|
{
|
return cjStudentBindMapper.deleteCjStudentBindByIds(ids);
|
}
|
|
/**
|
* 删除学生-微信绑定信息
|
*
|
* @param id 学生-微信绑定主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteCjStudentBindById(Long id)
|
{
|
return cjStudentBindMapper.deleteCjStudentBindById(id);
|
}
|
}
|