修改name 查询错误问题
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<select id="getList" resultType="com.ruoyi.common.core.domain.entity.SysArea" parameterType="com.ruoyi.common.core.domain.entity.SysArea">
|
<select id="getList" resultType="com.ruoyi.common.core.domain.entity.SysArea" parameterType="com.ruoyi.common.core.domain.entity.SysArea">
|
||||||
<include refid="selectAreaVo"/>
|
<include refid="selectAreaVo"/>
|
||||||
<where> del_flag = '0'
|
<where> del_flag = '0'
|
||||||
<if test="name != null and name != ''"> and company_name like concat('%', #{name}, '%')</if>
|
<if test="name != null and name != ''"> and name like concat('%', cast(#{name, jdbcType=VARCHAR} as varchar), '%')</if>
|
||||||
<if test="code != null and code != ''"> and code =#{code}</if>
|
<if test="code != null and code != ''"> and code =#{code}</if>
|
||||||
<choose>
|
<choose>
|
||||||
<when test="parentCode != null and parentCode != ''">
|
<when test="parentCode != null and parentCode != ''">
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<select id="getWorkExperiencesList" resultMap="userWorkExperiencesResult" parameterType="userWorkExperiences">
|
<select id="getWorkExperiencesList" resultMap="userWorkExperiencesResult" parameterType="userWorkExperiences">
|
||||||
<include refid="selectWorkExperiencesVo"/>
|
<include refid="selectWorkExperiencesVo"/>
|
||||||
<where> del_flag = '0'
|
<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="position != null and position != ''"> and position = #{position}</if>
|
||||||
<if test="description != null and description != ''"> and description = #{description}</if>
|
<if test="description != null and description != ''"> and description = #{description}</if>
|
||||||
<if test="userId != null and userId != ''"> and user_id = #{userId}</if>
|
<if test="userId != null and userId != ''"> and user_id = #{userId}</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user