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/ScoreGoodsMapper.xml | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/gc-shop/src/main/resources/mapper/shop/ScoreGoodsMapper.xml b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsMapper.xml
new file mode 100644
index 0000000..46c2412
--- /dev/null
+++ b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsMapper.xml
@@ -0,0 +1,37 @@
+<?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.ScoreGoodsMapper">
+
+ <select id="queryGoodsList" resultType="com.xzx.gc.shop.vo.QueryGoodsListVo">
+ SELECT
+ *
+ FROM
+ xzx_score_goods a
+ WHERE 1 = 1
+ <if test="name != null and name != ''">
+ and a.name like concat('%',#{name},'%')
+ </if>
+ <if test="delFlag != null and delFlag != ''">
+ and a.del_flag = #{delFlag}
+ </if>
+ order by a.CREATED_TIME desc
+ </select>
+
+
+
+ <select id="selectById" resultType="com.xzx.gc.entity.ScoreGoods">
+ SELECT
+ *
+ FROM
+ xzx_score_goods a
+ WHERE 1 = 1
+ and id = #{id}
+ </select>
+
+
+ <update id="updateDelFlagById">
+ update xzx_score_goods set del_flag=#{delFlag}
+ where id=#{id}
+ </update>
+
+</mapper>
--
Gitblit v1.9.1