|
|
|
@ -47,7 +47,9 @@ public class ExtIndexController extends AbstractController { |
|
|
|
|
if (gfshList.size() > 0) { |
|
|
|
|
DynamicContextHolder.push(getUserInfo().getDbName() + DbConstant.BUSINESS_READ); |
|
|
|
|
Integer orgNum = indexStatisticsService.getOrgType(gfshList); |
|
|
|
|
log.info("查询到的数量为:{}",orgNum); |
|
|
|
|
if (orgNum != null && orgNum > 0) { |
|
|
|
|
log.info("查询数量不为空"); |
|
|
|
|
return ResponseEntity.ok(R.ok().put("data", "1")); |
|
|
|
|
} |
|
|
|
|
return ResponseEntity.ok(R.ok().put("data", "0")); |
|
|
|
|