Skip to content

fix:修复通过日期字段查询模型实例 --bug=148529573 【CMDB】模型通过日期字段查询报错#8583

Open
elizabevil wants to merge 1 commit intoTencentBlueKing:feature-tenantfrom
elizabevil:feature-tenant-searchByDate
Open

fix:修复通过日期字段查询模型实例 --bug=148529573 【CMDB】模型通过日期字段查询报错#8583
elizabevil wants to merge 1 commit intoTencentBlueKing:feature-tenantfrom
elizabevil:feature-tenant-searchByDate

Conversation

@elizabevil
Copy link
Contributor

@elizabevil elizabevil commented Dec 30, 2025

修复的问题:

  • 模型->通过日期字段查询 过滤校验失败

修复的方式:

  • 放开IsTime,ValidateDatetimeType 限制
  • mongo查询参数,区分dataOnly与其它,前者直接使用string参数,后者走go time.Time转换逻辑

@elizabevil elizabevil force-pushed the feature-tenant-searchByDate branch from 569be47 to c78b9d7 Compare December 30, 2025 09:34
@elizabevil elizabevil force-pushed the feature-tenant-searchByDate branch 2 times, most recently from 39807a9 to 3d51cea Compare January 27, 2026 08:34
@elizabevil elizabevil force-pushed the feature-tenant-searchByDate branch from 3d51cea to 924ffcf Compare March 9, 2026 07:04
@elizabevil elizabevil force-pushed the feature-tenant-searchByDate branch from 924ffcf to 3ecce74 Compare March 9, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants