Open wangyuanchen opened 10 months ago
`public interface DocumentMapper extends BaseMapper {
default Long selectRegisterCountByBotId(String botId) { List status = Arrays.asList(CommonStringConstant.Login.NormalStatus, CommonStringConstant.Login.ApplyStatus, CommonStringConstant.Login.SuccessStatus, CommonStringConstant.Login.FailedStatus); return selectCount(new LambdaEsQueryWrapper() .in(User::getStatus, status) .eq(User::getBotId, botId)); }
}`
如上,能否支持这种编码方式。
`public interface DocumentMapper extends BaseMapper {
default Long selectRegisterCountByBotId(String botId) { List status = Arrays.asList(CommonStringConstant.Login.NormalStatus, CommonStringConstant.Login.ApplyStatus,
CommonStringConstant.Login.SuccessStatus, CommonStringConstant.Login.FailedStatus);
return selectCount(new LambdaEsQueryWrapper()
.in(User::getStatus, status)
.eq(User::getBotId, botId));
}
}`
如上,能否支持这种编码方式。