build/classes/dao/HuanzheMapper.xml

(开头部分) 5KB

这里只显示每个文件的开头 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="dao.HuanzheMapper" >
  <resultMap id="BaseResultMap" type="Pojo.Huanzhe" >
    <id column="hzID" property="hzid" jdbcType="INTEGER" />
    <result column="hzzhanghao" property="hzzhanghao" jdbcType="VARCHAR" />
    <result column="hzmima" property="hzmima" jdbcType="VARCHAR" />
    <result column="hzxingming" property="hzxingming" jdbcType="VARCHAR" />
    <result column="hzxingbie" property="hzxingbie" jdbcType="VARCHAR" />
    <result column="hznianling" property="hznianling" jdbcType="VARCHAR" />
    <result column="hzdizhi" property="hzdizhi" jdbcType="VARCHAR" />
    <result column="hzdianhua" property="hzdianhua" jdbcType="VARCHAR" />
  </resultMap>
  <sql id="Base_Column_List" >
    hzID, hzzhanghao, hzmima, hzxingming, hzxingbie, hznianling, hzdizhi, hzdianhua
  </sql>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
    select 
    <include refid="Base_Column_List" />
    from huanzhe
    where hzID = #{hzid,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
    delete from huanzhe
    where hzID = #{hzid,jdbcType=INTEGER}
  </delete>
  <insert id="insert" parameterType="Pojo.Huanzhe" >
    insert into huanzhe (hzID, hzzhanghao, hzmima, 
      hzxingming, hzxingbie, hznianling, 
      hzdizhi, hzdianhua)
    values (#{hzid,jdbcType=INTEGER}, #{hzzhanghao,jdbcType=VARCHAR}, #{hzmima,jdbcType=VARCHAR}, 
      #{hzxingming,jdbcType=VARCHAR}, #{hzxingbie,jdbcType=VARCHAR}, #{hznianling,jdbcType=VARCHAR}, 
      #{hzdizhi,jdbcType=VARCHAR}, #{hzdianhua,jdbcType=VARCHAR})
  </insert>
  <insert id="insertSelective" parameterType="Pojo.Huanzhe" >
    insert into huanzhe
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="hzid != null" >
        hzID,
      </if>
      <if test="hzzhanghao != null" >
        hzzhanghao,
      </if>
      <if test="hzmima != null" >
        hzmima,
      </if>
      <if test="hzxingming != null" >
        hzxingming,
      </if>
      <if test="hzxingbie != null" >
        hzxingbie,
      </if>
      <if test="hznianling != null" >
        hznianling,
      </if>
      <if test="hzdizhi != null" >
        hzdizhi,
      </if>
      <if test="hzdianhua != null" >
        hzdianhua,
后面还有 88 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。