Browse Source

fix--案件核查修改下发状态

master
parent
commit
ef9c3ceb1d
  1. 2
      src/main/java/com/biutag/supervision/service/complaintCollection/ComplaintCollectionServiceImpl.java

2
src/main/java/com/biutag/supervision/service/complaintCollection/ComplaintCollectionServiceImpl.java

@ -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("匹配到多条案件核查数据,禁止更新");

Loading…
Cancel
Save