fix: Customer,Clue增加followUpStatus自动查询
This commit is contained in:
parent
cd1e73cc3f
commit
1ba2b7b600
@ -39,4 +39,7 @@ public class CrmCluePageReqVO extends PageParam {
|
|||||||
@Schema(description = "客户来源", example = "1")
|
@Schema(description = "客户来源", example = "1")
|
||||||
private Integer source;
|
private Integer source;
|
||||||
|
|
||||||
|
@Schema(description = "跟进状态", example = "true")
|
||||||
|
private Boolean followUpStatus;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -55,4 +55,7 @@ public class CrmCustomerPageReqVO extends PageParam {
|
|||||||
@Schema(description = "跟进状态", example = "true")
|
@Schema(description = "跟进状态", example = "true")
|
||||||
private Boolean followUpStatus; // backlog查询条件, null 则表示为不做查询
|
private Boolean followUpStatus; // backlog查询条件, null 则表示为不做查询
|
||||||
|
|
||||||
|
@Schema(description = "跟进状态", example = "true")
|
||||||
|
private Boolean followUpStatus;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,7 @@ public interface CrmClueMapper extends BaseMapperX<CrmClueDO> {
|
|||||||
.eqIfPresent(CrmClueDO::getIndustryId, pageReqVO.getIndustryId())
|
.eqIfPresent(CrmClueDO::getIndustryId, pageReqVO.getIndustryId())
|
||||||
.eqIfPresent(CrmClueDO::getLevel, pageReqVO.getLevel())
|
.eqIfPresent(CrmClueDO::getLevel, pageReqVO.getLevel())
|
||||||
.eqIfPresent(CrmClueDO::getSource, pageReqVO.getSource())
|
.eqIfPresent(CrmClueDO::getSource, pageReqVO.getSource())
|
||||||
|
.eqIfPresent(CrmClueDO::getFollowUpStatus, pageReqVO.getFollowUpStatus())
|
||||||
.orderByDesc(CrmClueDO::getId);
|
.orderByDesc(CrmClueDO::getId);
|
||||||
return selectJoinPage(pageReqVO, CrmClueDO.class, query);
|
return selectJoinPage(pageReqVO, CrmClueDO.class, query);
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,7 @@ import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
|||||||
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||||
import cn.iocoder.yudao.framework.mybatis.core.query.MPJLambdaWrapperX;
|
import cn.iocoder.yudao.framework.mybatis.core.query.MPJLambdaWrapperX;
|
||||||
import cn.iocoder.yudao.module.crm.controller.admin.contract.vo.CrmContractPageReqVO;
|
import cn.iocoder.yudao.module.crm.controller.admin.contract.vo.CrmContractPageReqVO;
|
||||||
|
import cn.iocoder.yudao.module.crm.dal.dataobject.clue.CrmClueDO;
|
||||||
import cn.iocoder.yudao.module.crm.dal.dataobject.contract.CrmContractDO;
|
import cn.iocoder.yudao.module.crm.dal.dataobject.contract.CrmContractDO;
|
||||||
import cn.iocoder.yudao.module.crm.enums.common.CrmAuditStatusEnum;
|
import cn.iocoder.yudao.module.crm.enums.common.CrmAuditStatusEnum;
|
||||||
import cn.iocoder.yudao.module.crm.enums.common.CrmBizTypeEnum;
|
import cn.iocoder.yudao.module.crm.enums.common.CrmBizTypeEnum;
|
||||||
|
@ -94,7 +94,8 @@ public interface CrmCustomerMapper extends BaseMapperX<CrmCustomerDO> {
|
|||||||
.eqIfPresent(CrmCustomerDO::getMobile, pageReqVO.getMobile())
|
.eqIfPresent(CrmCustomerDO::getMobile, pageReqVO.getMobile())
|
||||||
.eqIfPresent(CrmCustomerDO::getIndustryId, pageReqVO.getIndustryId())
|
.eqIfPresent(CrmCustomerDO::getIndustryId, pageReqVO.getIndustryId())
|
||||||
.eqIfPresent(CrmCustomerDO::getLevel, pageReqVO.getLevel())
|
.eqIfPresent(CrmCustomerDO::getLevel, pageReqVO.getLevel())
|
||||||
.eqIfPresent(CrmCustomerDO::getSource, pageReqVO.getSource());
|
.eqIfPresent(CrmCustomerDO::getSource, pageReqVO.getSource())
|
||||||
|
.eqIfPresent(CrmCustomerDO::getFollowUpStatus, pageReqVO.getFollowUpStatus());
|
||||||
|
|
||||||
// backlog 查询
|
// backlog 查询
|
||||||
if (ObjUtil.isNotNull(pageReqVO.getContactStatus())) {
|
if (ObjUtil.isNotNull(pageReqVO.getContactStatus())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user