From 41589c4f0c64ad9687c94ef5dbe70b713e6f9546 Mon Sep 17 00:00:00 2001
From: "Lihong@123456" <1090591095@qq.com>
Date: Tue, 17 Nov 2020 16:54:59 +0800
Subject: [PATCH] 11-17-4
---
mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml b/mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml
index 98313489..bb4152df 100644
--- a/mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml
+++ b/mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml
@@ -84,8 +84,8 @@
and tcc.id = #{companyId}
-
- and tcp.name like #{name}
+ concat('%',#{name, jdbcType=VARCHAR},'%')
+ and tcp.name like concat('%',#{name, jdbcType=VARCHAR},'%')
and tcp.id_card = #{idCard}