IAmsContractBreachService.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. package com.steerinfo.dil.service;
  2. import com.steerinfo.dil.model.AmsContractBreach;
  3. import java.math.BigDecimal;
  4. import java.util.List;
  5. import java.util.Map;
  6. /**
  7. * @Description:
  8. * @Author:HuJianGuo
  9. * @GreateTime:2021/9/4 11:55
  10. * @Version:V2.0
  11. */
  12. public interface IAmsContractBreachService {
  13. /**
  14. * 得到最大id
  15. * @return
  16. */
  17. BigDecimal selectMaxId();
  18. /**
  19. * 展示所有违约规则信息
  20. * @param mapValue
  21. * @return
  22. */
  23. List<Map<String,Object>> getBreachList(Map<String,Object> mapValue);
  24. /**
  25. * 得到修改渲染
  26. * @param breachId
  27. * @return
  28. */
  29. List<Map<String,Object>> selectBreachToUpdate(BigDecimal breachId);
  30. /**
  31. * 新增
  32. * @param amsContractBreach
  33. * @return
  34. */
  35. int insert(AmsContractBreach amsContractBreach);
  36. /**
  37. * 修改
  38. * @param amsContractBreach
  39. * @return
  40. */
  41. int updateByPrimaryKeySelective(AmsContractBreach amsContractBreach);
  42. /**
  43. * 删除
  44. * @param breachId
  45. * @return
  46. */
  47. public int delete(BigDecimal breachId);
  48. }