【无标题】

文章描述了如何通过Java的JDBC接口执行SQL查询,从account_mst表中获取指定用户标识和密码对应的账户信息,包括开始日期、最后访问日期、密码和账户类型。
摘要由CSDN通过智能技术生成

@Select({
“select”,
“inst_id, start_dt, last_access_dt, inst_pass, account_type”,
“from account_mst”,
“where inst_id = #{instId,jdbcType=VARCHAR}”,
" and inst_pass = #{instPass,jdbcType=VARCHAR}"
})
@Results({
@Result(column=“inst_id”, property=“instId”, jdbcType=JdbcType.VARCHAR, id=true),
@Result(column=“start_dt”, property=“startDt”, jdbcType=JdbcType.TIMESTAMP),
@Result(column=“last_access_dt”, property=“lastAccessDt”, jdbcType=JdbcType.TIMESTAMP),
@Result(column=“inst_pass”, property=“instPass”, jdbcType=JdbcType.VARCHAR),
@Result(column=“account_type”, property=“accountType”, jdbcType=JdbcType.INTEGER)
})
AccountMst selectByUserPw(@Param(“instId”)String instId, @Param(“instPass”) String instPass);

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值