IsJson 搜索问题 返回
SqlSugar
老数据
3
2097
悬赏:0 飞吻
大神们,打了特性标签的( [SqlSugar.SugarColumn(IsJson = true)])的字段,怎么加入搜索中呢 ?
Model:

jsonModel:

where筛选:
Expression<Func<BmsMatrrialBarcodejoinAll, bool>> where = x => !x.IsDelete;
where = where.And(x =>x.GoodsItem.Any(n=>n.BarCode==barcode) ); //barcode前台传入值
报错:
热忱回答(3)
-
fate stay night VIP0
2020/11/12不支持这个对象用来查询
0 回复 -
fate stay night VIP0
2020/11/12你可以使用自定义sqlfunc
0 回复 -
只争朝夕 VIP0
2020/11/12@fate stay night:好的,谢谢大神
0 回复