简单的Ibatis注解
程序员文章站
2022-04-01 19:20:00
简单的ibatis注解
int insertest(@param("s_name") string s_name);
@update("updat...
简单的ibatis注解
int insertest(@param("s_name") string s_name);@update("update student set s_name=#{s_name} where s_id=#{s_id}")
int update111(@param("s_id") string sid,@param("s_name")string sname);
@update("update student set s_name = #{sname}, s_age = #{sage} where s_id =#{sid} ")
int updateobj(student s);