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