Mybatis的XML配置









    
    
    
    








    
    
        select last_insert_id();
    
    
    insert into user (username,address,sex,birthday) values(#{username},#{address},#{sex},#{birthday}) ;





    update user set username = #{userName},address = #{address} where id = #{userId}




    delete from user where id = #{id}



你可能感兴趣的:(Mybatis的XML配置)