Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【缺陷】部分查询接口设置的时间条件传到coreserver层后变成string类型导致数据库无法查询的问题 #7714

Open
bd-xiaowang opened this issue Jan 3, 2024 · 0 comments
Assignees
Labels
pending 待定或等待被处理,标记状态

Comments

@bd-xiaowang
Copy link
Collaborator

bd-xiaowang commented Jan 3, 2024

对应issue:#7683

根因:

  • 如下list_business_set 接口示例:在设置了时间条件进行查询时,如果在topo层就将时间条件转化了的话,传到core层就变成了一个时间字符串所以数据库不认这个条件,导致数据查询不出来,如果传到core层还是time.Time类型的话就能查出来,是传递到这里进行解析的时候把原来的time.Time类型变成了字符串类型;
    293916054-287b97d2-30e8-44a1-9809-fadbeafb175e

企业微信截图_1704280892912

  • 目前list_business_set 接口只是临时解决该问题,后续还需要优化;

  • 其它接口可能也有相应问题,后续需要排期进行进行进一步排查;

@bd-xiaowang bd-xiaowang self-assigned this Jan 3, 2024
@bd-xiaowang bd-xiaowang added the pending 待定或等待被处理,标记状态 label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending 待定或等待被处理,标记状态
Projects
None yet
Development

No branches or pull requests

1 participant