IsDeviceTechnologyMapper.java 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. package com.ktg.iscs.mapper;
  2. import java.util.List;
  3. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  4. import com.ktg.iscs.domain.vo.technology.IsDeviceTechnologyVO;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import com.ktg.common.mapper.BaseMapperX;
  7. import com.ktg.iscs.domain.IsDeviceTechnology;
  8. import org.apache.ibatis.annotations.Param;
  9. /**
  10. * 设备工艺Mapper接口
  11. *
  12. * @author cgj
  13. * @date 2024-12-17
  14. */
  15. @Mapper
  16. public interface IsDeviceTechnologyMapper extends BaseMapperX<IsDeviceTechnology>
  17. {
  18. /**
  19. * 查询设备工艺
  20. *
  21. * @param technologyId 设备工艺主键
  22. * @return 设备工艺
  23. */
  24. IsDeviceTechnology selectIsDeviceTechnologyByTechnologyId(Long technologyId);
  25. /**
  26. * 查询设备工艺列表
  27. *
  28. * @param isDeviceTechnology 设备工艺
  29. * @return 设备工艺集合
  30. */
  31. List<IsDeviceTechnology> selectIsDeviceTechnologyList(IsDeviceTechnology isDeviceTechnology);
  32. /**
  33. * 新增设备工艺
  34. *
  35. * @param isDeviceTechnology 设备工艺
  36. * @return 结果
  37. */
  38. int insertIsDeviceTechnology(IsDeviceTechnology isDeviceTechnology);
  39. /**
  40. * 修改设备工艺
  41. *
  42. * @param isDeviceTechnology 设备工艺
  43. * @return 结果
  44. */
  45. int updateIsDeviceTechnology(IsDeviceTechnology isDeviceTechnology);
  46. /**
  47. * 删除设备工艺
  48. *
  49. * @param technologyId 设备工艺主键
  50. * @return 结果
  51. */
  52. int deleteIsDeviceTechnologyByTechnologyId(Long technologyId);
  53. /**
  54. * 批量删除设备工艺
  55. *
  56. * @param technologyIds 需要删除的数据主键集合
  57. * @return 结果
  58. */
  59. int deleteIsDeviceTechnologyByTechnologyIds(Long[] technologyIds);
  60. Page<IsDeviceTechnologyVO> getIsDeviceTechnologyPage(Page<IsDeviceTechnology> page, @Param(value = "isDeviceTechnology") IsDeviceTechnology isDeviceTechnology);
  61. }