Commit b7aefb76 by 潘诗林

fix:客户查询支持群关联查询

1 parent 7a5a826d
...@@ -83,6 +83,11 @@ public class CustomerInfoDTO extends CustomerInfo{ ...@@ -83,6 +83,11 @@ public class CustomerInfoDTO extends CustomerInfo{
private Boolean groupStatus; private Boolean groupStatus;
/** /**
* 群关联筛选: 1=仅查看已关联
*/
private Integer groupLinked;
/**
* 车型 * 车型
*/ */
@ApiModelProperty(name = "carModel", notes = "车型", dataType = "String") @ApiModelProperty(name = "carModel", notes = "车型", dataType = "String")
......
...@@ -121,6 +121,12 @@ ...@@ -121,6 +121,12 @@
<if test="customerStatus != null "> <if test="customerStatus != null ">
and ci.customer_status = #{customerStatus} and ci.customer_status = #{customerStatus}
</if> </if>
<if test="groupLinked != null and groupLinked == 0">
and ci.qw_group_id is null
</if>
<if test="groupLinked != null and groupLinked == 1">
and ci.qw_group_id is not null
</if>
<if test="standNo != null and standNo !=''"> <if test="standNo != null and standNo !=''">
and ci.stand_no = #{standNo} and ci.stand_no = #{standNo}
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!