...
|
...
|
@@ -39,8 +39,8 @@ |
|
|
select id, goods_id, product_id, is_default, image_url, order_by
|
|
|
from goods_images
|
|
|
</select>
|
|
|
<select id="selectByGoodsId" resultMap="BaseResultMap">
|
|
|
select image_url
|
|
|
from goods_images where goods_id = #{goodsId,jdbcType=INTEGER} order BY order_by;
|
|
|
</select>
|
|
|
<select id="selectByGoodsId" resultMap="BaseResultMap">
|
|
|
select id, goods_id, image_url
|
|
|
from goods_images where goods_id = #{goodsId,jdbcType=INTEGER} order BY order_by;
|
|
|
</select>
|
|
|
</mapper> |
|
|
\ No newline at end of file |
...
|
...
|
|