|
|
@@ -110,28 +110,26 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectLimt" resultMap="RecruitCompanyVoResult" parameterType="com.zhongzheng.modules.recruit.bo.RecruitCompanyQueryBo">
|
|
|
SELECT * FROM v_tenant_company where status = 1
|
|
|
- <trim prefix='and' prefixOverrides='and'>
|
|
|
- <if test="status!=null">status=#{status}</if>
|
|
|
- <if test="companyId!=null">company_id=#{companyId}</if>
|
|
|
- <if test="companyName!=null">tenant_name=#{companyName}</if>
|
|
|
- <if test="companyTypeId!=null">company_type_id=#{companyTypeId}</if>
|
|
|
- <if test="companySizeId!=null">company_size_id=#{companySizeId}</if>
|
|
|
- <if test="industryTypeId!=null">industry_type_id=#{industryTypeId}</if>
|
|
|
- <if test="industryTypeName!=null">industry_type_name=#{industryTypeName}</if>
|
|
|
- <if test="companyIntroduce!=null">company_introduce=#{companyIntroduce}</if>
|
|
|
- <if test="logoUrl!=null">logo_url=#{logoUrl}</if>
|
|
|
- <if test="licenseUrl!=null">license_url=#{licenseUrl}</if>
|
|
|
- <if test="societyCode!=null">society_code=#{societyCode}</if>
|
|
|
- <if test="province!=null">province=#{province}</if>
|
|
|
- <if test="city!=null">city=#{city}</if>
|
|
|
- <if test="address!=null">address=#{address}</if>
|
|
|
- <if test="companyPh!=null">company_ph=#{companyPh}</if>
|
|
|
- <if test="linkMan!=null">link_man=#{linkMan}</if>
|
|
|
- <if test="postBox!=null">post_box=#{postBox}</if>
|
|
|
- <if test="district!=null">district=#{district}</if>
|
|
|
- <if test="updateTime!=null">update_time=#{updateTime}</if>
|
|
|
- <if test="createTime!=null">create_time=#{createTime}</if>
|
|
|
- </trim>
|
|
|
+ <if test="status!=null">and status=#{status}</if>
|
|
|
+ <if test="companyId!=null">and company_id=#{companyId} </if>
|
|
|
+ <if test="companyName!=null">and tenant_name like concat('%', #{companyName}, '%')</if>
|
|
|
+ <if test="companyTypeId!=null">and company_type_id=#{companyTypeId}</if>
|
|
|
+ <if test="companySizeId!=null">and company_size_id=#{companySizeId}</if>
|
|
|
+ <if test="industryTypeId!=null">and industry_type_id=#{industryTypeId}</if>
|
|
|
+ <if test="industryTypeName!=null">and industry_type_name=#{industryTypeName}</if>
|
|
|
+ <if test="companyIntroduce!=null">and company_introduce=#{companyIntroduce}</if>
|
|
|
+ <if test="logoUrl!=null">and logo_url=#{logoUrl}</if>
|
|
|
+ <if test="licenseUrl!=null">and license_url=#{licenseUrl}</if>
|
|
|
+ <if test="societyCode!=null">and society_code=#{societyCode}</if>
|
|
|
+ <if test="province!=null">and province=#{province}</if>
|
|
|
+ <if test="city!=null">and city=#{city}</if>
|
|
|
+ <if test="address!=null">and address=#{address}</if>
|
|
|
+ <if test="companyPh!=null">and company_ph=#{companyPh}</if>
|
|
|
+ <if test="linkMan!=null">and link_man=#{linkMan}</if>
|
|
|
+ <if test="postBox!=null">and post_box=#{postBox}</if>
|
|
|
+ <if test="district!=null">and district=#{district}</if>
|
|
|
+ <if test="updateTime!=null">and update_time=#{updateTime}</if>
|
|
|
+ <if test="createTime!=null">and create_time=#{createTime}</if>
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|