DzCardsMapper.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package com.ruoyi.dz.mapper;
  2. import java.util.List;
  3. import com.ruoyi.criteria.CardCriteria;
  4. import com.ruoyi.dz.domain.DzCards;
  5. import org.apache.ibatis.annotations.Param;
  6. /**
  7. * 学习卡Mapper接口
  8. *
  9. * @author ruoyi
  10. * @date 2025-09-12
  11. */
  12. public interface DzCardsMapper
  13. {
  14. /**
  15. * 查询学习卡
  16. *
  17. * @param cardId 学习卡主键
  18. * @return 学习卡
  19. */
  20. public DzCards selectDzCardsByCardId(Long cardId);
  21. /**
  22. * 查询学习卡列表
  23. *
  24. * @param dzCards 学习卡
  25. * @return 学习卡集合
  26. */
  27. public List<DzCards> selectDzCardsList(DzCards dzCards);
  28. /**
  29. * 新增学习卡
  30. *
  31. * @param dzCards 学习卡
  32. * @return 结果
  33. */
  34. public int insertDzCards(DzCards dzCards);
  35. /**
  36. * 修改学习卡
  37. *
  38. * @param dzCards 学习卡
  39. * @return 结果
  40. */
  41. public int updateDzCards(DzCards dzCards);
  42. public int updateDzCardsByNo(DzCards dzCards);
  43. /**
  44. * 删除学习卡
  45. *
  46. * @param cardId 学习卡主键
  47. * @return 结果
  48. */
  49. public int deleteDzCardsByCardId(Long cardId);
  50. /**
  51. * 批量删除学习卡
  52. *
  53. * @param cardIds 需要删除的数据主键集合
  54. * @return 结果
  55. */
  56. public int deleteDzCardsByCardIds(Long[] cardIds);
  57. public List<DzCards> selectListByCond(CardCriteria cond);
  58. public List<DzCards> selectCardsByCardIds(Long[] cardIds);
  59. public Long selectMaxNo(@Param("type") Integer type);
  60. }