easy-es
easy-es copied to clipboard
Mapper中写default接口实现不能注入调用
`public interface DocumentMapper extends BaseMapper<User> {
default Long selectRegisterCountByBotId(String botId) { List<Integer> status = Arrays.asList(CommonStringConstant.Login.NormalStatus, CommonStringConstant.Login.ApplyStatus, CommonStringConstant.Login.SuccessStatus, CommonStringConstant.Login.FailedStatus); return selectCount(new LambdaEsQueryWrapper<User>() .in(User::getStatus, status) .eq(User::getBotId, botId)); }
}`
如上,能否支持这种编码方式。