...
|
...
|
@@ -8,15 +8,17 @@ |
|
|
<result column="image_url" property="imageUrl" jdbcType="VARCHAR" />
|
|
|
<result column="update_time" property="updateTime" jdbcType="INTEGER" />
|
|
|
<result column="update_uid" property="updateUid" jdbcType="INTEGER" />
|
|
|
<result column="image_width" property="imageWidth" jdbcType="INTEGER" />
|
|
|
<result column="image_height" property="imageHeight" jdbcType="INTEGER" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
id, status, range_type, image_url, update_time, update_uid
|
|
|
id, status, range_type, image_url, update_time, update_uid, image_width, image_height
|
|
|
</sql>
|
|
|
|
|
|
<insert id="insert" useGeneratedKeys="true" keyProperty="id" parameterType="com.yoho.ufo.dal.model.SizePool">
|
|
|
insert into size_pool(id, status, range_type, image_url, update_time, update_uid)
|
|
|
values (#{id}, #{status}, #{rangeType}, #{imageUrl}, #{updateTime}, #{updateUid})
|
|
|
insert into size_pool(id, status, range_type, image_url, update_time, update_uid, image_width, image_height)
|
|
|
values (#{id}, #{status}, #{rangeType}, #{imageUrl}, #{updateTime}, #{updateUid}, #{imageWidth}, #{imageHeight})
|
|
|
</insert>
|
|
|
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.yoho.ufo.dal.model.SizePool">
|
...
|
...
|
|