|
|
@@ -104,14 +104,14 @@ public class OrderCochainServiceImpl extends AbstractServiceImpl<IOrderCochainDa
|
|
|
// 业务编码
|
|
|
String businessNo = cochainEntity.getBusinessNo();
|
|
|
// 这里必须先判断公证书已经生成然后,再上传区块连
|
|
|
- QueryWrapper<OrderFileEntity> orderFileWrapper = new QueryWrapper<>();
|
|
|
- orderFileWrapper.eq("business_no", businessNo);
|
|
|
- orderFileWrapper.eq("code", 10);
|
|
|
+// QueryWrapper<OrderFileEntity> orderFileWrapper = new QueryWrapper<>();
|
|
|
+// orderFileWrapper.eq("business_no", businessNo);
|
|
|
+// orderFileWrapper.eq("code", 10);
|
|
|
// 这里处理,如果没有盖章的,就做任何处理
|
|
|
- OrderFileEntity notarySigned = orderFileMapper.selectOne(orderFileWrapper);
|
|
|
- if (notarySigned == null || StringUtils.isEmpty(notarySigned.getSignedPdfUrl())) {
|
|
|
- continue;
|
|
|
- }
|
|
|
+// OrderFileEntity notarySigned = orderFileMapper.selectOne(orderFileWrapper);
|
|
|
+// if (notarySigned == null || StringUtils.isEmpty(notarySigned.getSignedPdfUrl())) {
|
|
|
+// continue;
|
|
|
+// }
|
|
|
initCochainPath(businessNo);
|
|
|
List<File> zipList = new ArrayList<>();
|
|
|
QueryWrapper<ContractOrderEntity> orderqw = new QueryWrapper<>();
|
|
|
@@ -149,6 +149,7 @@ public class OrderCochainServiceImpl extends AbstractServiceImpl<IOrderCochainDa
|
|
|
// 带有盖章的pdf
|
|
|
QueryWrapper<OrderFileEntity> wrapper = new QueryWrapper<>();
|
|
|
wrapper.eq("business_no", businessNo);
|
|
|
+ wrapper.notIn("code", 10);
|
|
|
// 这里处理,如果没有盖章的就把签名的pdf上传
|
|
|
List<OrderFileEntity> orderFiles = orderFileMapper.selectList(wrapper);
|
|
|
Map<String, Integer> count = new HashMap<>();
|