package com.moon.server.mapper.sys; import com.moon.server.entity.ctrl.CountEntity; import com.moon.server.entity.sys.ReportEntity; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository @SuppressWarnings("ALL") public interface ReportMapper { public Integer selectCount(String name, String code); public List selectByPage(String name, String code, Integer limit, Integer offset); public List selectAll(); public ReportEntity selectById(int id); public Integer insert(ReportEntity entity); public Integer inserts(List list); public Integer delete(int id); public Integer deletes(List ids); public Integer update(ReportEntity entity); public Integer updates(List list); public List countSizes(); public List countSizesByType(); public List countServices(); public List countOperates(); public List countSizesByPrj(); }