Commit b7aefb76 by 潘诗林

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

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