Skip to content

ToCacheList方法,Key的获取方法有BUG #176

@willtoto

Description

@willtoto

ToCacheList方法,Key的获取方法有BUG
var json = _sysResourceContract.VIPGoodss.ToCacheList<VIPGoods, VIPGoodsListOutputDto>(predicate);

读取缓存数据的时候,当其他参数全相同时,只有某一个参数的值变动,会读取缓存里面的数据,如下参数,Value=11改为21,读取的缓存key相同,导致返回的数据错误
{"Rules":[{"Field":"VIPType","Operate":3,"Value":21}],"Operate":1,"Groups":[],"Level":1}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions