Skip to content

Commit

Permalink
feat(dbm-services): 资源池统计视图相关接口 TencentBlueKing#6160
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Sep 29, 2024
1 parent 713f37c commit 0e97987
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ func (r ResourDistributionParam) dbFilter(db *gorm.DB) (err error) {
if len(r.SubZoneIds) > 0 {
db.Where("sub_zone_id in (?)", r.SubZoneIds)
}

db.Where("dedicated_biz = ? ", r.ForBiz)

if lo.IsNotEmpty(r.SpecParam.DbType) {
db.Where("rs_type = ?", r.SpecParam.DbType)
}
Expand Down

0 comments on commit 0e97987

Please sign in to comment.