From 0155e75a9b1189a7ba805faad55a359b2b8cd259 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 24 Jun 2021 10:37:59 +0800
Subject: [PATCH] Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop
---
gc-shop/src/main/resources/mapper/shop/ScoreGoodsStyleMapper.xml | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/gc-shop/src/main/resources/mapper/shop/ScoreGoodsStyleMapper.xml b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsStyleMapper.xml
new file mode 100644
index 0000000..6eee034
--- /dev/null
+++ b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsStyleMapper.xml
@@ -0,0 +1,21 @@
+<?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.ScoreGoodsStyleMapper">
+
+ <select id="selectScoreGoodsStyleByGoodsId" resultType="com.xzx.gc.entity.ScoreGoodsStyle">
+ SELECT
+ a.*
+ FROM
+ xzx_score_goods_style a
+ WHERE 1 = 1
+ and a.goods_id = #{id}
+ and a.del_flag = 0
+ </select>
+
+
+ <update id="updateDelFlagById">
+ update xzx_score_goods_style set del_flag=#{delFlag}
+ where id=#{id}
+ </update>
+
+</mapper>
--
Gitblit v1.9.1