...
|
...
|
@@ -51,7 +51,7 @@ |
|
|
|
|
|
<select id="selectByGoodsId" resultMap="BaseResultMap">
|
|
|
select id, product_id, goods_id, size_id, storage_num, suggest_low_price, suggest_high_price
|
|
|
from storage where goods_id=#{goodsId,jdbcType=INTEGER}
|
|
|
from storage where goods_id=#{goodsId,jdbcType=INTEGER} and status = 1
|
|
|
</select>
|
|
|
<update id="addStorageNum">
|
|
|
update storage set storage_num = storage_num + #{storageNum,jdbcType=INTEGER},
|
...
|
...
|
|