From 238ec1baf75256a593d3969f2c3176fbc51f5119 Mon Sep 17 00:00:00 2001 From: Yen Date: Tue, 11 Jun 2024 11:29:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8D=8F=E8=AE=AE=E7=B1=BB=E5=8F=91?= =?UTF-8?q?=E8=B5=B7=EF=BC=8C=E6=8B=93=E5=B1=95=E9=94=99=E8=AF=AF=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tbs/service/impl/TbsCostApplyServiceImpl.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/com/qs/serve/modules/tbs/service/impl/TbsCostApplyServiceImpl.java b/src/main/java/com/qs/serve/modules/tbs/service/impl/TbsCostApplyServiceImpl.java index 22a56e8e..a88f51eb 100644 --- a/src/main/java/com/qs/serve/modules/tbs/service/impl/TbsCostApplyServiceImpl.java +++ b/src/main/java/com/qs/serve/modules/tbs/service/impl/TbsCostApplyServiceImpl.java @@ -1,5 +1,7 @@ package com.qs.serve.modules.tbs.service.impl; +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; @@ -698,6 +700,14 @@ public class TbsCostApplyServiceImpl extends ServiceImpl45){ flowId = flowId.substring(0,40); } + // 协议类发起 + if(newWay && tbsCostApply.getContractFlag().equals(1)){ + if(flowIdResult.getMsg()!=null && flowIdResult.getMsg().length()>45){ + log.error(flowIdResult.getMsg()); + JSONObject object = JSON.parseObject(flowIdResult.getMsg()); + Assert.throwEx("流程发起被拦截了"); + } + } String formId = null; R formIdResult = seeYonService.getFormId(templateCode,tbsCostApply.getId()); if(formIdResult.getStatus()==200){