|
@@ -13,10 +13,10 @@ import java.util.HashMap;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
-*@author: tz
|
|
|
|
|
-*@description: 费用计算表 service
|
|
|
|
|
-*@create: 2024-2-22 15:44:29
|
|
|
|
|
-*/
|
|
|
|
|
|
|
+ * @author: tz
|
|
|
|
|
+ * @description: 费用计算表 service
|
|
|
|
|
+ * @create: 2024-2-22 15:44:29
|
|
|
|
|
+ */
|
|
|
public interface InsFeeOrderNewService extends IService<InsFeeOrderNew> {
|
|
public interface InsFeeOrderNewService extends IService<InsFeeOrderNew> {
|
|
|
|
|
|
|
|
InsFeeOrderNew getInsFeeOrderNewByCompanyId(String companyId);
|
|
InsFeeOrderNew getInsFeeOrderNewByCompanyId(String companyId);
|
|
@@ -28,15 +28,16 @@ public interface InsFeeOrderNewService extends IService<InsFeeOrderNew> {
|
|
|
List<InsFeeOrderNew> getByUserId(String userId);
|
|
List<InsFeeOrderNew> getByUserId(String userId);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/5/8 15:49
|
|
|
|
|
- * @Description: 通过用户id查询预收金额的数据 查询 承保状态订单且不在 审核表中的数据
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/5/8 15:49
|
|
|
|
|
+ * @Description: 通过用户id查询预收金额的数据 查询 承保状态订单且不在 审核表中的数据
|
|
|
*/
|
|
*/
|
|
|
List<InsFeeOrderNew> getByUserIdAndOrderStatusAndNoCheck(String userId);
|
|
List<InsFeeOrderNew> getByUserIdAndOrderStatusAndNoCheck(String userId);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 更新一级机构管理费用
|
|
* 更新一级机构管理费用
|
|
|
|
|
+ *
|
|
|
* @param insOrderNo
|
|
* @param insOrderNo
|
|
|
* @param jqPremium
|
|
* @param jqPremium
|
|
|
* @return
|
|
* @return
|
|
@@ -44,138 +45,164 @@ public interface InsFeeOrderNewService extends IService<InsFeeOrderNew> {
|
|
|
boolean updateLevelDeptManager(String insOrderNo, BigDecimal jqPremium, BigDecimal syPremium, BigDecimal noPremium);
|
|
boolean updateLevelDeptManager(String insOrderNo, BigDecimal jqPremium, BigDecimal syPremium, BigDecimal noPremium);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- *
|
|
|
|
|
- * @param params 用户id 时间过滤
|
|
|
|
|
|
|
+ * @param params 用户id 时间过滤
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
List<InsFeeOrderNew> getSumWillAmount(HashMap<String, Object> params);
|
|
List<InsFeeOrderNew> getSumWillAmount(HashMap<String, Object> params);
|
|
|
|
|
|
|
|
|
|
|
|
|
List<InsFeeOrderNew> getSumWillAmountGeneralization(HashMap<String, Object> params);
|
|
List<InsFeeOrderNew> getSumWillAmountGeneralization(HashMap<String, Object> params);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/3 12:00
|
|
|
|
|
- * @Description: 通过类型查询数据
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/3 12:00
|
|
|
|
|
+ * @Description: 通过类型查询数据
|
|
|
*/
|
|
*/
|
|
|
List<InsFeeOrderNew> getByUserIdAndOrderStatusAndNoCheckType(String userId, String number);
|
|
List<InsFeeOrderNew> getByUserIdAndOrderStatusAndNoCheckType(String userId, String number);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/3 14:32
|
|
|
|
|
- * @Description: 查询跟单明细的数据
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/3 14:32
|
|
|
|
|
+ * @Description: 查询跟单明细的数据
|
|
|
*/
|
|
*/
|
|
|
List<InsFeeOrderNew> getSumWillAmountGeneralizationNew(HashMap<String, Object> params);
|
|
List<InsFeeOrderNew> getSumWillAmountGeneralizationNew(HashMap<String, Object> params);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/3 14:41
|
|
|
|
|
- * @Description: 推广费
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/3 14:41
|
|
|
|
|
+ * @Description: 推广费
|
|
|
*/
|
|
*/
|
|
|
List<InsFeeOrderNew> getSumWillAmountNew(HashMap<String, Object> params);
|
|
List<InsFeeOrderNew> getSumWillAmountNew(HashMap<String, Object> params);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/19 14:21
|
|
|
|
|
- * @Description: 通过用户id查询推广费
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/19 14:21
|
|
|
|
|
+ * @Description: 通过用户id查询推广费
|
|
|
*/
|
|
*/
|
|
|
- Page<MyCollectInAdvanceDto> findMyCollectInAdvanceWillAmountByUserId(Page<MyCollectInAdvanceDto> page,MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
|
|
|
|
|
+ Page<MyCollectInAdvanceDto> findMyCollectInAdvanceWillAmountByUserId(Page<MyCollectInAdvanceDto> page, MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/19 14:47
|
|
|
|
|
- * @Description: 通过用户id查询手续费+跟单费
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/19 14:47
|
|
|
|
|
+ * @Description: 通过用户id查询手续费+跟单费
|
|
|
*/
|
|
*/
|
|
|
- Page<MyCollectInAdvanceDto> findMyCollectInAdvanceSumByUserId(Page<MyCollectInAdvanceDto> page,MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
|
|
|
|
|
+ Page<MyCollectInAdvanceDto> findMyCollectInAdvanceSumByUserId(Page<MyCollectInAdvanceDto> page, MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/19 15:07
|
|
|
|
|
- * @Description: 通过用户id查询推广费 总条数
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/19 15:07
|
|
|
|
|
+ * @Description: 通过用户id查询推广费 总条数
|
|
|
*/
|
|
*/
|
|
|
Long findMyCollectInAdvanceWillAmountByUserIdCount(MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
Long findMyCollectInAdvanceWillAmountByUserIdCount(MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/19 15:17
|
|
|
|
|
- * @Description: 通过用户id查询手续费+跟单费 总条数
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/19 15:17
|
|
|
|
|
+ * @Description: 通过用户id查询手续费+跟单费 总条数
|
|
|
*/
|
|
*/
|
|
|
Long findMyCollectInAdvanceSumByUserIdCount(MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
Long findMyCollectInAdvanceSumByUserIdCount(MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/19 17:29
|
|
|
|
|
- * @Description: 计算推广费总费用
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/19 17:29
|
|
|
|
|
+ * @Description: 计算推广费总费用
|
|
|
*/
|
|
*/
|
|
|
BigDecimal findSumWillAmount(MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
BigDecimal findSumWillAmount(MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/19 17:30
|
|
|
|
|
- * @Description: 计算手续费+跟单费 总费用
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/19 17:30
|
|
|
|
|
+ * @Description: 计算手续费+跟单费 总费用
|
|
|
*/
|
|
*/
|
|
|
BigDecimal findSumAmount(MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
BigDecimal findSumAmount(MyCollectInAdvanceQueryDto myCollectInAdvanceQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/30 15:56
|
|
|
|
|
- * @Description: 查询车险明细查询
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/30 15:56
|
|
|
|
|
+ * @Description: 查询车险明细查询
|
|
|
*/
|
|
*/
|
|
|
- Page<ExportExpenditureTypeDetalsDto> findMyInsuranceByUserId(Page<ExportExpenditureTypeDetalsDto> page,MyInsuranceQueryDto myInsuranceQueryDto,List<String> userList);
|
|
|
|
|
|
|
+ Page<ExportExpenditureTypeDetalsDto> findMyInsuranceByUserId(Page<ExportExpenditureTypeDetalsDto> page, MyInsuranceQueryDto myInsuranceQueryDto, List<String> userList);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/30 17:38
|
|
|
|
|
- * @Description: 查询推广费统计
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/30 17:38
|
|
|
|
|
+ * @Description: 查询推广费统计
|
|
|
*/
|
|
*/
|
|
|
Page<ExportExpenditureTypeDetalsTGDto> findMyInsuranceTGByUserId(Page<ExportExpenditureTypeDetalsTGDto> page, MyInsuranceTgQueryDto myInsuranceTgQueryDto);
|
|
Page<ExportExpenditureTypeDetalsTGDto> findMyInsuranceTGByUserId(Page<ExportExpenditureTypeDetalsTGDto> page, MyInsuranceTgQueryDto myInsuranceTgQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/30 18:01
|
|
|
|
|
- * @Description: 导出车险明细
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/30 18:01
|
|
|
|
|
+ * @Description: 导出车险明细
|
|
|
*/
|
|
*/
|
|
|
List<ExportExpenditureTypeDetalsDto> exportMyInsuranceByUserId(MyInsuranceQueryDto myInsuranceQueryDto, List<String> userList);
|
|
List<ExportExpenditureTypeDetalsDto> exportMyInsuranceByUserId(MyInsuranceQueryDto myInsuranceQueryDto, List<String> userList);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/30 18:02
|
|
|
|
|
- * @Description: 导出推广费明细
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/30 18:02
|
|
|
|
|
+ * @Description: 导出推广费明细
|
|
|
*/
|
|
*/
|
|
|
List<ExportExpenditureTypeDetalsTGDto> exportMyInsuranceTGByUserId(MyInsuranceTgQueryDto myInsuranceTgQueryDto);
|
|
List<ExportExpenditureTypeDetalsTGDto> exportMyInsuranceTGByUserId(MyInsuranceTgQueryDto myInsuranceTgQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/30 19:48
|
|
|
|
|
- * @Description: 预收和实收手续+跟单的总金额
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/30 19:48
|
|
|
|
|
+ * @Description: 预收和实收手续+跟单的总金额
|
|
|
*/
|
|
*/
|
|
|
BigDecimal findMyAmountYSOrSSCXAmount(MySumAmountQueryDto mySumAmountQueryDto);
|
|
BigDecimal findMyAmountYSOrSSCXAmount(MySumAmountQueryDto mySumAmountQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/30 19:48
|
|
|
|
|
- * @Description: 预收和实收推广费的总金额
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/30 19:48
|
|
|
|
|
+ * @Description: 预收和实收推广费的总金额
|
|
|
*/
|
|
*/
|
|
|
BigDecimal findMyAmountYSOrSSTGAmount(MySumAmountQueryDto mySumAmountQueryDto);
|
|
BigDecimal findMyAmountYSOrSSTGAmount(MySumAmountQueryDto mySumAmountQueryDto);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
- * @version
|
|
|
|
|
- * @author: hxl
|
|
|
|
|
- * @Date: 2024/6/30 19:58
|
|
|
|
|
- * @Description: 查询用户已提现的金额
|
|
|
|
|
|
|
+ * @version
|
|
|
|
|
+ * @author: hxl
|
|
|
|
|
+ * @Date: 2024/6/30 19:58
|
|
|
|
|
+ * @Description: 查询用户已提现的金额
|
|
|
*/
|
|
*/
|
|
|
- BigDecimal findMyAmountYTXmount(String userId,String status);
|
|
|
|
|
|
|
+ BigDecimal findMyAmountYTXmount(String userId, String status);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 获取费用结算导出表的数据
|
|
* 获取费用结算导出表的数据
|
|
|
|
|
+ *
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
List<CostSettlementExcelVo> getCostSettlementExcel(CostSettlementQueryVo costSettlementQueryVo);
|
|
List<CostSettlementExcelVo> getCostSettlementExcel(CostSettlementQueryVo costSettlementQueryVo);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 获取应收费用
|
|
* 获取应收费用
|
|
|
|
|
+ *
|
|
|
* @param costSettlementQueryVo
|
|
* @param costSettlementQueryVo
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
List<FeeReceivableVo> getFeeReceivable(CostSettlementQueryVo costSettlementQueryVo);
|
|
List<FeeReceivableVo> getFeeReceivable(CostSettlementQueryVo costSettlementQueryVo);
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 通过子订单获取费用信息
|
|
|
|
|
+ */
|
|
|
|
|
+ default InsFeeOrderNew getByInsOrderNo(String insOrderNo) {
|
|
|
|
|
+ return lambdaQuery()
|
|
|
|
|
+ .eq(InsFeeOrderNew::getInsOrderNo, insOrderNo)
|
|
|
|
|
+ .one();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|