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<ReportEntity> selectByPage(String name, String code, Integer limit, Integer offset);
|
|
public List<ReportEntity> selectAll();
|
|
public ReportEntity selectById(int id);
|
|
public Integer insert(ReportEntity entity);
|
|
public Integer inserts(List<ReportEntity> list);
|
|
public Integer delete(int id);
|
|
public Integer deletes(List<Integer> ids);
|
|
public Integer update(ReportEntity entity);
|
|
public Integer updates(List<ReportEntity> list);
|
|
public List<CountEntity> countSizes();
|
|
public List<CountEntity> countSizesByType();
|
|
public List<CountEntity> countServices();
|
|
public List<CountEntity> countOperates();
|
|
public List<CountEntity> countSizesByPrj();
|
}
|