package com.cftech.mp.wechat.dao;

import com.cftech.core.generic.GenericDao;
import com.cftech.mp.wechat.model.Menu;

import java.util.List;
import java.util.Map;

/**
 * menuMapper
 * Created by lisw 31/10/2016.
 */
public interface MenuMapper extends GenericDao<Menu> {
	 /**
     * 分页查询
     *
     * @param params
     * @return
     */
    List<Menu> fetchSearchByPageSeach(Map<String, Object> params);
    
    
    /**
     * 分页查询
     *
     * @param params
     * @return
     */
    int fetchSearchByPageSeachCount(Map<String, Object> params);
    
    
    /**
     * 删除子菜单
     */
    int updateChild(Map<String, Object> params);
}
