package com.dy.pipIrrGlobal.daoDemo; import com.dy.pipIrrGlobal.pojoDemo.DemoUser; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface DemoUserMapper { int insert(DemoUser user) ; DemoUser selectById1(@Param("id") Long id); DemoUser selectById2(@Param("id") Long id); DemoUser selectById3(@Param("id") Long id); DemoUser selectById4(@Param("id") Long id); DemoUser selectById5(@Param("id") Long id); List selectByRoleId(@Param("roleId") Long roleId) ; }