fix
Hentua
2023-04-25 6c98fa6643e00e6a31b87d58184b6470f990e76f
src/main/resources/mapper/modules/MallGoodsSkuMapper.xml
@@ -25,5 +25,17 @@
        where a.goods_id = #{id}
    </select>
    <select id="selectSkuByGoodsId" resultType="cc.mrbird.febs.mall.entity.MallGoodsSku">
        select a.*, b.name styleName from mall_goods_sku a
        inner join mall_goods_style b on a.style_id=b.id
        where a.goods_id=#{id}
    </select>
    <delete id="delSkuByIds">
        delete from mall_goods_sku
        where id in
        <foreach collection="list" separator="," close=")" open="(" item="item">
            #{item}
        </foreach>
    </delete>
</mapper>