|
|
@@ -24,6 +24,7 @@ import com.jzg.commons.entity.quote.vo.aggregated.QuoteEchoVo;
|
|
|
import com.jzg.commons.entity.rights.po.InsOrderRights;
|
|
|
import com.jzg.commons.entity.rights.po.InsOrderRightsPackage;
|
|
|
import com.jzg.commons.entity.vo.*;
|
|
|
+import com.jzg.commons.exception.ServiceException;
|
|
|
import com.jzg.commons.exception.SystemException;
|
|
|
import com.jzg.commons.util.AssertionUtils;
|
|
|
import com.jzg.commons.util.PDFUtil;
|
|
|
@@ -62,7 +63,7 @@ import java.util.concurrent.TimeUnit;
|
|
|
/**
|
|
|
* @author dongxin
|
|
|
* @description 针对表【ins_fee_audit(费用审核表)】的数据库操作Service实现
|
|
|
-* @createDate 2025-07-02 14:35:50
|
|
|
+* @date 2025-07-02 14:35:50
|
|
|
*/
|
|
|
@Service
|
|
|
@RequiredArgsConstructor
|
|
|
@@ -122,7 +123,7 @@ public class InsFeeAuditServiceImpl extends ServiceImpl<InsFeeAuditMapper, InsFe
|
|
|
|
|
|
@Override
|
|
|
public Page<FeeAuditVo> queryPage(FeeAuditParam param) {
|
|
|
- log.info("订单审核-任务中心,查询待审核任务。 param=[{}]", JSONUtil.toJsonStr(param));
|
|
|
+ log.info("订单审核-任务中心,查询待审核任务。param=[{}]", JSONUtil.toJsonStr(param));
|
|
|
// 获取选中的保险公司条件
|
|
|
String companyId = param.getCompanyId();
|
|
|
if(StringUtils.isNotBlank(companyId)){
|
|
|
@@ -214,6 +215,7 @@ public class InsFeeAuditServiceImpl extends ServiceImpl<InsFeeAuditMapper, InsFe
|
|
|
|
|
|
@Override
|
|
|
public QuoteEchoVo auditInfo(String orderNo) {
|
|
|
+ //险种和订单类型以及业务员对应的管理员
|
|
|
log.info("查看订单审核详情:orderNo=[{}]",JSONUtil.toJsonStr(orderNo));
|
|
|
QuoteEchoVo detailVo = insOrdersService.getOrderDetail(orderNo);
|
|
|
log.debug("查看订单审核详情:orderNo=[{}], detailVo=[{}]",orderNo, JSONUtil.toJsonStr(detailVo));
|
|
|
@@ -347,7 +349,16 @@ public class InsFeeAuditServiceImpl extends ServiceImpl<InsFeeAuditMapper, InsFe
|
|
|
|
|
|
@Override
|
|
|
public void verifyOrder(VerifyOrderParam param) {
|
|
|
+ log.info("审核订单. param=[{}]", JSONUtil.toJsonStr(param));
|
|
|
InsFeeAudit audit = this.getById(param.getOrderNo());
|
|
|
+ if(audit == null){
|
|
|
+ throw new ServiceException("要审核的订单不存在");
|
|
|
+ }
|
|
|
+ // modify by lipf 2026年5月16日11:44:07 疑问订单无法直接审核通过
|
|
|
+ if(audit.getIsProblem() == 1){
|
|
|
+ log.info("订单号为[{}]的订单为疑问订单,无法直接审核通过",param.getOrderNo());
|
|
|
+ throw new ServiceException("疑问订单无法直接审核通过,请先取消疑问");
|
|
|
+ }
|
|
|
InsOrders orders = insOrdersService.getById(audit.getOrderNo());
|
|
|
if(audit.getAuditStatus() > 0){
|
|
|
AssertionUtils.isFail(true, "订单已审核刷新订单详情页!");
|