
mybatis
探花枖郎
扶摇直上九万里
展开
-
mybatis怎么与spring衔接
interface Tdao{ @Select({"select * from t","select * from b"}) public void select();}class mybatis{ public void getMapper(){// SqlSessionFactory factory = null;// SqlSession sqlSession = factory.openSession(); Td.原创 2020-08-23 15:57:55 · 257 阅读 · 0 评论 -
mybatis获取前端传过来的值为null
<if test="qo.startTime !='' and qo.startTime !=null"> and update_time <![CDATA[ >= ]]> #{qo.startTime,jdbcType=VARCHAR} </if> <if test="qo.endTime !='' and qo.endTime !=null"> and update_tim.原创 2020-07-28 17:34:40 · 634 阅读 · 0 评论