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}