import org.apache.ibatis.annotations.Param;

List<CustomerResModel> queryCustomers(@Param("username")String username, @Param("password")String password);


// mapper:(这里面的parameterType其实是可以不用写的, 因为 mapper文件中 已经添加了@param注解)
// sql
<select >
select * from d_user where user_name =#{username} and user_password=#{password}
</select>

https://blog.csdn.net/u013408059/article/details/79064530

相关文章:

  • 2021-12-02
  • 2021-11-08
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
猜你喜欢
  • 2021-11-26
  • 2021-09-24
  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案