...
|
...
|
@@ -21,6 +21,7 @@ |
|
|
<result column="storage" jdbcType="INTEGER" property="storage" />
|
|
|
<result column="key_words" jdbcType="VARCHAR" property="keyWords" />
|
|
|
<result column="del_status" jdbcType="INTEGER" property="delStatus" />
|
|
|
<result column="offer_price" jdbcType="DECIMAL" property="offerPrice" />
|
|
|
</resultMap>
|
|
|
|
|
|
<insert id="insert" parameterType="com.yohoufo.dal.product.model.Product">
|
...
|
...
|
@@ -64,7 +65,7 @@ |
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
select id, product_name, product_code, max_sort_id, mid_sort_id, brand_id, series_id, gender, sale_time,
|
|
|
min_price, max_price, create_time, update_time, shelve_time, edit_time, shelve_status,
|
|
|
storage, key_words, del_status
|
|
|
storage, key_words, del_status, offer_price
|
|
|
from product
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</select>
|
...
|
...
|
|