/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.FrontCategory;
import com.yami.shop.bean.model.ShopWalletLog;
import org.apache.ibatis.annotations.Param;

/**
 * 海博前台类目
 *
 * @author Dwl
 * @date 2019-09-19 14:02:57
 */
public interface FrontCategoryMapper extends BaseMapper<FrontCategory> {

    FrontCategory selectListName(@Param("name") String name);

    /**
     * 根据父类code删除
     * @param parentCode 父类code
     */
    void deleteByParentCode(@Param("parentCode") String parentCode);
}
