xiaoyong931011
2023-05-08 e94e6721a4aeb8c21e97878239ec3429fc76d1ad
src/main/resources/mapper/modules/MallGoodsImagesMapper.xml
@@ -5,4 +5,12 @@
    <select id="selectGoodsImagesByGoodsId" resultType="java.lang.String">
        select image_url from mall_goods_images where goods_id=#{goodsId}
    </select>
    <select id="selectByGoodId" resultType="java.lang.String">
        select image_url from mall_goods_images where goods_id = #{goodsId}
    </select>
    <delete  id="deleteByGoodsId">
        delete from mall_goods_images where goods_id = #{goodsId}
    </delete>
</mapper>