| | |
| | | package com.jilongda.manage.service; |
| | | |
| | | import com.jilongda.common.basic.PageInfo; |
| | | import com.jilongda.manage.model.TMaterial; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.jilongda.manage.query.TMaterialQuery; |
| | | import com.jilongda.manage.vo.TMaterialVO; |
| | | import com.sun.org.apache.xpath.internal.operations.Bool; |
| | | |
| | | /** |
| | | * <p> |
| | | * 镜架/镜片品牌表 服务类 |
| | | * 材质表 服务类 |
| | | * </p> |
| | | * |
| | | * @author 无关风月 |
| | |
| | | */ |
| | | public interface TMaterialService extends IService<TMaterial> { |
| | | |
| | | /** |
| | | * 判断材质是否存在 |
| | | * @param id |
| | | * @param name |
| | | * @return |
| | | */ |
| | | Boolean isExit(Integer id, String name); |
| | | |
| | | /** |
| | | * 材质启用禁用 |
| | | * @param id |
| | | * @param status |
| | | * @return |
| | | */ |
| | | Boolean upAndDown(Long id, Integer status); |
| | | |
| | | /** |
| | | * 获取材质分页列表 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | PageInfo<TMaterialVO> pageList(TMaterialQuery query); |
| | | } |