修改name 查询错误问题

This commit is contained in:
sh
2025-11-10 17:30:35 +08:00
parent 4d1db06282
commit 0e636c03da
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@
<select id="getWorkExperiencesList" resultMap="userWorkExperiencesResult" parameterType="userWorkExperiences">
<include refid="selectWorkExperiencesVo"/>
<where> del_flag = '0'
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
<if test="companyName != null and companyName != ''"> and company_name like concat('%', cast(#{companyName, jdbcType=VARCHAR} as varchar), '%')</if>
<if test="position != null and position != ''"> and position = #{position}</if>
<if test="description != null and description != ''"> and description = #{description}</if>
<if test="userId != null and userId != ''"> and user_id = #{userId}</if>