|
@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<select id="selectSalesEstimateList" parameterType="SalesEstimate" resultMap="SalesEstimateResult"> |
|
|
<select id="selectSalesEstimateList" parameterType="SalesEstimate" resultMap="SalesEstimateResult"> |
|
|
<include refid="selectSalesEstimateVo"/> |
|
|
<include refid="selectSalesEstimateVo"/> |
|
|
<where> |
|
|
<where> |
|
|
<if test="salesEstimateCode != null and salesEstimateCode != ''"> and sales_estimate_code = #{salesEstimateCode}</if> |
|
|
<if test="salesEstimateCode != null and salesEstimateCode != ''"> and sales_estimate_code like concat('%', #{salesEstimateCode}, '%')</if> |
|
|
<if test="businessMembers != null and businessMembers != ''"> and business_members = #{businessMembers}</if> |
|
|
<if test="businessMembers != null and businessMembers != ''"> and business_members = #{businessMembers}</if> |
|
|
<if test="estimateStatus != null and estimateStatus != ''"> and estimate_status = #{estimateStatus}</if> |
|
|
<if test="estimateStatus != null and estimateStatus != ''"> and estimate_status = #{estimateStatus}</if> |
|
|
<if test="enterpriseCode != null and enterpriseCode != ''"> and enterprise_code = #{enterpriseCode}</if> |
|
|
<if test="enterpriseCode != null and enterpriseCode != ''"> and enterprise_code = #{enterpriseCode}</if> |
|
|