<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<mapper namespace="com.xzx.gc.shop.mapper.ScoreGoodsSkuMapper">
|
|
|
<select id="selectScoreGoodsSkuByGoodsIdAndStyleId" resultType="com.xzx.gc.shop.vo.ScoreGoodsSkuVo">
|
SELECT
|
a.*
|
FROM
|
xzx_score_goods_sku a
|
WHERE 1 = 1
|
and a.goods_id = #{id}
|
and a.style_id = #{styleId}
|
and a.del_flag != 1
|
</select>
|
|
|
<update id="updateDelFlagById">
|
update xzx_score_goods_sku set del_flag=#{delFlag}
|
where id=#{id}
|
</update>
|
|
</mapper>
|