| | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.model.BaseCategory; |
| | | import com.doumee.dao.business.model.dto.BaseCategoryRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | |
| | | /** |
| | | * 创建 |
| | | * |
| | | * |
| | | * @param baseCategory 实体对象 |
| | | * @return Integer |
| | | */ |
| | | Integer create(BaseCategory baseCategory); |
| | | Integer create(BaseCategoryRequest baseCategory); |
| | | |
| | | /** |
| | | * 主键删除 |
| | |
| | | * @param ids 主键集 |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 主键更新 |
| | | * |
| | | * @param baseCategory 实体对象 |
| | | */ |
| | | void update(BaseCategoryRequest baseCategory); |
| | | |
| | | /** |
| | | * 主键更新 |
| | |
| | | * @return List<BaseCategory> |
| | | */ |
| | | List<BaseCategory> findList(BaseCategory baseCategory); |
| | | |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | |
| | | * @return long |
| | | */ |
| | | long count(BaseCategory baseCategory); |
| | | |
| | | void updateDisableById(BaseCategory category); |
| | | } |