From 68997d3ff6a07deb158ade373ca3eee26c255b0b Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sat, 02 Jul 2022 21:01:44 +0800
Subject: [PATCH] fix alpha change database

---
 zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml |    2 +-
 1 files changed, 1 insertions(+), 1 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 06992bf..e7c85c5 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml
@@ -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