Showing
2 changed files
with
15 additions
and
0 deletions
| @@ -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 <= #{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 |