Commit 63ca974ab92fd045f2d9a9b3192e2f4307fd14e2

Authored by yeqianyong
1 parent e8081160

楚江ERP-客户开发筛选项增加客户名称模糊搜索

@@ -31,6 +31,12 @@ public class QueryCustomerDevelopPlanVo extends SortPageVo implements BaseVo, Se @@ -31,6 +31,12 @@ public class QueryCustomerDevelopPlanVo extends SortPageVo implements BaseVo, Se
31 private String customerId; 31 private String customerId;
32 32
33 /** 33 /**
  34 + * 客户名称
  35 + */
  36 + @ApiModelProperty("客户名称")
  37 + private String customerName;
  38 +
  39 + /**
34 * 厂房ID 40 * 厂房ID
35 */ 41 */
36 @ApiModelProperty("厂房ID") 42 @ApiModelProperty("厂房ID")
@@ -88,6 +88,15 @@ @@ -88,6 +88,15 @@
88 #{item} 88 #{item}
89 </foreach> 89 </foreach>
90 </if> 90 </if>
  91 + <if test="vo.createStartTime != null">
  92 + AND tb.create_time >= #{vo.createStartTime}
  93 + </if>
  94 + <if test="vo.createEndTime != null">
  95 + AND tb.create_time &lt;= #{vo.createEndTime}
  96 + </if>
  97 + <if test="vo.customerName != null and vo.customerName != ''">
  98 + AND c.name LIKE CONCAT('%', #{vo.customerName}, '%')
  99 + </if>
91 </where> 100 </where>
92 </sql> 101 </sql>
93 102