| | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.model.Company; |
| | | import com.doumee.dao.business.model.dto.CompanyCreatOrUpdateRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @param company 实体对象 |
| | | * @return Integer |
| | | */ |
| | | Integer create(Company company); |
| | | Integer create(CompanyCreatOrUpdateRequest company); |
| | | |
| | | /** |
| | | * 主键删除 |
| | |
| | | * @param ids 主键集 |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 主键更新 |
| | | * |
| | | * @param company 实体对象 |
| | | */ |
| | | void updateById(CompanyCreatOrUpdateRequest company); |
| | | |
| | | /** |
| | | * 主键更新 |
| | |
| | | Company findById(Integer id); |
| | | |
| | | /** |
| | | * 主键查询 |
| | | * |
| | | * @param id 主键 |
| | | * @return Company |
| | | */ |
| | | Company findPlatformById(Integer id); |
| | | |
| | | /** |
| | | * 条件查询单条记录 |
| | | * |
| | | * @param company 实体对象 |
| | |
| | | */ |
| | | PageData<Company> findPage(PageWrap<Company> pageWrap); |
| | | |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param pageWrap 分页对象 |
| | | * @return PageData<Company> |
| | | */ |
| | | PageData<Company> findPlatformPage(PageWrap<Company> pageWrap); |
| | | |
| | | /** |
| | | * 条件统计 |
| | | * |