AppChannelMapper.xml 999 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
  3. <mapper namespace="com.juxiao.xchat.module.xbd.mapper.operation.AppChannelMapper" >
  4. <resultMap id="BaseResultMap" type="com.juxiao.xchat.module.xbd.domain.operation.AppChannel" >
  5. <id column="id" property="id" jdbcType="INTEGER" />
  6. <result column="name" property="name" jdbcType="VARCHAR" />
  7. <result column="type" property="type" jdbcType="INTEGER" />
  8. <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
  9. <result column="system_id" property="systemId" jdbcType="INTEGER" />
  10. </resultMap>
  11. <sql id="Base_Column_List" >
  12. id, name, type, create_time, system_id
  13. </sql>
  14. <select id="getAppChannelList" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
  15. select
  16. <include refid="Base_Column_List" />
  17. from app_channel
  18. </select>
  19. </mapper>