Browse Source

[fix] 销售管理

修改销售估计单号筛选条件由准确查询改为模糊查询
dev
liuxiaoxu 3 months ago
parent
commit
51b308f36f
  1. 2
      ruoyi-admin/src/main/resources/mapper/sales/SalesEstimateMapper.xml

2
ruoyi-admin/src/main/resources/mapper/sales/SalesEstimateMapper.xml

@ -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>

Loading…
Cancel
Save