package com.njcn.mapper.user;

import com.njcn.pojo.user.ManageList;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ManageListMapper extends Mapper<ManageList>{
	List<ManageList> selectOneByIndex(String res_Index);
	int updateManageList(@Param("res_Index") String res_Index,@Param("name") String name,@Param("type") String type,
						 @Param("description") String
			description,@Param("sysType") String sysType,@Param("updateUser") String updateUser);
	int deleteIndex(String res_Index);

	ManageList selectTypeId(@Param("res_Index") String res_Index,@Param("sysType") String sysType);

	List<ManageList> getBasemang(@Param("sysType") String sysType);
	List<ManageList> getReport(@Param("sysType") String sysType);
	List<ManageList> getSub(@Param("sysType") String sysType);
}
