Skip to content

Commit

Permalink
Merge pull request #2216 from jsonwan/github_fix/whiteip
Browse files Browse the repository at this point in the history
fix: IP白名单生效业务被归档后,白名单总条数不准确 #2215
  • Loading branch information
wangyu096 authored Jul 12, 2023
2 parents dab5b71 + 58062c3 commit e79892b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ private Long countWhiteIPRecordByConditions(DSLContext dslContext, List<Conditio
.leftJoin(tWhiteIPActionScope).on(tWhiteIPRecord.ID.eq(tWhiteIPActionScope.RECORD_ID))
.leftJoin(tActionScope).on(tWhiteIPActionScope.ACTION_SCOPE_ID.eq(tActionScope.ID))
.join(tWhiteIpAppRel).on(tWhiteIPRecord.ID.eq(tWhiteIpAppRel.RECORD_ID))
.join(tApplication).on(tWhiteIpAppRel.APP_ID.eq(tApplication.APP_ID.cast(Long.class)))
.leftJoin(tApplication).on(tWhiteIpAppRel.APP_ID.eq(tApplication.APP_ID.cast(Long.class)))
.where(conditions);
return query.fetchOne(0, Long.class);
}
Expand Down

0 comments on commit e79892b

Please sign in to comment.