1
0

ApiFootprintService.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package com.kmall.api.service;
  2. import com.kmall.api.dao.ApiFootprintMapper;
  3. import com.kmall.api.entity.FootprintVo;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.stereotype.Service;
  6. import java.util.List;
  7. import java.util.Map;
  8. @Service
  9. public class ApiFootprintService {
  10. @Autowired
  11. private ApiFootprintMapper footprintDao;
  12. public FootprintVo queryObject(Integer id) {
  13. return footprintDao.queryObject(id);
  14. }
  15. public List<FootprintVo> queryList(Map<String, Object> map) {
  16. return footprintDao.queryList(map);
  17. }
  18. public List<FootprintVo> shareList(Map<String, Object> map) {
  19. return footprintDao.shareList(map);
  20. }
  21. public int queryTotal(Map<String, Object> map) {
  22. return footprintDao.queryTotal(map);
  23. }
  24. public void save(FootprintVo footprint) {
  25. footprintDao.save(footprint);
  26. }
  27. public void update(FootprintVo footprint) {
  28. footprintDao.update(footprint);
  29. }
  30. public void delete(Integer id) {
  31. footprintDao.delete(id);
  32. }
  33. public void deleteByParam(Map<String, Object> map) {
  34. footprintDao.deleteByParam(map);
  35. }
  36. public void deleteBatch(Integer[] ids) {
  37. footprintDao.deleteBatch(ids);
  38. }
  39. }