chenr 5 ماه پیش
والد
کامیت
f1865d0185

+ 7 - 1
blade-service/blade-business/src/main/java/org/springblade/business/controller/EVisaTaskCheckController.java

@@ -355,10 +355,16 @@ public class EVisaTaskCheckController {
         if (StringUtils.isBlank(tableOwner)) {
             tableOwner = json.getString("classifyType"); //1 施工方  2监理  3 业主
         }
+        Long contractId=0L;
+        if(json.getLong("contractIdRelation")!=null){
+            contractId=json.getLong("contractIdRelation");
+        }else {
+            contractId=json.getLong("contractId");
+        }
         //查询当前节点的PDF
         InformationQuery node = informationQueryService.getOne(new LambdaQueryWrapper<InformationQuery>()
                 .eq(InformationQuery::getWbsId, json.getString("nodeId"))
-                .eq(InformationQuery::getContractId, json.getLong("contractId"))
+                .eq(InformationQuery::getContractId, contractId)
                 .eq(InformationQuery::getClassify, tableOwner));
 
         if (node == null || StringUtils.isBlank(node.getPdfUrl())) {