标签:获取 where from 取出 sql ack and bat 对象属性
select * from ${year}_salary where xxx;
select * from tbl_employee order by ${f_name} ${order}
接口映射文件中SQL语句:select * from t_employee where empId=${empId} and empName=#{empName}
执行的预编译SQL语句:select * from t_employee where empId=2 and empName=?
MyBatis探究-----接口类映射XML文件中符号$和#的区别
标签:获取 where from 取出 sql ack and bat 对象属性
原文地址:https://www.cnblogs.com/fengfuwanliu/p/10596965.html