package com.kmall.api.service; import com.kmall.api.dao.ApiFootprintMapper; import com.kmall.api.entity.FootprintVo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; @Service public class ApiFootprintService { @Autowired private ApiFootprintMapper footprintDao; public FootprintVo queryObject(Integer id) { return footprintDao.queryObject(id); } public List queryList(Map map) { return footprintDao.queryList(map); } public List shareList(Map map) { return footprintDao.shareList(map); } public int queryTotal(Map map) { return footprintDao.queryTotal(map); } public void save(FootprintVo footprint) { footprintDao.save(footprint); } public void update(FootprintVo footprint) { footprintDao.update(footprint); } public void delete(Integer id) { footprintDao.delete(id); } public void deleteByParam(Map map) { footprintDao.deleteByParam(map); } public void deleteBatch(Integer[] ids) { footprintDao.deleteBatch(ids); } }