diff --git a/ruoyi-bussiness/src/main/resources/mapper/app/SysAreaMapper.xml b/ruoyi-bussiness/src/main/resources/mapper/app/SysAreaMapper.xml index 6d501fe..128de57 100644 --- a/ruoyi-bussiness/src/main/resources/mapper/app/SysAreaMapper.xml +++ b/ruoyi-bussiness/src/main/resources/mapper/app/SysAreaMapper.xml @@ -10,7 +10,7 @@ del_flag = '0' - and company_name like concat('%', #{companyName}, '%') + and company_name like concat('%', cast(#{companyName, jdbcType=VARCHAR} as varchar), '%') and position = #{position} and description = #{description} and user_id = #{userId}