package com.javaweb.geo.mapper;
|
|
import com.javaweb.geo.domain.Company;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* 勘察单位Mapper接口
|
*
|
* @author zmk
|
* @date 2022-10-14
|
*/
|
public interface CompanyMapper
|
{
|
/**
|
* 查询勘察单位
|
*
|
* @param ids 勘察单位ID
|
* @return 勘察单位
|
*/
|
public Company selectCompanyById(String ids);
|
|
/**
|
* 查询勘察单位列表
|
*
|
* @param company 勘察单位
|
* @return 勘察单位集合
|
*/
|
public List<Company> selectCompanyList(Company company);
|
|
/**
|
* 新增勘察单位
|
*
|
* @param company 勘察单位
|
* @return 结果
|
*/
|
public int insertCompany(Company company);
|
|
/**
|
* 修改勘察单位
|
*
|
* @param company 勘察单位
|
* @return 结果
|
*/
|
public int updateCompany(Company company);
|
|
/**
|
* 删除勘察单位
|
*
|
* @param ids 勘察单位ID
|
* @return 结果
|
*/
|
public int deleteCompanyById(String ids);
|
|
/**
|
* 批量删除勘察单位
|
*
|
* @param idss 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteCompanyByIds(String[] idss);
|
|
Long selectAllCompanyNum();
|
|
Long selectCompanyNum();
|
|
List<Company> selectCompanProjectNums(@Param("startTime") String startTime,@Param("endTime") String endTime);
|
}
|