|
|
@ -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 ServiceImpl<TbsCostApplyMapper,TbsC |
|
|
|
if(flowId!=null&&flowId.length()>45){ |
|
|
|
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<String> formIdResult = seeYonService.getFormId(templateCode,tbsCostApply.getId()); |
|
|
|
if(formIdResult.getStatus()==200){ |
|
|
|