package com.ruoyi.system.mapper; import java.util.List; import com.ruoyi.system.domain.CjStudentBind; /** * 学生-微信绑定Mapper接口 * * @author ruoyi * @date 2026-09-03 */ public interface CjStudentBindMapper { /** * 查询学生-微信绑定 * * @param id 学生-微信绑定主键 * @return 学生-微信绑定 */ public CjStudentBind selectCjStudentBindById(Long id); /** * 查询学生-微信绑定列表 * * @param cjStudentBind 学生-微信绑定 * @return 学生-微信绑定集合 */ public List selectCjStudentBindList(CjStudentBind cjStudentBind); /** * 新增学生-微信绑定 * * @param cjStudentBind 学生-微信绑定 * @return 结果 */ public int insertCjStudentBind(CjStudentBind cjStudentBind); /** * 修改学生-微信绑定 * * @param cjStudentBind 学生-微信绑定 * @return 结果 */ public int updateCjStudentBind(CjStudentBind cjStudentBind); /** * 删除学生-微信绑定 * * @param id 学生-微信绑定主键 * @return 结果 */ public int deleteCjStudentBindById(Long id); /** * 批量删除学生-微信绑定 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deleteCjStudentBindByIds(Long[] ids); /** * 统计某批学生是否存在绑定记录(删除学生引用保护) * * @param studentIds 学生ID集合 * @return 数量 */ public int countByStudentIds(Long[] studentIds); }