From aa11f5dc00d905769cd34a3cad84a074957148ed Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Thu, 14 Jan 2021 23:28:40 +0800 Subject: [PATCH] modify --- zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml b/zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml index 321834c..9534312 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/common/SysUsersDao.xml @@ -960,7 +960,7 @@ </if> <if test="(record.suName!=null and record.suName!='') or (record.suName!='' and record.suName==0)"> - and su_name like concat('%',#{record.suName},'%') + and (su_name like concat('%',concat(#{record.suName},'%')) or su_tel = #{record.suName}) </if> <if test="(record.suTel!=null and record.suTel!='') or (record.suTel!='' and record.suTel==0)"> -- Gitblit v1.9.1