Commit 08e6c2d4 authored by 麻笑宇's avatar 麻笑宇

refactor(amos-boot-module-statistics): 调整证书查询逻辑

- 将 queryCertNo 方法的循环次数从 2次增加到 3 次 - 将 queryExpiryDate 方法的循环次数从 2次增加到 3次
parent 026ced37
......@@ -1740,7 +1740,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
public JSONArray queryCertNo() {
JSONArray certNoData = new JSONArray();
for (int i = 0; i < 2; i++) {
for (int i = 0; i < 3; i++) {
JSONObject object = new JSONObject();
if (0 == i) {
object.put("key", "2");
......@@ -1763,7 +1763,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
public JSONArray queryExpiryDate() {
//资质状态
JSONArray permissionStatus = new JSONArray();
for (int i = 0; i < 2; i++) {
for (int i = 0; i < 3; i++) {
JSONObject object = new JSONObject();
if (0 == i) {
object.put("key", "overdue");
......
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