修改进件接口

This commit is contained in:
韩鹏辉 2023-06-15 10:32:21 +08:00
parent b1655b7f56
commit 0e926adf3d
1 changed files with 10 additions and 1 deletions

View File

@ -169,6 +169,15 @@ public class LaKalaInterfaceImpl {
MsgException.checkNull(idCard,"商户基本信息不完整");
MerchantChannelStatus mcs = mcsService.getByMerchantCodeNoChannel(merchantBaseInfo.getMerchantCode());
if(ObjectUtil.isEmpty(mcs)){
log.info("审核失败,重新审核数据:{}",merchantBaseInfo.getMerchantCode());
QueryWrapper<MerchantChannelStatus> queryWrapper=new QueryWrapper<>();
queryWrapper.eq("merchantCode",merchantBaseInfo.getMerchantCode());
queryWrapper.eq("channel","5");
queryWrapper.eq("status",2);
mcs=merchantChannelStatusMapper.selectOne(queryWrapper);
}
String status=mcs.getStatus();
String thirdStatus=mcs.getThirdStatus();
MsgException.checkNull(mcs,"商户未提交审核");
@ -210,7 +219,7 @@ public class LaKalaInterfaceImpl {
startSb.append(merchantBaseInfo.getBussAuthStartTime());
}
if(ObjectUtil.isEmpty(merchantBaseInfo.getBuslicType()) ||"长期".equals(merchantBaseInfo.getBuslicType())){
if(ObjectUtil.isEmpty(merchantBaseInfo.getBussAuthEndTime()) ||"长期".equals(merchantBaseInfo.getBuslicType())){
endSb.append("2099-12-31");
}else {
if(merchantBaseInfo.getBussAuthEndTime().contains("")){