mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	fix: Customer,Clue增加followUpStatus自动查询
This commit is contained in:
		| @@ -39,4 +39,7 @@ public class CrmCluePageReqVO extends PageParam { | ||||
|     @Schema(description = "客户来源", example = "1") | ||||
|     private Integer source; | ||||
|  | ||||
|     @Schema(description = "跟进状态", example = "true") | ||||
|     private Boolean followUpStatus; | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -55,4 +55,7 @@ public class CrmCustomerPageReqVO extends PageParam { | ||||
|     @Schema(description = "跟进状态", example = "true") | ||||
|     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::getLevel, pageReqVO.getLevel()) | ||||
|                 .eqIfPresent(CrmClueDO::getSource, pageReqVO.getSource()) | ||||
|                 .eqIfPresent(CrmClueDO::getFollowUpStatus, pageReqVO.getFollowUpStatus()) | ||||
|                 .orderByDesc(CrmClueDO::getId); | ||||
|         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.MPJLambdaWrapperX; | ||||
| 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.enums.common.CrmAuditStatusEnum; | ||||
| 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::getIndustryId, pageReqVO.getIndustryId()) | ||||
|                 .eqIfPresent(CrmCustomerDO::getLevel, pageReqVO.getLevel()) | ||||
|                 .eqIfPresent(CrmCustomerDO::getSource, pageReqVO.getSource()); | ||||
|                 .eqIfPresent(CrmCustomerDO::getSource, pageReqVO.getSource()) | ||||
|                 .eqIfPresent(CrmCustomerDO::getFollowUpStatus, pageReqVO.getFollowUpStatus()); | ||||
|  | ||||
|         // backlog 查询 | ||||
|         if (ObjUtil.isNotNull(pageReqVO.getContactStatus())) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dhb52
					dhb52