|
@@ -28,12 +28,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<where>
|
|
<where>
|
|
is_del = '0'
|
|
is_del = '0'
|
|
<if test="isDel != null "> and is_del = #{isDel}</if>
|
|
<if test="isDel != null "> and is_del = #{isDel}</if>
|
|
|
|
+ <if test="bmProjectId != null "> and bm_project_id = #{bmProjectId}</if>
|
|
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
|
|
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
|
|
<if test="companyAddress != null and companyAddress != ''"> and company_address = #{companyAddress}</if>
|
|
<if test="companyAddress != null and companyAddress != ''"> and company_address = #{companyAddress}</if>
|
|
<if test="companyLegal != null and companyLegal != ''"> and company_legal = #{companyLegal}</if>
|
|
<if test="companyLegal != null and companyLegal != ''"> and company_legal = #{companyLegal}</if>
|
|
<if test="companyCode != null and companyCode != ''"> and company_code = #{companyCode}</if>
|
|
<if test="companyCode != null and companyCode != ''"> and company_code = #{companyCode}</if>
|
|
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
|
|
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
|
|
</where>
|
|
</where>
|
|
|
|
+ order by create_time DESC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectBmProjectInvestorById" parameterType="Long" resultMap="BmProjectInvestorResult">
|
|
<select id="selectBmProjectInvestorById" parameterType="Long" resultMap="BmProjectInvestorResult">
|