标签:delete log tle oct http mapper ram col XML
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.accp.mybatis.model.Blog"> <update id="updateBlog" parameterType="Blog"> UPDATE Blog SET title = #{title}, author_id = #{author.id}, WHERE id = #{id}; </update> </mapper>
<delete id="deleteBlog" parameterType="Blog"> DELETE FROM BLOG WHERE ID = #{id} </delete>
标签:delete log tle oct http mapper ram col XML
原文地址:https://www.cnblogs.com/shix0909/p/11149188.html