build/classes/com/mapper/MemberMapper.xml
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?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.dao.MemberDao" >
<resultMap id="BaseResultMap" type="com.entity.Member" >
<id column="mbid" property="mbid" jdbcType="INTEGER" />
<result column="mbcard" property="mbcard" jdbcType="VARCHAR" />
<result column="mbname" property="mbname" jdbcType="VARCHAR" />
<result column="mbsex" property="mbsex" jdbcType="VARCHAR" />
<result column="mbage" property="mbage" jdbcType="VARCHAR" />
<result column="mbtelphone" property="mbtelphone" jdbcType="VARCHAR" />
<result column="mbwechat" property="mbwechat" jdbcType="VARCHAR" />
<result column="mbpassword" property="mbpassword" jdbcType="VARCHAR" />
<result column="mbbegintime" property="mbbegintime" jdbcType="VARCHAR" />
<result column="mbendtime" property="mbendtime" jdbcType="VARCHAR" />
<result column="coursecost" property="coursecost" jdbcType="DOUBLE" />
</resultMap>
<sql id="Base_Column_List" >
mbid, mbcard, mbname, mbsex, mbage, mbtelphone, mbwechat, mbpassword, mbbegintime,
mbendtime, coursecost
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
from member
where mbid = #{mbid,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from member
where mbid = #{mbid,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.entity.Member" >
insert into member (mbid, mbcard, mbname,
mbsex, mbage, mbtelphone,
mbwechat, mbpassword, mbbegintime,
mbendtime, coursecost)
values (#{mbid,jdbcType=INTEGER}, #{mbcard,jdbcType=VARCHAR}, #{mbname,jdbcType=VARCHAR},
#{mbsex,jdbcType=VARCHAR}, #{mbage,jdbcType=VARCHAR}, #{mbtelphone,jdbcType=VARCHAR},
#{mbwechat,jdbcType=VARCHAR}, #{mbpassword,jdbcType=VARCHAR}, #{mbbegintime,jdbcType=VARCHAR},
#{mbendtime,jdbcType=VARCHAR}, #{coursecost,jdbcType=DOUBLE})
</insert>
<insert id="insertSelective" parameterType="com.entity.Member" >
insert into member
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="mbid != null" >
mbid,
</if>
<if test="mbcard != null" >
mbcard,
</if>
<if test="mbname != null" >
mbname,
</if>
<if test="mbsex != null" >
mbsex,
</if>
<if test="mbage != null" >
mbage,
</if>
<if test="mbtelphone != null" >
mbtelphone,
后面还有 129 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
