|
|
@@ -9,7 +9,9 @@ import com.ydtech.constants.enums.dict.FeeAuditAuditstatus;
|
|
|
import com.ydtech.constants.enums.dict.InsOrderStatusEnum;
|
|
|
import com.ydtech.core.page.HttpResult;
|
|
|
import com.ydtech.exception.SystemException;
|
|
|
+import com.ydtech.modules.admin.constants.ManagementSource;
|
|
|
import com.ydtech.modules.admin.model.dto.QxFrontlineAgentDto;
|
|
|
+import com.ydtech.modules.admin.service.SysDeptService;
|
|
|
import com.ydtech.modules.base.controller.BaseController;
|
|
|
import com.ydtech.modules.fee.service.FeeRuleSchemeNewService;
|
|
|
import com.ydtech.modules.fnc.entity.vo.ProblemOrderQueryVo;
|
|
|
@@ -58,6 +60,8 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
|
|
|
private final InsOrdersTrackService insOrdersTrackService;
|
|
|
|
|
|
+ private final SysDeptService sysDeptService;
|
|
|
+
|
|
|
@Autowired
|
|
|
private InsAreaCompanyAccidentalDrivingService insAreaCompanyAccidentalDrivingService;
|
|
|
|
|
|
@@ -85,9 +89,10 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
@Autowired
|
|
|
private InsAreaCompanyExternalPolicyService insAreaCompanyExternalPolicyService;
|
|
|
|
|
|
- public InsAreaCompanyServiceImpl(@Lazy InsOrdersService insOrdersService, InsOrdersTrackService insOrdersTrackService) {
|
|
|
+ public InsAreaCompanyServiceImpl(@Lazy InsOrdersService insOrdersService, InsOrdersTrackService insOrdersTrackService, SysDeptService sysDeptService) {
|
|
|
this.insOrdersService = insOrdersService;
|
|
|
this.insOrdersTrackService = insOrdersTrackService;
|
|
|
+ this.sysDeptService = sysDeptService;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -111,19 +116,23 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
//生成结算
|
|
|
//判断协议是否为人工还是自动审核
|
|
|
PtlAgreement ptlAgreement = ptlAgreementService.getById(insAreaCompany.getAgreementId());
|
|
|
- if(ptlAgreement.getAuditType() == 2 && insAreaCompany.getOrderstatus().equals(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode()))
|
|
|
- {
|
|
|
+
|
|
|
+ boolean b = sysDeptService.contrastiveManagementSource(insAreaCompany.getOrderno(), ManagementSource.MS_03.getCode());
|
|
|
+
|
|
|
+ if (b) {
|
|
|
+ // 电销审核
|
|
|
+ insFeeAuditService.saveDefaultInsFeeAuditAndHistory(insAreaCompany.getOrderno(), insAreaCompany.getId(), FeeAuditAuditstatus.TELEMARKETING_AUDIT.getCode(), null);
|
|
|
+ } else if (ptlAgreement.getAuditType() == 2 && insAreaCompany.getOrderstatus().equals(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode())) {
|
|
|
//如果为自动审核 则自动进行审核
|
|
|
- insFeeAuditService.feeAudit( insAreaCompany.getOrderno(),insAreaCompany.getId(), true,FeeAuditAuditstatus.PASSED.getCode());
|
|
|
- }else if(ptlAgreement.getAuditType() == 1 && insAreaCompany.getOrderstatus().equals(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode()))
|
|
|
- {
|
|
|
+ insFeeAuditService.feeAudit(insAreaCompany.getOrderno(), insAreaCompany.getId(), true, FeeAuditAuditstatus.PASSED.getCode());
|
|
|
+ } else if (ptlAgreement.getAuditType() == 1 && insAreaCompany.getOrderstatus().equals(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode())) {
|
|
|
//添加默认审核 添加审核表及轨迹信息
|
|
|
- insFeeAuditService.saveDefaultInsFeeAuditAndHistory(insAreaCompany.getOrderno(), insAreaCompany.getId(), FeeAuditAuditstatus.UNREVICEWED.getCode(),null);
|
|
|
+ insFeeAuditService.saveDefaultInsFeeAuditAndHistory(insAreaCompany.getOrderno(), insAreaCompany.getId(), FeeAuditAuditstatus.UNREVICEWED.getCode(), null);
|
|
|
}
|
|
|
|
|
|
//添加订单消息
|
|
|
messageSecretaryService.addMessage(MessageTypeConstants.M_3, BaseController.getUser().getId(),
|
|
|
- "订单号"+insAreaCompany.getOrderno()+InsOrderStatusEnum.matchKey(insAreaCompany.getOrderstatus()).getDesc());
|
|
|
+ "订单号" + insAreaCompany.getOrderno() + InsOrderStatusEnum.matchKey(insAreaCompany.getOrderstatus()).getDesc());
|
|
|
insOrdersTrackService.addingTrajectories(insAreaCompany);
|
|
|
insOrdersService.updateByOrderStatus(insAreaCompany);
|
|
|
}
|
|
|
@@ -295,8 +304,8 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
HashMap<String, Object> params = new HashMap<>();
|
|
|
String userId = insFeeOrderNew.getUserId();
|
|
|
params.put("userId", userId);
|
|
|
- if(StringUtils.isNotEmpty(insFeeOrderNew.getIsDetail())){
|
|
|
- params.put("id",insFeeOrderNew.getId());
|
|
|
+ if (StringUtils.isNotEmpty(insFeeOrderNew.getIsDetail())) {
|
|
|
+ params.put("id", insFeeOrderNew.getId());
|
|
|
}
|
|
|
return baseMapper.selectSecondPromotionBy(params);
|
|
|
}
|
|
|
@@ -370,119 +379,119 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * @version
|
|
|
- * @author: hxl
|
|
|
- * @Date: 2024/6/3 11:42
|
|
|
- * @Description: 通过状态查询预收和实收金额
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2024/6/3 11:42
|
|
|
+ * @Description: 通过状态查询预收和实收金额
|
|
|
*/
|
|
|
@Override
|
|
|
public InsOrders selectByInFeeOrderNewByType(InsFeeOrderNew insFeeOrderNew, String type) {
|
|
|
HashMap<String, Object> params = new HashMap<>();
|
|
|
String userId = insFeeOrderNew.getUserId();
|
|
|
params.put("userId", userId);
|
|
|
- if(StringUtils.isNotEmpty(insFeeOrderNew.getIsDetail())){
|
|
|
- params.put("id",insFeeOrderNew.getId());
|
|
|
+ if (StringUtils.isNotEmpty(insFeeOrderNew.getIsDetail())) {
|
|
|
+ params.put("id", insFeeOrderNew.getId());
|
|
|
}
|
|
|
params.put("type", type);
|
|
|
return baseMapper.selectSecondPromotionByNew(params);
|
|
|
}
|
|
|
|
|
|
- private BaseQuoteVo<AccidentalDrivingVo> checkQuoteVo(BaseQuoteVo<AccidentalDrivingVo> quoteVo){
|
|
|
- if(quoteVo.getJqpremium() == null){
|
|
|
+ private BaseQuoteVo<AccidentalDrivingVo> checkQuoteVo(BaseQuoteVo<AccidentalDrivingVo> quoteVo) {
|
|
|
+ if (quoteVo.getJqpremium() == null) {
|
|
|
quoteVo.setJqpremium(new BigDecimal(0));
|
|
|
}
|
|
|
- if(quoteVo.getSypremium() == null){
|
|
|
+ if (quoteVo.getSypremium() == null) {
|
|
|
quoteVo.setSypremium(new BigDecimal(0));
|
|
|
}
|
|
|
- if(quoteVo.getJypremium() == null){
|
|
|
+ if (quoteVo.getJypremium() == null) {
|
|
|
quoteVo.setJypremium(new BigDecimal(0));
|
|
|
}
|
|
|
- if(quoteVo.getTaxamount() == null){
|
|
|
+ if (quoteVo.getTaxamount() == null) {
|
|
|
quoteVo.setTaxamount(new BigDecimal(0));
|
|
|
}
|
|
|
- if(quoteVo.getJqSuperviseCostsProportion() == null){
|
|
|
+ if (quoteVo.getJqSuperviseCostsProportion() == null) {
|
|
|
quoteVo.setJqSuperviseCostsProportion(new BigDecimal(0));
|
|
|
}
|
|
|
- if(quoteVo.getJqOtherCostsProportion() == null){
|
|
|
+ if (quoteVo.getJqOtherCostsProportion() == null) {
|
|
|
quoteVo.setJqOtherCostsProportion(new BigDecimal(0));
|
|
|
}
|
|
|
- if(quoteVo.getSySuperviseCostsProportion() == null){
|
|
|
+ if (quoteVo.getSySuperviseCostsProportion() == null) {
|
|
|
quoteVo.setSySuperviseCostsProportion(new BigDecimal(0));
|
|
|
}
|
|
|
- if(quoteVo.getSyOtherCostsProportion() == null){
|
|
|
+ if (quoteVo.getSyOtherCostsProportion() == null) {
|
|
|
quoteVo.setSyOtherCostsProportion(new BigDecimal(0));
|
|
|
}
|
|
|
- if(quoteVo.getNoSuperviseCostsProportion() == null){
|
|
|
+ if (quoteVo.getNoSuperviseCostsProportion() == null) {
|
|
|
quoteVo.setNoSuperviseCostsProportion(new BigDecimal(0));
|
|
|
}
|
|
|
- if(quoteVo.getNoOtherCostsProportion() == null){
|
|
|
+ if (quoteVo.getNoOtherCostsProportion() == null) {
|
|
|
quoteVo.setNoOtherCostsProportion(new BigDecimal(0));
|
|
|
}
|
|
|
return quoteVo;
|
|
|
}
|
|
|
|
|
|
- private void validQuoteVo(BaseQuoteVo<AccidentalDrivingVo> quoteVo){
|
|
|
- if(quoteVo.getJqpremium() != null && quoteVo.getJqpremium().compareTo(new BigDecimal(0)) <= 0){
|
|
|
+ private void validQuoteVo(BaseQuoteVo<AccidentalDrivingVo> quoteVo) {
|
|
|
+ if (quoteVo.getJqpremium() != null && quoteVo.getJqpremium().compareTo(new BigDecimal(0)) <= 0) {
|
|
|
throw new SystemException("交强险保费填写错误请重新填写");
|
|
|
}
|
|
|
- if(quoteVo.getJqpolicyno() != null || !quoteVo.getJqPolicyList().isEmpty() || quoteVo.getJqpremium() != null || quoteVo.getJqCostsProportion() != null){
|
|
|
- if(quoteVo.getJqpolicyno() == null){
|
|
|
+ if (quoteVo.getJqpolicyno() != null || !quoteVo.getJqPolicyList().isEmpty() || quoteVo.getJqpremium() != null || quoteVo.getJqCostsProportion() != null) {
|
|
|
+ if (quoteVo.getJqpolicyno() == null) {
|
|
|
throw new SystemException("交强险保单号不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getJqPolicyList() == null || quoteVo.getJqPolicyList().isEmpty()){
|
|
|
+ if (quoteVo.getJqPolicyList() == null || quoteVo.getJqPolicyList().isEmpty()) {
|
|
|
throw new SystemException("交强险保单不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getJqpremium() == null){
|
|
|
+ if (quoteVo.getJqpremium() == null) {
|
|
|
throw new SystemException("交强险保费不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getJqCostsProportion() == null){
|
|
|
+ if (quoteVo.getJqCostsProportion() == null) {
|
|
|
throw new SystemException("交强险总比例不能为空");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(quoteVo.getSypremium() != null && quoteVo.getSypremium().compareTo(new BigDecimal(0)) <= 0){
|
|
|
+ if (quoteVo.getSypremium() != null && quoteVo.getSypremium().compareTo(new BigDecimal(0)) <= 0) {
|
|
|
throw new SystemException("商业险保费填写错误请重新填写");
|
|
|
}
|
|
|
- if(quoteVo.getSypolicyno() != null || !quoteVo.getSyPolicyList().isEmpty() || quoteVo.getSypremium() != null || quoteVo.getSyCostsProportion() != null){
|
|
|
- if(quoteVo.getSypolicyno() == null){
|
|
|
+ if (quoteVo.getSypolicyno() != null || !quoteVo.getSyPolicyList().isEmpty() || quoteVo.getSypremium() != null || quoteVo.getSyCostsProportion() != null) {
|
|
|
+ if (quoteVo.getSypolicyno() == null) {
|
|
|
throw new SystemException("商业险保单号不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getSyPolicyList() == null || quoteVo.getSyPolicyList().isEmpty()){
|
|
|
+ if (quoteVo.getSyPolicyList() == null || quoteVo.getSyPolicyList().isEmpty()) {
|
|
|
throw new SystemException("商业险保单不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getSypremium() == null){
|
|
|
+ if (quoteVo.getSypremium() == null) {
|
|
|
throw new SystemException("商业险保费不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getSyCostsProportion() == null){
|
|
|
+ if (quoteVo.getSyCostsProportion() == null) {
|
|
|
throw new SystemException("商业险总比例不能为空");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(quoteVo.getJypremium() != null && quoteVo.getJypremium().compareTo(new BigDecimal(0)) <= 0){
|
|
|
+ if (quoteVo.getJypremium() != null && quoteVo.getJypremium().compareTo(new BigDecimal(0)) <= 0) {
|
|
|
throw new SystemException("非车险保费填写错误请重新填写");
|
|
|
}
|
|
|
- if(quoteVo.getJypolicyno() != null || quoteVo.getJypremium() != null || !quoteVo.getNoPolicyList().isEmpty() || quoteVo.getNoCostsProportion() != null){
|
|
|
- if(quoteVo.getJypolicyno() == null){
|
|
|
+ if (quoteVo.getJypolicyno() != null || quoteVo.getJypremium() != null || !quoteVo.getNoPolicyList().isEmpty() || quoteVo.getNoCostsProportion() != null) {
|
|
|
+ if (quoteVo.getJypolicyno() == null) {
|
|
|
throw new SystemException("非车险保单号不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getNoPolicyList() == null || quoteVo.getNoPolicyList().isEmpty()){
|
|
|
+ if (quoteVo.getNoPolicyList() == null || quoteVo.getNoPolicyList().isEmpty()) {
|
|
|
throw new SystemException("非车险保单不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getJypremium() == null){
|
|
|
+ if (quoteVo.getJypremium() == null) {
|
|
|
throw new SystemException("非车险保费不能为空");
|
|
|
}
|
|
|
- if(quoteVo.getNoCostsProportion() == null){
|
|
|
+ if (quoteVo.getNoCostsProportion() == null) {
|
|
|
throw new SystemException("非车险总比例不能为空");
|
|
|
}
|
|
|
}
|
|
|
- if(quoteVo.getTaxamount() == null){
|
|
|
+ if (quoteVo.getTaxamount() == null) {
|
|
|
throw new SystemException("请填写车船税");
|
|
|
}
|
|
|
- if(quoteVo.getSignDate() == null){
|
|
|
+ if (quoteVo.getSignDate() == null) {
|
|
|
throw new SystemException("请选择签单日期");
|
|
|
}
|
|
|
//添加协议判断逻辑 add by 2024-07-10
|
|
|
- if(quoteVo.getAgreementId() == null){
|
|
|
+ if (quoteVo.getAgreementId() == null) {
|
|
|
throw new SystemException("请选择协议");
|
|
|
}
|
|
|
|
|
|
@@ -492,7 +501,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
@Transactional
|
|
|
public boolean saveSubOrder(BaseQuoteInfoVo quoteInfo, BaseQuoteVo<AccidentalDrivingVo> quoteVo) {
|
|
|
//添加暂存标志 add by hxl 2024-07-10 0 暂存 1 保存
|
|
|
- if(quoteVo.getStageFlag() == null){
|
|
|
+ if (quoteVo.getStageFlag() == null) {
|
|
|
throw new SystemException("暂存标志为空");
|
|
|
}
|
|
|
|
|
|
@@ -500,20 +509,20 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
|
|
|
//校验 保单号
|
|
|
LambdaQueryWrapper<InsAreaCompany> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
- queryWrapper.eq(InsAreaCompany::getJqpolicyno,quoteVo.getJqpolicyno())
|
|
|
+ queryWrapper.eq(InsAreaCompany::getJqpolicyno, quoteVo.getJqpolicyno())
|
|
|
.or()
|
|
|
- .eq(InsAreaCompany::getSypolicyno,quoteVo.getSypolicyno());
|
|
|
+ .eq(InsAreaCompany::getSypolicyno, quoteVo.getSypolicyno());
|
|
|
List<InsAreaCompany> list = this.list(queryWrapper);
|
|
|
- if(!list.isEmpty()){
|
|
|
+ if (!list.isEmpty()) {
|
|
|
throw new SystemException("已存在订单");
|
|
|
}
|
|
|
|
|
|
InsOrders insOrders = insOrdersService.getById(quoteInfo.getOrderNo());
|
|
|
//添加暂存处理 add by hxl 2024-07-10 0 暂存
|
|
|
- if(quoteVo.getStageFlag()==0){
|
|
|
+ if (quoteVo.getStageFlag() == 0) {
|
|
|
//设置为报价中
|
|
|
insOrders.setOrderstatus(InsOrderStatusEnum.QUOTE_ING.getCode());
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
//设置为已承保状态
|
|
|
insOrders.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
|
insOrders.setInsureTime(quoteVo.getSignDate());
|
|
|
@@ -538,8 +547,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
|
|
|
List<PtlAgreementProductCostsNew> costsNews = ptlAgreementProductCostsNewService.getByAgreementId(agreementProductQueryVo);
|
|
|
|
|
|
- if(costsNews.isEmpty())
|
|
|
- {
|
|
|
+ if (costsNews.isEmpty()) {
|
|
|
throw new SystemException("没有找到费用信息");
|
|
|
}
|
|
|
quoteVo.setJqSuperviseCostsProportion(new BigDecimal(costsNews.get(0).getJqCarCostsProportion()));
|
|
|
@@ -563,10 +571,10 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
insAreaCompany.setSyRenewal(quoteVo.getSyRenewal());
|
|
|
insAreaCompany.setScore(quoteVo.getScore());
|
|
|
//添加暂存处理 add by hxl 2024-07-10 0 暂存
|
|
|
- if(quoteVo.getStageFlag()==0){
|
|
|
+ if (quoteVo.getStageFlag() == 0) {
|
|
|
//设置为报价中
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.QUOTE_ING.getCode());
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
//设置为已承保状态
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
|
}
|
|
|
@@ -590,9 +598,9 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
insAreaCompany.setJypremium(quoteVo.getJypremium());
|
|
|
insAreaCompany.setTaxamount(quoteVo.getTaxamount());
|
|
|
insAreaCompany.setSumpremium(insAreaCompany.getJqpremium()
|
|
|
- .add(insAreaCompany.getSypremium())
|
|
|
- .add(insAreaCompany.getJypremium())
|
|
|
- .add(insAreaCompany.getTaxamount()));
|
|
|
+ .add(insAreaCompany.getSypremium())
|
|
|
+ .add(insAreaCompany.getJypremium())
|
|
|
+ .add(insAreaCompany.getTaxamount()));
|
|
|
|
|
|
insAreaCompany.setOperatorId(BaseController.getUser().getId());
|
|
|
insAreaCompany.setOperatorName(BaseController.getUser().getName());
|
|
|
@@ -608,7 +616,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
//保存费用比例
|
|
|
InsAreaCompanyExternalFee insAreaCompanyExternalFee = new InsAreaCompanyExternalFee();
|
|
|
insAreaCompanyExternalFee.setSubOrderNo(subOrderNo);
|
|
|
- if(quoteVo.getJqCostsProportion() != null) {
|
|
|
+ if (quoteVo.getJqCostsProportion() != null) {
|
|
|
if (quoteVo.getJqSuperviseCostsProportion().compareTo(quoteVo.getJqCostsProportion()) > 0) {
|
|
|
//总比例等于手续费比例
|
|
|
quoteVo.setJqSuperviseCostsProportion(quoteVo.getJqCostsProportion());
|
|
|
@@ -619,7 +627,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(quoteVo.getSyCostsProportion() != null) {
|
|
|
+ if (quoteVo.getSyCostsProportion() != null) {
|
|
|
if (quoteVo.getSySuperviseCostsProportion().compareTo(quoteVo.getSyCostsProportion()) >= 0) {
|
|
|
//总比例等于手续费比例
|
|
|
quoteVo.setSySuperviseCostsProportion(quoteVo.getSyCostsProportion());
|
|
|
@@ -630,7 +638,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(quoteVo.getNoCostsProportion() != null) {
|
|
|
+ if (quoteVo.getNoCostsProportion() != null) {
|
|
|
if (quoteVo.getNoSuperviseCostsProportion().compareTo(quoteVo.getNoCostsProportion()) >= 0) {
|
|
|
//总比例等于手续费比例
|
|
|
quoteVo.setNoSuperviseCostsProportion(quoteVo.getNoCostsProportion());
|
|
|
@@ -640,12 +648,12 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
quoteVo.setNoOtherCostsProportion(quoteVo.getNoCostsProportion().subtract(quoteVo.getNoSuperviseCostsProportion()));
|
|
|
}
|
|
|
}
|
|
|
- insAreaCompanyExternalFee.setJqSuperviseCostsProportion(quoteVo.getJqSuperviseCostsProportion()!=null ? quoteVo.getJqSuperviseCostsProportion() : new BigDecimal(0));
|
|
|
- insAreaCompanyExternalFee.setJqOtherCostsProportion(quoteVo.getJqOtherCostsProportion()!=null ? quoteVo.getJqOtherCostsProportion() : new BigDecimal(0));
|
|
|
- insAreaCompanyExternalFee.setSySuperviseCostsProportion(quoteVo.getSySuperviseCostsProportion()!=null ? quoteVo.getSySuperviseCostsProportion() : new BigDecimal(0));
|
|
|
- insAreaCompanyExternalFee.setSyOtherCostsProportion(quoteVo.getSyOtherCostsProportion()!=null ? quoteVo.getSyOtherCostsProportion() : new BigDecimal(0));
|
|
|
- insAreaCompanyExternalFee.setNoSuperviseCostsProportion(quoteVo.getNoSuperviseCostsProportion()!=null ? quoteVo.getNoSuperviseCostsProportion() : new BigDecimal(0));
|
|
|
- insAreaCompanyExternalFee.setNoOtherCostsProportion(quoteVo.getNoOtherCostsProportion()!=null ? quoteVo.getNoOtherCostsProportion() : new BigDecimal(0));
|
|
|
+ insAreaCompanyExternalFee.setJqSuperviseCostsProportion(quoteVo.getJqSuperviseCostsProportion() != null ? quoteVo.getJqSuperviseCostsProportion() : new BigDecimal(0));
|
|
|
+ insAreaCompanyExternalFee.setJqOtherCostsProportion(quoteVo.getJqOtherCostsProportion() != null ? quoteVo.getJqOtherCostsProportion() : new BigDecimal(0));
|
|
|
+ insAreaCompanyExternalFee.setSySuperviseCostsProportion(quoteVo.getSySuperviseCostsProportion() != null ? quoteVo.getSySuperviseCostsProportion() : new BigDecimal(0));
|
|
|
+ insAreaCompanyExternalFee.setSyOtherCostsProportion(quoteVo.getSyOtherCostsProportion() != null ? quoteVo.getSyOtherCostsProportion() : new BigDecimal(0));
|
|
|
+ insAreaCompanyExternalFee.setNoSuperviseCostsProportion(quoteVo.getNoSuperviseCostsProportion() != null ? quoteVo.getNoSuperviseCostsProportion() : new BigDecimal(0));
|
|
|
+ insAreaCompanyExternalFee.setNoOtherCostsProportion(quoteVo.getNoOtherCostsProportion() != null ? quoteVo.getNoOtherCostsProportion() : new BigDecimal(0));
|
|
|
|
|
|
this.insAreaCompanyExternalFeeService.save(insAreaCompanyExternalFee);
|
|
|
|
|
|
@@ -657,22 +665,21 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
List<InsAreaCompanyExternalPolicyVo> jqSignList = quoteVo.getJqSignList();
|
|
|
InsAreaCompanyExternalPolicy externalPolicy = new InsAreaCompanyExternalPolicy();
|
|
|
externalPolicy.setSubOrderNo(subOrderNo);
|
|
|
- if(!jqPolicyList.isEmpty()){
|
|
|
+ if (!jqPolicyList.isEmpty()) {
|
|
|
externalPolicy.setJqPolicy(jqPolicyList.get(0).getUrl());
|
|
|
}
|
|
|
- if(!syPolicyList.isEmpty()){
|
|
|
+ if (!syPolicyList.isEmpty()) {
|
|
|
externalPolicy.setSyPolicy(syPolicyList.get(0).getUrl());
|
|
|
}
|
|
|
- if(!noPolicyList.isEmpty()){
|
|
|
+ if (!noPolicyList.isEmpty()) {
|
|
|
externalPolicy.setNoPolicy(noPolicyList.get(0).getUrl());
|
|
|
}
|
|
|
- if(!jqSignList.isEmpty()){
|
|
|
+ if (!jqSignList.isEmpty()) {
|
|
|
externalPolicy.setJqSign(jqSignList.get(0).getUrl());
|
|
|
}
|
|
|
this.insAreaCompanyExternalPolicyService.save(externalPolicy);
|
|
|
|
|
|
|
|
|
-
|
|
|
costsNews.get(0).setJqCarCostsProportion(quoteVo.getJqSuperviseCostsProportion().toString());
|
|
|
costsNews.get(0).setJqCarOtherCostsProportion(quoteVo.getJqOtherCostsProportion().toString());
|
|
|
costsNews.get(0).setJqCostsProportion(quoteVo.getJqSuperviseCostsProportion().add(quoteVo.getJqOtherCostsProportion()).toString());
|
|
|
@@ -684,39 +691,41 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
costsNews.get(0).setNoCostsProportion(quoteVo.getNoSuperviseCostsProportion().add(quoteVo.getNoOtherCostsProportion()).toString());
|
|
|
|
|
|
//计算费用
|
|
|
- feeRuleSchemeNewService.calcCostsExternal(costsNews.get(0),insAreaCompany);
|
|
|
+ feeRuleSchemeNewService.calcCostsExternal(costsNews.get(0), insAreaCompany);
|
|
|
// add by hxl 2024-07-10 保存时查询审核表
|
|
|
- if(quoteVo.getStageFlag()==1){
|
|
|
+ if (quoteVo.getStageFlag() == 1) {
|
|
|
//审核表数据插入
|
|
|
- insFeeAuditService.saveDefaultInsFeeAuditAndHistory(insAreaCompany.getOrderno(), insAreaCompany.getId(), FeeAuditAuditstatus.UNREVICEWED.getCode(),null);
|
|
|
+ insFeeAuditService.saveDefaultInsFeeAuditAndHistory(insAreaCompany.getOrderno(), insAreaCompany.getId(), FeeAuditAuditstatus.UNREVICEWED.getCode(), null);
|
|
|
}
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 根据订单id 获取已承保的子订单信息
|
|
|
+ *
|
|
|
* @param orderno
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
public InsAreaCompany getUnderWrittenSubOrder(String orderno) {
|
|
|
LambdaQueryWrapper<InsAreaCompany> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
- queryWrapper.eq(InsAreaCompany::getOrderno,orderno);
|
|
|
- queryWrapper.eq(InsAreaCompany::getOrderstatus,InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
|
+ queryWrapper.eq(InsAreaCompany::getOrderno, orderno);
|
|
|
+ queryWrapper.eq(InsAreaCompany::getOrderstatus, InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
|
return this.getOne(queryWrapper);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 标注疑问订单
|
|
|
+ *
|
|
|
* @param problemOrderQueryVo
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
public boolean markProblemOrder(ProblemOrderQueryVo problemOrderQueryVo) {
|
|
|
LambdaQueryWrapper<InsAreaCompany> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
- queryWrapper.eq(InsAreaCompany::getId,problemOrderQueryVo.getSubOrder());
|
|
|
+ queryWrapper.eq(InsAreaCompany::getId, problemOrderQueryVo.getSubOrder());
|
|
|
InsAreaCompany insAreaCompany = this.getOne(queryWrapper);
|
|
|
- if(insAreaCompany == null){
|
|
|
+ if (insAreaCompany == null) {
|
|
|
throw new SystemException("订单不存在");
|
|
|
}
|
|
|
insAreaCompany.setProblemOrder(problemOrderQueryVo.getProblemOrder());
|
|
|
@@ -724,26 +733,27 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Page<InsAreaCompany> getRejectOrder(Page page,String userId,RejectPageQueryVo rejectPageQueryVo) {
|
|
|
- Page<InsAreaCompany> rejectOrder = baseMapper.getRejectOrder(page, userId,rejectPageQueryVo);
|
|
|
+ public Page<InsAreaCompany> getRejectOrder(Page page, String userId, RejectPageQueryVo rejectPageQueryVo) {
|
|
|
+ Page<InsAreaCompany> rejectOrder = baseMapper.getRejectOrder(page, userId, rejectPageQueryVo);
|
|
|
return rejectOrder;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 更新外部订单
|
|
|
+ *
|
|
|
* @param insOrdersEditingVo
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
@Transactional
|
|
|
public boolean updateOrderAndSubOrder(InsOrdersEditingVo insOrdersEditingVo) {
|
|
|
- if(StringUtils.isBlank(insOrdersEditingVo.getAgreementId())){
|
|
|
+ if (StringUtils.isBlank(insOrdersEditingVo.getAgreementId())) {
|
|
|
throw new SystemException("请选择协议!!");
|
|
|
}
|
|
|
//通过协议id 查询费用
|
|
|
PtlAgreement ptlAgreement = ptlAgreementService.getById(insOrdersEditingVo.getAgreementId());
|
|
|
InsOrders insOrders = new InsOrders();
|
|
|
- BeanUtils.copyProperties(insOrdersEditingVo,insOrders);
|
|
|
+ BeanUtils.copyProperties(insOrdersEditingVo, insOrders);
|
|
|
insOrders.setFrameno(insOrdersEditingVo.getCarinfo().getString("engineNo"));
|
|
|
insOrders.setLicenseno(insOrdersEditingVo.getCarinfo().getString("licenseNo"));
|
|
|
//更新创建时间
|
|
|
@@ -762,10 +772,10 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
insOrders.setProductid(insOrders.getProductid());
|
|
|
insOrders.setProduct(insOrders.getProduct());
|
|
|
//添加暂存处理 add by hxl 2024-07-10 0 暂存
|
|
|
- if(insOrdersEditingVo.getStageFlag()==0){
|
|
|
+ if (insOrdersEditingVo.getStageFlag() == 0) {
|
|
|
//设置为报价中
|
|
|
insOrders.setOrderstatus(InsOrderStatusEnum.QUOTE_ING.getCode());
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
//设置为已承保状态
|
|
|
insOrders.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
|
insOrders.setInsureTime(insOrdersEditingVo.getSignDate());
|
|
|
@@ -775,30 +785,30 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
//处理保单
|
|
|
InsAreaCompanyExternalPolicy externalPolicy = new InsAreaCompanyExternalPolicy();
|
|
|
externalPolicy.setSubOrderNo(subOrderNo);
|
|
|
- if(insOrdersEditingVo.getJqPolicyList() != null && !insOrdersEditingVo.getJqPolicyList().isEmpty()){
|
|
|
+ if (insOrdersEditingVo.getJqPolicyList() != null && !insOrdersEditingVo.getJqPolicyList().isEmpty()) {
|
|
|
externalPolicy.setJqPolicy(insOrdersEditingVo.getJqPolicyList().get(0).getUrl());
|
|
|
}
|
|
|
- if(insOrdersEditingVo.getSyPolicyList() != null && !insOrdersEditingVo.getSyPolicyList().isEmpty()){
|
|
|
+ if (insOrdersEditingVo.getSyPolicyList() != null && !insOrdersEditingVo.getSyPolicyList().isEmpty()) {
|
|
|
externalPolicy.setSyPolicy(insOrdersEditingVo.getSyPolicyList().get(0).getUrl());
|
|
|
}
|
|
|
- if(insOrdersEditingVo.getNoPolicyList() != null && !insOrdersEditingVo.getNoPolicyList().isEmpty()){
|
|
|
+ if (insOrdersEditingVo.getNoPolicyList() != null && !insOrdersEditingVo.getNoPolicyList().isEmpty()) {
|
|
|
externalPolicy.setNoPolicy(insOrdersEditingVo.getNoPolicyList().get(0).getUrl());
|
|
|
}
|
|
|
- if(insOrdersEditingVo.getJqSignList() != null && !insOrdersEditingVo.getJqSignList().isEmpty()){
|
|
|
+ if (insOrdersEditingVo.getJqSignList() != null && !insOrdersEditingVo.getJqSignList().isEmpty()) {
|
|
|
externalPolicy.setJqSign(insOrdersEditingVo.getJqSignList().get(0).getUrl());
|
|
|
}
|
|
|
insAreaCompanyExternalPolicyService.updateBySuOrderNo(externalPolicy);
|
|
|
|
|
|
//处理子订单重新赋值 add by hxl 2024-07-01 处理编辑数据不更新的bug
|
|
|
InsAreaCompany insAreaCompany = insOrdersEditingVo.getInsAreaCompanyList().get(0);
|
|
|
- insAreaCompany =getNewEntity(insAreaCompany,insOrdersEditingVo,ptlAgreement);
|
|
|
+ insAreaCompany = getNewEntity(insAreaCompany, insOrdersEditingVo, ptlAgreement);
|
|
|
this.updateById(insAreaCompany);
|
|
|
|
|
|
//更新轨迹表
|
|
|
- // if(insOrdersEditingVo.getStageFlag()==1){
|
|
|
- insOrdersTrackService.addingTrajectories(insAreaCompany);
|
|
|
- insOrdersService.updateByOrderStatus(insAreaCompany);
|
|
|
- // }
|
|
|
+ // if(insOrdersEditingVo.getStageFlag()==1){
|
|
|
+ insOrdersTrackService.addingTrajectories(insAreaCompany);
|
|
|
+ insOrdersService.updateByOrderStatus(insAreaCompany);
|
|
|
+ // }
|
|
|
//查找协议的费用
|
|
|
AgreementProductQueryVo agreementProductQueryVo = new AgreementProductQueryVo();
|
|
|
List<String> productId = new ArrayList<>();
|
|
|
@@ -809,11 +819,10 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
|
|
|
List<PtlAgreementProductCostsNew> costsNews = ptlAgreementProductCostsNewService.getByAgreementId(agreementProductQueryVo);
|
|
|
|
|
|
- if(costsNews.isEmpty())
|
|
|
- {
|
|
|
+ if (costsNews.isEmpty()) {
|
|
|
throw new SystemException("没有找到费用信息");
|
|
|
}
|
|
|
- BigDecimal jqSuperviseCostsProportion,sySuperviseCostsProportion,noSuperviseCostsProportion = new BigDecimal(0);
|
|
|
+ BigDecimal jqSuperviseCostsProportion, sySuperviseCostsProportion, noSuperviseCostsProportion = new BigDecimal(0);
|
|
|
jqSuperviseCostsProportion = (new BigDecimal(costsNews.get(0).getJqCarCostsProportion()));
|
|
|
sySuperviseCostsProportion = (new BigDecimal(costsNews.get(0).getSyCarCostsProportion()));
|
|
|
noSuperviseCostsProportion = (new BigDecimal(costsNews.get(0).getNoCarCostsProportion()));
|
|
|
@@ -821,7 +830,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
|
|
|
InsAreaCompanyExternalFee insAreaCompanyExternalFee = new InsAreaCompanyExternalFee();
|
|
|
insAreaCompanyExternalFee.setSubOrderNo(subOrderNo);
|
|
|
- if(insOrdersEditingVo.getJqCostsProportion() != null) {
|
|
|
+ if (insOrdersEditingVo.getJqCostsProportion() != null) {
|
|
|
if (jqSuperviseCostsProportion.compareTo(insOrdersEditingVo.getJqCostsProportion()) > 0) {
|
|
|
//总比例等于手续费比例
|
|
|
insAreaCompanyExternalFee.setJqSuperviseCostsProportion(insOrdersEditingVo.getJqCostsProportion());
|
|
|
@@ -833,7 +842,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(insOrdersEditingVo.getSyCostsProportion() != null) {
|
|
|
+ if (insOrdersEditingVo.getSyCostsProportion() != null) {
|
|
|
if (sySuperviseCostsProportion.compareTo(insOrdersEditingVo.getSyCostsProportion()) >= 0) {
|
|
|
//总比例等于手续费比例
|
|
|
insAreaCompanyExternalFee.setSySuperviseCostsProportion(insOrdersEditingVo.getSyCostsProportion());
|
|
|
@@ -845,7 +854,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(insOrdersEditingVo.getNoCostsProportion() != null) {
|
|
|
+ if (insOrdersEditingVo.getNoCostsProportion() != null) {
|
|
|
if (noSuperviseCostsProportion.compareTo(insOrdersEditingVo.getNoCostsProportion()) >= 0) {
|
|
|
//总比例等于手续费比例
|
|
|
insAreaCompanyExternalFee.setNoSuperviseCostsProportion(insOrdersEditingVo.getNoCostsProportion());
|
|
|
@@ -867,21 +876,22 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
costsNews.get(0).setNoCarOtherCostsProportion(insAreaCompanyExternalFee.getNoOtherCostsProportion().toString());
|
|
|
|
|
|
//计算费用
|
|
|
- feeRuleSchemeNewService.calcCostsExternal(costsNews.get(0),insAreaCompany);
|
|
|
+ feeRuleSchemeNewService.calcCostsExternal(costsNews.get(0), insAreaCompany);
|
|
|
// add by hxl 2024-07-10 保存时查询审核表
|
|
|
- if(insOrdersEditingVo.getStageFlag()==1){
|
|
|
+ if (insOrdersEditingVo.getStageFlag() == 1) {
|
|
|
//重新进入审核状态
|
|
|
- insFeeAuditService.saveDefaultInsFeeAuditAndHistory(insAreaCompany.getOrderno(), insAreaCompany.getId(), FeeAuditAuditstatus.UNREVICEWED.getCode(),null);
|
|
|
+ insFeeAuditService.saveDefaultInsFeeAuditAndHistory(insAreaCompany.getOrderno(), insAreaCompany.getId(), FeeAuditAuditstatus.UNREVICEWED.getCode(), null);
|
|
|
}
|
|
|
return true;
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
- * @version
|
|
|
- * @author: hxl
|
|
|
- * @Date: 2024/7/11 17:28
|
|
|
- * @Description: 重新赋值更新
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2024/7/11 17:28
|
|
|
+ * @Description: 重新赋值更新
|
|
|
*/
|
|
|
- private InsAreaCompany getNewEntity(InsAreaCompany insAreaCompany, InsOrdersEditingVo insOrdersEditingVo,PtlAgreement ptlAgreement) {
|
|
|
+ private InsAreaCompany getNewEntity(InsAreaCompany insAreaCompany, InsOrdersEditingVo insOrdersEditingVo, PtlAgreement ptlAgreement) {
|
|
|
insAreaCompany.setAgreementId(insOrdersEditingVo.getAgreementId());
|
|
|
//设置时间
|
|
|
insAreaCompany.setJqStartDate(insOrdersEditingVo.getJqstartdate());
|
|
|
@@ -893,10 +903,10 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
insAreaCompany.setSyRenewal(insOrdersEditingVo.getSyRenewal());
|
|
|
insAreaCompany.setScore(insOrdersEditingVo.getScore());
|
|
|
//添加暂存处理 add by hxl 2024-07-10 0 暂存
|
|
|
- if(insOrdersEditingVo.getStageFlag()==0){
|
|
|
+ if (insOrdersEditingVo.getStageFlag() == 0) {
|
|
|
//设置为报价中
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.QUOTE_ING.getCode());
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
//设置为已承保状态
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
|
}
|
|
|
@@ -913,10 +923,10 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
insAreaCompany.setRiskinfo(insOrdersEditingVo.getRisk());
|
|
|
insAreaCompany.setKindinfo(insOrdersEditingVo.getKing());
|
|
|
//设置保费
|
|
|
- insAreaCompany.setJqpremium(StringUtils.isNotBlank(insOrdersEditingVo.getJqpremium())?new BigDecimal(insOrdersEditingVo.getJqpremium()):BigDecimal.ZERO);
|
|
|
- insAreaCompany.setSypremium(StringUtils.isNotBlank(insOrdersEditingVo.getSypremium())?new BigDecimal(insOrdersEditingVo.getSypremium()):BigDecimal.ZERO);
|
|
|
- insAreaCompany.setJypremium(StringUtils.isNotBlank(insOrdersEditingVo.getJypremium())?new BigDecimal(insOrdersEditingVo.getJypremium()):BigDecimal.ZERO);
|
|
|
- insAreaCompany.setTaxamount(StringUtils.isNotBlank(insOrdersEditingVo.getTaxamount())?new BigDecimal(insOrdersEditingVo.getTaxamount()):BigDecimal.ZERO);
|
|
|
+ insAreaCompany.setJqpremium(StringUtils.isNotBlank(insOrdersEditingVo.getJqpremium()) ? new BigDecimal(insOrdersEditingVo.getJqpremium()) : BigDecimal.ZERO);
|
|
|
+ insAreaCompany.setSypremium(StringUtils.isNotBlank(insOrdersEditingVo.getSypremium()) ? new BigDecimal(insOrdersEditingVo.getSypremium()) : BigDecimal.ZERO);
|
|
|
+ insAreaCompany.setJypremium(StringUtils.isNotBlank(insOrdersEditingVo.getJypremium()) ? new BigDecimal(insOrdersEditingVo.getJypremium()) : BigDecimal.ZERO);
|
|
|
+ insAreaCompany.setTaxamount(StringUtils.isNotBlank(insOrdersEditingVo.getTaxamount()) ? new BigDecimal(insOrdersEditingVo.getTaxamount()) : BigDecimal.ZERO);
|
|
|
insAreaCompany.setSumpremium(insAreaCompany.getJqpremium()
|
|
|
.add(insAreaCompany.getSypremium())
|
|
|
.add(insAreaCompany.getJypremium())
|
|
|
@@ -940,20 +950,21 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @version
|
|
|
- * @author: hxl
|
|
|
- * @Date: 2024/7/10 17:41
|
|
|
- * @Description: 获取暂存订单的数据
|
|
|
+ * @version
|
|
|
+ * @author: hxl
|
|
|
+ * @Date: 2024/7/10 17:41
|
|
|
+ * @Description: 获取暂存订单的数据
|
|
|
*/
|
|
|
@Override
|
|
|
- public Page<InsAreaCompany> getStageOrder(Page page, String userId,RejectPageQueryVo rejectPageQueryVo) {
|
|
|
- return baseMapper.getStageOrder(page, userId,rejectPageQueryVo);
|
|
|
+ public Page<InsAreaCompany> getStageOrder(Page page, String userId, RejectPageQueryVo rejectPageQueryVo) {
|
|
|
+ return baseMapper.getStageOrder(page, userId, rejectPageQueryVo);
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
- * @version
|
|
|
- * @author: whp
|
|
|
- * @Date: 2024/8/08
|
|
|
- * @Description: 控制台出单人力
|
|
|
+ * @version
|
|
|
+ * @author: whp
|
|
|
+ * @Date: 2024/8/08
|
|
|
+ * @Description: 控制台出单人力
|
|
|
*/
|
|
|
@Override
|
|
|
public QxFrontlineAgentDto getOrderManpower(List<String> ids) {
|
|
|
@@ -962,7 +973,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
|
|
|
@Override
|
|
|
public QxFrontlineAgentDto getOrderManpowerByUserId(String id) {
|
|
|
- return baseMapper.getOrderManpowerByUserId(id);
|
|
|
+ return baseMapper.getOrderManpowerByUserId(id);
|
|
|
}
|
|
|
|
|
|
}
|