add 新增 首页查询每天的保险收入金额接口

This commit is contained in:
Lemon
2025-11-26 14:52:07 +08:00
parent f55f6ec006
commit 23ce26a441
6 changed files with 62 additions and 1 deletions

View File

@@ -443,4 +443,11 @@ public interface OrderBasicInfoMapper {
List<OrderMonthStatVO> selectOrderCountAndInsuranceByMonth(@Param("dto") QueryOrderDTO dto);
List<OrderBasicInfo> selectOrderTemp(@Param("orderCodes") Set<String> orderCodes);
/**
* 获取保险收入
* @param dto
* @return
*/
List<IndexPlatformProfitVO> getInsuranceAmount(@Param("dto") IndexQueryDTO dto);
}

View File

@@ -645,4 +645,11 @@ public interface OrderBasicInfoService{
// 临时接口, 查询订单信息
List<OrderBasicInfo> selectOrderTemp(Set<String> orderCodes);
/**
* 获取保险金额
* @param dto
* @return
*/
List<IndexPlatformProfitVO> getInsuranceAmount(IndexQueryDTO dto);
}

View File

@@ -6042,5 +6042,15 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
public List<OrderBasicInfo> selectOrderTemp(Set<String> orderCodes) {
return orderBasicInfoMapper.selectOrderTemp(orderCodes);
}
/**
* 查询每天的保险金额
* @param dto
* @return
*/
@Override
public List<IndexPlatformProfitVO> getInsuranceAmount(IndexQueryDTO dto) {
return orderBasicInfoMapper.getInsuranceAmount(dto);
}
}

View File

@@ -52,4 +52,9 @@ public class IndexPlatformProfitVO {
* 总抽成金额
*/
private String totalSplitAmount;
/**
* 保险金额
*/
private String insuranceAmount;
}