CscLocationMapper.xml 1.45 KB
<?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.huaheng.pc.config.location.mapper.CscLocationMapper">
  <resultMap id="BaseResultMap" type="com.huaheng.pc.config.location.domain.CscLocation">
    <!--@mbg.generated-->
    <result column="id" jdbcType="INTEGER" property="id" />
    <result column="locationCode" jdbcType="VARCHAR" property="locationCode" />
    <result column="containerCode" jdbcType="VARCHAR" property="containerCode" />
    <result column="characteristic" jdbcType="VARCHAR" property="characteristic" />
    <result column="iRow" jdbcType="INTEGER" property="iRow" />
    <result column="iColumn" jdbcType="INTEGER" property="iColumn" />
    <result column="iLayer" jdbcType="INTEGER" property="iLayer" />
    <result column="roadway" jdbcType="VARCHAR" property="roadway" />
    <result column="viewLocationCode" jdbcType="VARCHAR" property="viewLocationCode" />
    <result column="status" jdbcType="INTEGER" property="status" />
    <result column="lastUpdated" jdbcType="TIMESTAMP" property="lastUpdated" />
  </resultMap>
  <sql id="Base_Column_List">
    <!--@mbg.generated-->
      id,locationCode,containerCode, iRow,iColumn,iLayer,characteristic,roadway,lastUpdated, status, viewLocationCode
  </sql>
  <select id="getLastUpdateTime" resultType="java.util.Date">
    SELECT max(lastUpdated) FROM csc_Location
  </select>

</mapper>