You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
461 B

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);
}