package com.woniu.datasourcedemo.dao; import com.woniu.datasourcedemo.model.User; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @Mapper @Repository public interface UserDao { User getById(Integer id); void insertUserDs1(@Param("name") String name, @Param("age") String age); void insertUserDs2(@Param("name") String name, @Param("age") String age); }