Blame view

parking-module-park/src/main/resources/mybatis/smapper/TdGFirstGuideInfoConfigSMapper.xml 1.68 KB
9af4a544   王彪总   新项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  <?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.zteits.park.mapper.smapper.TdGFirstGuideInfoConfigSMapper">
      <resultMap id="BaseResultMap" type="com.zteits.park.domain.TdGFirstGuideInfoConfig">
          <id column="id" property="id" jdbcType="BIGINT"/>
          <result column="guide_no" property="guideNo" jdbcType="VARCHAR"/>
          <result column="pl_no" property="plNo" jdbcType="VARCHAR"/>
          <result column="pl_name_height" property="plNameHeight" jdbcType="INTEGER"/>
          <result column="pl_name_width" property="plNameWidth" jdbcType="INTEGER"/>
          <result column="free_height" property="freeHeight" jdbcType="INTEGER"/>
          <result column="free_width" property="freeWidth" jdbcType="INTEGER"/>
          <result column="data_status" property="dataStatus" jdbcType="INTEGER"/>
          <result column="create_op" property="createOp" jdbcType="BIGINT"/>
          <result column="create_time" property="createTime" jdbcType="TIMESTAMP"/>
          <result column="modify_op" property="modifyOp" jdbcType="BIGINT"/>
          <result column="modify_time" property="modifyTime" jdbcType="TIMESTAMP"/>
      </resultMap>
      <sql id="Base_Column_List">
      id, guide_no, pl_no, pl_name_height, pl_name_width, free_height, free_width, data_status, 
      create_op, create_time, modify_op, modify_time
    </sql>
  
      <select id="queryFirstGuideInfoConfigByGuideNo" resultMap="BaseResultMap">
          SELECT
          <include refid="Base_Column_List"/>
          FROM td_g_first_guide_info_config
          <where>
              guide_no = #{guideNo}
          </where>
  
      </select>
  
  </mapper>