From 4adcef1e676bf1e9ff8e130f00ffe329dea1bfd5 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 06 Jan 2021 18:08:30 +0800 Subject: [PATCH] modify --- 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 30bfbb7..849f191 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml @@ -1239,7 +1239,7 @@ measure measure, a.good_type goodsType from shopping_goods a - where 1=1 + where 1=1 and staus = '上架' <if test="record.queryKey != null and record.queryKey != ''"> and (instr(name,#{record.queryKey}) or instr(code ,#{record.queryKey}) or instr(zjm ,#{record.queryKey})) </if> @@ -1259,7 +1259,7 @@ <select id="selectShopppingGoodsAipTotal" resultType="java.lang.Integer"> select count(1) from shopping_goods a - where 1=1 + where 1=1 and staus = '上架' <if test="record.queryKey != null and record.queryKey != ''"> and (instr(name,#{record.queryKey}) or instr(code ,#{record.queryKey}) or instr(zjm ,#{record.queryKey})) </if> -- Gitblit v1.9.1