This commit is contained in:
xuyuncong 2025-10-27 11:24:53 +08:00
parent 6c05b30c1c
commit 6e095b7b50
5 changed files with 53 additions and 1 deletions

View File

@ -183,4 +183,15 @@ public class RepairStatisticsController {
return CommonResult.success(statisticsService.staffStatistics(reqVO)); return CommonResult.success(statisticsService.staffStatistics(reqVO));
} }
/**
* @description :渠道和来源统计
* @author xyc
* @date 09:53 2025/10/27
* @param reqVO {@link QueryBusinessReqVO}
* @return cn.iocoder.yudao.framework.common.pojo.CommonResult<?>
**/
public CommonResult<?> businseeStatistics(QueryBusinessReqVO reqVO) {
return CommonResult.success(statisticsService.businseeStatistics(reqVO));
}
} }

View File

@ -110,4 +110,13 @@ public interface RepairStatisticsService {
* @return java.util.List<cn.iocoder.yudao.module.base.entity.StaffStatisticsResp> * @return java.util.List<cn.iocoder.yudao.module.base.entity.StaffStatisticsResp>
**/ **/
List<StaffStatisticsResp> staffStatistics(QueryBusinessReqVO reqVO); List<StaffStatisticsResp> staffStatistics(QueryBusinessReqVO reqVO);
/**
* @description : 渠道和来源统计
* @author xyc
* @date 09:54 2025/10/27
* @param reqVO {@link QueryBusinessReqVO}
* @return java.util.List
**/
List<RepairBusinessStatisticsVO> businseeStatistics(QueryBusinessReqVO reqVO);
} }

View File

@ -172,4 +172,17 @@ public class RepairStatisticsServiceImpl implements RepairStatisticsService {
List<StaffStatisticsResp> staffStatisticsResps = statisticsMapper.staffStatistics(reqVO); List<StaffStatisticsResp> staffStatisticsResps = statisticsMapper.staffStatistics(reqVO);
return staffStatisticsResps; return staffStatisticsResps;
} }
/**
* @param reqVO {@link QueryBusinessReqVO}
* @return java.util.List
* @description : 渠道和来源统计
* @author xyc
* @date 09:54 2025/10/27
**/
@Override
public List<RepairBusinessStatisticsVO> businseeStatistics(QueryBusinessReqVO reqVO) {
// return statisticsMapper.businseeStatistics(reqVO);
return null;
}
} }

View File

@ -0,0 +1,14 @@
package cn.iocoder.yudao.module.base.vo;
import lombok.Data;
/**
* @ClassName RepairBusinessStatisticsVO
* @Description : 渠道和来源统计
* @Author
* @Date 2025/10/27 09:54
* @Version 1.0.0
*/
@Data
public class RepairBusinessStatisticsVO {
}

View File

@ -91,9 +91,14 @@ public class DlRepairTickets extends TenantBaseDO {
*/ */
private String carBrandType; private String carBrandType;
/** /**
* 业务来源(字典repair_busi_from) * 业务渠道
*/ */
private String busiFrom; private String busiFrom;
/**
* 客户来源
*/
private String cusFrom;
/** /**
* 最近保养日期 * 最近保养日期
*/ */