mybatis(1)
摘要:
mybatis中参数的获取 一,一个参数 1,基本参数 #{} delete from user where id=#{id}; //建议与变量名相同实际可以为任意名称,接收对应方法传过来的形参//paramTyep可以省略不写,mybatis可以自动推断出来 2,pojo实体对象参数 #{属性名} 阅读全文
posted @ 2021-04-20 15:55 居一雪 阅读(37) 评论(0) 推荐(0) 编辑
posted @ 2021-04-20 15:55 居一雪 阅读(37) 评论(0) 推荐(0) 编辑