From b6addbdc96eb4fba4c7b3a295ed9d47020f74ceb Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 24 May 2022 14:19:54 +0800
Subject: [PATCH] fix

---
 zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml
index 42b4adc..e7c85c5 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml
@@ -3,7 +3,7 @@
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 
 <mapper namespace="com.matrix.system.hive.dao.ShoppingGoodsDao">
-	 <cache readOnly="true"></cache> 
+
 	<resultMap type="ShoppingGoods" id="ShoppingGoodsMap">
 	
 		<id property="id" column="id" />
@@ -897,7 +897,7 @@
 		t.id=cate_id)
 		cate_name
 		from shopping_goods a
-		where code=#{code}
+		where a.code=#{code}  and a.is_del=1
 	</select>
 
 	<!-- 根据id查询 -->

--
Gitblit v1.9.1