mybatis-plus条件构造器泛型问题
2019-05-23 本文已影响0人
墨色尘埃
mybatis-plus中条件构造器泛型问题
new EntityWrapper<FileModel>()
model中有需要过滤的条件
new EntityWrapper<>(model)

计算总条数
service.count(new EntityWrapper<AuthTicket>().in("eid", idList))
new EntityWrapper<FileModel>()
model中有需要过滤的条件
new EntityWrapper<>(model)
service.count(new EntityWrapper<AuthTicket>().in("eid", idList))