This commit is contained in:
lihao 2025-08-13 15:45:02 +08:00
parent b93cbb0ec4
commit 79c12ce8c8
1 changed files with 6 additions and 6 deletions

View File

@ -157,19 +157,19 @@ public class QcconclusionRestResource extends QcBaseRestResource {
if (bvo == null) { if (bvo == null) {
continue; continue;
} }
// 校验BVO的crowno是否为必填不为null // 校验BVO的reportbill_b是否为必填不为null
String bvoCrowno = bvo.getCrowno(); String bvoCrowno = bvo.getPk_reportbill_b();
if (bvoCrowno == null) { if (bvoCrowno == null) {
continue; continue;
} }
for (Map<String, Object> childMap : mapList) { for (Map<String, Object> childMap : mapList) {
// 校验childMap的crowno是否为必填存在且不为null // 校验childMap的reportbill_b是否为必填存在且不为null
if (childMap == null || !childMap.containsKey("crowno") || childMap.get("crowno") == null) { if (childMap == null || !childMap.containsKey("reportbill_b") || childMap.get("reportbill_b") == null) {
continue; continue;
} }
// 比较crowno是否匹配 // 比较reportbill_b是否匹配
if (!bvoCrowno.equals(childMap.get("crowno"))) { if (!bvoCrowno.equals(childMap.get("reportbill_b"))) {
continue; continue;
} }