BaseOrderShipmentUdidMapper.xml
915 Bytes
<?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.yoho.unions.dal.BaseOrderShipmentUdidMapper" >
<resultMap id="BaseResultMap" type="com.yoho.unions.dal.model.BaseOrderShipmentUdid" >
<result column="JOB_DATE_ID" property="jobDateId" jdbcType="INTEGER" />
<result column="UID" property="uid" jdbcType="INTEGER" />
<result column="UDID" property="udid" jdbcType="VARCHAR" />
<result column="DATE_ID" property="dateId" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List" >
job_date_id, uid, udid, date_id
</sql>
<select id="selectByUdid" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
<include refid="Base_Column_List" />
from BASE_ORDER_SHIPMENT_UDID
where udid = #{udid,jdbcType=VARCHAR}
</select>
</mapper>