1.登录获取简历信息时如何时企业用户则返回企业信息
2.添加企业-按名称查询模糊接口,最大返回50条数据
This commit is contained in:
@@ -89,4 +89,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>)
|
||||
<if test="companyName != null and companyName != ''"> and name like concat('%',#{companyName},'%')</if>
|
||||
</select>
|
||||
|
||||
<select id="selectLikeCompanyList" parameterType="Company" resultMap="CompanyResult">
|
||||
<include refid="selectCompanyVo"/>
|
||||
<where> del_flag = '0'
|
||||
<if test="name != null and name != ''"> and name like concat('%', cast(#{name, jdbcType=VARCHAR} as varchar), '%')</if>
|
||||
<if test="location != null and location != ''"> and location = #{location}</if>
|
||||
<if test="industry != null and industry != ''"> and industry = #{industry}</if>
|
||||
<if test="scale != null and scale != ''"> and scale = #{scale}</if>
|
||||
<if test="nature != null and nature != ''"> and nature = #{nature}</if>
|
||||
<if test="code != null and code != ''"> and code = #{code}</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
</where>
|
||||
LIMIT 50
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user