|
|
|
@ -480,7 +480,7 @@ public class ComplaintCollectionServiceImpl implements ComplaintCollectionServic |
|
|
|
queryWrapper.eq(DataCaseVerif::getOriginId, request.getOriginId()); |
|
|
|
queryWrapper.eq(DataCaseVerif::getOriginId, request.getOriginId()); |
|
|
|
long count = dataCaseVerifService.count(queryWrapper); |
|
|
|
long count = dataCaseVerifService.count(queryWrapper); |
|
|
|
if (count == 0) { |
|
|
|
if (count == 0) { |
|
|
|
throw new RuntimeException("未找到对应案件核查数据"); |
|
|
|
throw new RuntimeException("台账中未找到对应案件核查数据"); |
|
|
|
} |
|
|
|
} |
|
|
|
if (count > 1) { |
|
|
|
if (count > 1) { |
|
|
|
throw new RuntimeException("匹配到多条案件核查数据,禁止更新"); |
|
|
|
throw new RuntimeException("匹配到多条案件核查数据,禁止更新"); |
|
|
|
|