build/classes/dao/GuahaoMapper.xml

(开头部分) 3KB

这里只显示每个文件的开头 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.GuahaoMapper" >
  <resultMap id="BaseResultMap" type="Pojo.Guahao" >
    <id column="ghID" property="ghid" jdbcType="INTEGER" />
    <result column="hzID" property="hzid" jdbcType="INTEGER" />
    <result column="ysID" property="ysid" jdbcType="INTEGER" />
    <result column="ghshijian" property="ghshijian" jdbcType="VARCHAR" />
  </resultMap>
  <sql id="Base_Column_List" >
    ghID, hzID, yhID, ghshijian, ghbingqing
  </sql>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
    select 
    <include refid="Base_Column_List" />
    from guahao
    where ghID = #{ghid,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
    delete from guahao
    where ghID = #{ghid,jdbcType=INTEGER}
  </delete>
  <insert id="insert" parameterType="Pojo.Guahao" >
    insert into guahao (ghID, hzID, ysID, 
      ghshijian)
    values (#{ghid,jdbcType=INTEGER}, #{hzid,jdbcType=INTEGER}, #{ysid,jdbcType=INTEGER}, 
      #{ghshijian,jdbcType=VARCHAR})
  </insert>
  <insert id="insertSelective" parameterType="Pojo.Guahao" >
    insert into guahao
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="ghid != null" >
        ghID,
      </if>
      <if test="hzid != null" >
        hzID,
      </if>
      <if test="ysid != null" >
        ysID,
      </if>
      <if test="ghshijian != null" >
        ghshijian,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="ghid != null" >
        #{ghid,jdbcType=INTEGER},
      </if>
      <if test="hzid != null" >
        #{hzid,jdbcType=INTEGER},
      </if>
      <if test="ysid != null" >
        #{ysid,jdbcType=INTEGER},
      </if>
      <if test="ghshijian != null" >
        #{ghshijian,jdbcType=VARCHAR},
      </if>

    </trim>
  </insert>
后面还有 32 行代码,购买后查看完整代码

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

AI 解读 AI

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

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