IBusJcbWjcxcService.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package com.railway.business.catenary.service;
  2. import com.github.pagehelper.Page;
  3. import com.railway.business.catenary.domain.BusJcbWjcxc;
  4. import com.railway.business.catenary.domain.vo.JcebQueryVo;
  5. import com.railway.business.catenary.domain.vo.JcebRecordVo;
  6. import java.util.List;
  7. /**
  8. * 检查表-无交叉线岔
  9. * @author zcf
  10. * @date 2021/10/19
  11. */
  12. public interface IBusJcbWjcxcService{
  13. /**
  14. * 新增
  15. */
  16. int create(BusJcbWjcxc busJcbWjcxc);
  17. /**
  18. * 删除
  19. */
  20. int delete(String[] ids);
  21. /**
  22. * 更新
  23. */
  24. int update(BusJcbWjcxc busJcbWjcxc);
  25. /**
  26. * 获取单个
  27. */
  28. BusJcbWjcxc getInfo(String id);
  29. /**
  30. * 查询列表
  31. */
  32. List<BusJcbWjcxc> getList(BusJcbWjcxc busJcbWjcxc);
  33. /**
  34. * 获取上次检查记录
  35. */
  36. BusJcbWjcxc getLastRecord();
  37. /**
  38. * 提交
  39. */
  40. int submit(BusJcbWjcxc busJcbWjcxc);
  41. /**
  42. * 退回
  43. */
  44. int reject(BusJcbWjcxc busJcbWjcxc);
  45. /**
  46. * 确认
  47. */
  48. int confirm(BusJcbWjcxc busJcbWjcxc);
  49. /**
  50. * 查询明细列表
  51. * @param query 查询参数
  52. * @return 数据记录明细
  53. */
  54. Page<JcebRecordVo> getListByType(JcebQueryVo query);
  55. /**
  56. * 查询汇总列表
  57. * @param query 查询参数
  58. * @return 汇总数据
  59. */
  60. JcebRecordVo getCountByType(JcebQueryVo query);
  61. }