automvc / bee

Bee is an AI, easy and high efficiency ORM framework,support JDBC,Cassandra,Mongodb,Sharding,Android,HarmonyOS.
https://github.com/automvc/bee
Apache License 2.0
612 stars 60 forks source link

是否能够支持,PrdBdall::getName 这样的条件去查询,目前只能写死字符串,后期维护起来会有难度。 #95

Closed ye21st closed 6 months ago

ye21st commented 8 months ago
Condition condition1 = new ConditionImpl();
condition1.op("djh", Op.in, djhs);
改为
condition1.op(PrdBdall::getName, Op.in, djhs);
automvc commented 7 months ago

这是一个很好的建议. 在之前的版本中,SuidRichExt已有类似实现;
你提的这个建议,将在2.4.0添加实现. 敬请关注.

automvc commented 6 months ago

V2.4.0.4 已实现