Commit 729bdd96 by libin

优化验证全国命案库管辖所代码功能。

parent 95f732bb
......@@ -66,7 +66,13 @@ public class StAsjXxtqService {
private boolean validateGxsdw(String xxdjdw) {
QueryWrapper queryWrapper = new QueryWrapper();
queryWrapper.eq("CODE",xxdjdw);
if(codeGxsService.count(queryWrapper)<=0){
int count = 0;
try {
count = codeGxsService.count(queryWrapper);
} catch (Exception e) {
e.printStackTrace();
}
if(count<=0){
return false;
}else{
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment