ConstantService.java 630 B

12345678910111213141516171819202122232425262728
  1. package com.xintong.visualinspection.service;
  2. import java.util.List;
  3. import com.xintong.visualinspection.bean.Constant;
  4. /**
  5. *
  6. *
  7. * ConstantService
  8. *
  9. * tiger
  10. * tiger
  11. * 2017年5月4日 上午10:41:40
  12. *
  13. * @version 1.0.0
  14. *
  15. */
  16. public interface ConstantService {
  17. public List<Constant> getAll();
  18. public Constant getById(Long id);
  19. public List<Constant> getByFlag(String flag);
  20. public List<Constant> getByName(String flagName);
  21. public Constant getByFlagAndValue(Constant constant);
  22. public void insert(Constant constant);
  23. public void update(Constant constant);
  24. public void delete(Long id);
  25. }