CommentDao





    
    
    
    
    
    
    
    
        insert into m_comment
        values (
            #{comment_id, jdbcType=NUMERIC}, 
            #{goods_id, jdbcType=NUMERIC}, 
            #{user_id, jdbcType=NUMERIC}, 
            #{time, jdbcType=TIMESTAMP}, 
            #{content, jdbcType=VARCHAR}
        )
    
    
    
    
        delete from m_comment
        where comment_id = #{comment_id}
    

你可能感兴趣的:(CommentDao)