From 9fa6119c7bf60a092c1b833bed8b2dac0184d961 Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Mon, 12 Apr 2021 17:56:01 +0800 Subject: [PATCH] 修复bug6 --- zq-erp/src/main/resources/mybatis/mapper/hive/SysStoreInfoDao.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysStoreInfoDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysStoreInfoDao.xml index 6f41218..7c421b5 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysStoreInfoDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysStoreInfoDao.xml @@ -406,6 +406,10 @@ <if test="record.batch != null and record.batch !='' "> and batch = #{record.batch} </if> + + <if test="record.queryKey != null and record.queryKey !='' "> + and (instr(c.name,#{record.queryKey}) or instr(c.goods_no, #{record.queryKey}) or instr(c.zjm, #{record.queryKey})) + </if> <if test="record.storeId != null and record.storeId !='' "> and STORE_ID = #{record.storeId} </if> @@ -479,6 +483,9 @@ <if test="record.batch != null and record.batch !='' "> and batch = #{record.batch} </if> + <if test="record.queryKey != null and record.queryKey !='' "> + and (instr(c.name,#{record.queryKey}) or instr(c.goods_no, #{record.queryKey}) or instr(c.zjm, #{record.queryKey})) + </if> <if test="record.storeId != null and record.storeId !='' "> and STORE_ID = #{record.storeId} </if> -- Gitblit v1.9.1