| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.brand.BrandClassShop; |
| | | |
| | | public interface BrandClassShopMapper extends BaseMapper<BrandClassShop>{ |
| | | |
| | | |
| | | /** |
| | | * 根据分类id批量删除 |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int deleteBatchByClassId(List<Long> list); |
| | | |
| | | |
| | | /** |
| | | * 查询有效 |
| | |
| | | * @param cid |
| | | * @return |
| | | */ |
| | | List<BrandClassShop> listEffective(@Param("start") long start, @Param("count") int count, @Param("cid") Long cid); |
| | | List<BrandClassShop> listEffective(@Param("cid") Long cid,@Param("system") SystemEnum system); |
| | | |
| | | long countEffective(@Param("cid") Long cid); |
| | | |