| | |
| | | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.admin.response.CompanyDTO; |
| | | import com.doumee.dao.business.model.Company; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 企业信息表Service定义 |
| | | * @author 江蹄蹄 |
| | | * @date 2023/11/23 18:16 |
| | | * @date 2023/11/30 15:33 |
| | | */ |
| | | public interface CompanyService { |
| | | |
| | | /** |
| | | * 创建 |
| | | * |
| | | * |
| | | * @param company 实体对象 |
| | | * @return Integer |
| | | */ |
| | | Integer create(Company company); |
| | | |
| | | /** |
| | | * 创建劳务公司 |
| | | * @param company |
| | | * @return |
| | | */ |
| | | Integer createLaborServices(Company company); |
| | | |
| | | /** |
| | | * 主键删除 |
| | |
| | | * @param company 实体对象 |
| | | */ |
| | | void updateById(Company company); |
| | | |
| | | |
| | | /** |
| | | * 修改劳务公司 |
| | | * @param company |
| | | * @return |
| | | */ |
| | | Integer updateLaborServicesById(Company company); |
| | | |
| | | |
| | | /** |
| | | * 批量主键更新 |
| | |
| | | * @return List<Company> |
| | | */ |
| | | List<Company> findList(Company company); |
| | | |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | |
| | | */ |
| | | PageData<Company> findPage(PageWrap<Company> pageWrap); |
| | | |
| | | void updateStatusById(Company company); |
| | | /** |
| | | * 条件统计 |
| | | * |
| | |
| | | * @return long |
| | | */ |
| | | long count(Company company); |
| | | |
| | | /** |
| | | * 查询部门及其子部门信息 |
| | | * @param type 0 查询所有信息 1 查询内部信息 |
| | | * @return |
| | | */ |
| | | List<CompanyDTO> findCompanyTreePage(Integer type); |
| | | |
| | | } |