<?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" ><mappernamespace="com.cs.mapper.TestTxMapper"><selectid="selectTestById"parameterType="Integer"resultType="com.cs.entities.Test01"> SELECT * FROM test01 where id = #{id}</select><updateid="updateTestById"parameterType="com.cs.entities.Test01"> update test01 set name = #{name} where id = #{id}</update><!-- <insert id="save" parameterType="com.cs.entities.Test01"--><!-- useGeneratedKeys="true" keyProperty="id">--><!-- insert into test_Json2(jsonn) values(#{jsonn});--><!-- </insert>--><!-- <select id="getPayment" resultType="com.atguigu.com.atguigu.springcloud.entities.testJson.TestJson">--><!-- SELECT * FROM test_Json where id = #{id};--><!-- </select>--><!--<resultMap id="BaseResultMap" type="com.atguigu.com.atguigu.springcloud.entities.Payment">--><!--<id column="id" property="id" jdbcType="BIGINT"/>--><!--<id column="serial" property="serial" jdbcType="VARCHAR"/>--><!--</resultMap>--><!--<select id="getPaymentById" parameterType="Long" resultMap="BaseResultMap">--><!--select * from payment where id=#{id};--><!--</select>--></mapper>