ShowGsdMapper.java 869 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package com.railway.business.bi.mapper;
  2. import com.github.pagehelper.Page;
  3. import com.railway.business.bi.domain.ShowGsd;
  4. import com.railway.business.bi.domain.vo.GsdQuery;
  5. import com.railway.business.bi.domain.vo.QuarterTotalVO;
  6. import org.apache.ibatis.annotations.Mapper;
  7. import org.apache.ibatis.annotations.Param;
  8. import org.springframework.stereotype.Repository;
  9. /**
  10. * 大屏展示-生产任务-高受电
  11. *
  12. * @author ZhaoMn
  13. * @date 2023/02/09
  14. */
  15. @Mapper
  16. @Repository
  17. public interface ShowGsdMapper {
  18. /**
  19. * 新增
  20. */
  21. int insert(ShowGsd showGsd);
  22. /**
  23. * 删除
  24. */
  25. int delete(@Param("id") String id);
  26. /**
  27. * 更新
  28. */
  29. int update(ShowGsd showGsd);
  30. /**
  31. * 获取单个
  32. */
  33. ShowGsd getInfo(@Param("id") String id);
  34. /**
  35. * 查询列表
  36. */
  37. Page<ShowGsd> getList(GsdQuery query);
  38. QuarterTotalVO getGsdTotal();
  39. }