From ee8f8eb816608956f55f60dd4ed65488b706767b Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 25 Mar 2021 12:38:59 +0800 Subject: [PATCH] 不是分销员不参与自购返佣 --- 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