修改HighGo数据库时mybatis like查询方式

This commit is contained in:
sh
2025-10-14 14:55:46 +08:00
parent 98f9182d43
commit 1ddb62166a
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectJobLogVo"/>
<where>
<if test="jobName != null and jobName != ''">
AND job_name like concat('%', #{jobName}, '%')
AND job_name like concat('%', cast(#{jobName, jdbcType=VARCHAR} as varchar), '%')
</if>
<if test="jobGroup != null and jobGroup != ''">
AND job_group = #{jobGroup}