|
@@ -32,7 +32,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectBmProjectReportList" parameterType="BmProjectReport" resultMap="BmProjectReportResult">
|
|
|
<include refid="selectBmProjectReportVo"/>
|
|
|
- <where>
|
|
|
+ <where>
|
|
|
+ is_del = '0'
|
|
|
<if test="projectName != null and projectName != ''"> and project_name like concat('%', #{projectName}, '%')</if>
|
|
|
<if test="investmentQuota != null and investmentQuota != ''"> and investment_quota = #{investmentQuota}</if>
|
|
|
<if test="contactsName != null and contactsName != ''"> and contacts_name like concat('%', #{contactsName}, '%')</if>
|
|
@@ -45,7 +46,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ivestor != null and ivestor != ''"> and ivestor = #{ivestor}</if>
|
|
|
<if test="recommendCompany != null and recommendCompany != '' "> and recommend_company = #{recommendCompany}</if>
|
|
|
<if test="recommendPhone != null and recommendPhone != ''"> and recommend_phone = #{recommendPhone}</if>
|
|
|
- <if test="isDel != null "> and is_del = #{isDel}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|