Mybatis注解开发
1、书写一个dao接口接口方法上面书写sql语句 @param作用是让上面的sql语句和下面的接口方法中的参数进行关联public interface GoodsDAO { @Select("select * from t_goods where current_price between #{min} and #{max} order by current_price limit 0,#{limt}") public List<Goods> selectByPri