修复重新识别操作按钮bug

devA
yuxue 5 years ago
parent 63ee2265ae
commit 21157ad252

@ -88,14 +88,12 @@ public class PlateServiceImpl implements PlateService {
plateFileMapper.insertSelective(e); plateFileMapper.insertSelective(e);
} }
reRecognise = true; reRecognise = true;
} else {
e = list.get(0);
} }
if(reRecognise) { if(reRecognise) {
doRecognise(f, e, 0); // 重新识别 doRecognise(f, e, 0); // 重新识别
}
if(null == e) {
e = list.get(0);
} else {
e = plateFileMapper.selectByPrimaryKey(e.getId()); // 重新识别之后,重新获取一下数据 e = plateFileMapper.selectByPrimaryKey(e.getId()); // 重新识别之后,重新获取一下数据
} }

Loading…
Cancel
Save