
mybatis框架怎样传入一个参数,然后传出一个参数
2个回答
展开全部
<select id="findUserIntegral" parameterType="com.great.entity.User(传入的参数,我这里是自定义的一个类)" resultType="String(传出的参数,即下面查询语句的结果)">
select 字段 from 表名 where USER_ID=#{userId}
</select>
select 字段 from 表名 where USER_ID=#{userId}
</select>
2016-07-23
展开全部
Winter is a cold season. Though the temperature is very low,but I like it ,I can play with my frends in the playground .I think I can watch TV at home instead of walking outside .So I like winter,because I can do something which is interesting.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询