This commit is contained in:
parent
b93cbb0ec4
commit
79c12ce8c8
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue