TRmActItemMapper.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. package com.steerinfo.ems.trmactitem.mapper;
  2. import com.steerinfo.ems.trmactitem.model.TRmActItem;
  3. import com.steerinfo.framework.mapper.IBaseMapper;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.HashMap;
  7. import java.util.List;
  8. import java.util.Map;
  9. @Mapper
  10. public interface TRmActItemMapper extends IBaseMapper<TRmActItem, String> {
  11. /**
  12. * 根据类型查询下拉框
  13. * @param itemtype
  14. * @return
  15. */
  16. List<TRmActItem>getIdAndName(@Param("itemtype") String itemtype);
  17. List<Map<String, Object>> getActitemDetalts(Map<String, Object> parameters);
  18. /**
  19. * 计划项目数据维护查询结果区
  20. * @param parameters
  21. * @return
  22. */
  23. List<Map<String,Object>>getPlanitemDetalts(Map<String,Object> parameters);
  24. /**
  25. * 供需项目数据查询
  26. */
  27. List<TRmActItem> getforsj(@Param("mintimegranid") String mintimegranid);
  28. /**
  29. * 平衡项目查询
  30. * @return
  31. */
  32. List<TRmActItem>getitems(@Param("itemtype") String itemtype);
  33. /**
  34. * 获取启用的实绩项目信息,按seqno排序
  35. * @param parameters
  36. * @return
  37. */
  38. List<TRmActItem> selectActr(Map<String, Object> parmas);
  39. /**
  40. * 平衡项目数据查询
  41. *
  42. * @param parameters
  43. * @return
  44. */
  45. List<Map<String, Object>> getBalanceData(Map<String, Object> parameters);
  46. /**
  47. * 上报项目查询
  48. *
  49. * @param parmas
  50. * @return
  51. */
  52. List<TRmActItem> queryLikew(HashMap<String, Object> parmas);
  53. /**
  54. * 上报项目查询
  55. *
  56. * @param parmas
  57. * @return
  58. */
  59. List<TRmActItem> queryLikef(HashMap<String, Object> parmas);
  60. /**
  61. * 上报关联产量查询
  62. * @return
  63. */
  64. List<Map<String, Object>> getProItems();
  65. /**
  66. * 上报关联能耗查询
  67. * @return
  68. */
  69. List<Map<String, Object>> getAssItems();
  70. /**
  71. * 获取上报关联产量列表
  72. *
  73. * @param parmas
  74. * @return
  75. */
  76. List<Map<String, Object>> listpv(HashMap<String, Object> parmas);
  77. /**
  78. * 根据项目类型 进行排序
  79. */
  80. Integer MaxSeq(@Param("type") String type);
  81. }