KKSU
2024-02-23 b113b572ac01c1a799e3b87d5307f34a93b88df8
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>