Lei Zhu
Lei Zhu
说的是没找到jar包,先编译出jar包在build镜像
IDEA添加lombok了吗?
用拼音zheng第一个就是,但是zhen里面就没有
> Example example = new Example.Builder(CbVerifyConfig.class).where(WeekendSqls.custom() > .andIn(CbVerifyConfig::getVerifyCode, cbVerifyConfigQuery.getInVerifyCode()) > .andIn(CbVerifyConfig::getVirtualComcode, cbVerifyConfigQuery.getInVirtualComcode()) > .andEqualTo(CbVerifyConfig::getRiskCode, cbVerifyConfigQuery.getEqualRiskCode()) > .andEqualTo(CbVerifyConfig::getClassCode, cbVerifyConfigQuery.getEqualClassCode()) > ) > .orderByAsc("verifyCode"); > > 或者 > > Example example1 =...
@DevPJ9 Can I create a PR to fix it?
大致看了一下里面特意去掉了前缀下划线,不知道为啥,应该不是bug,只是大致看了一下,没做深入测试
又看了一下fastjson是根据get方法确定属性名的,这里你用了lombok会生成一个get_name方法,他会把下划线去掉应该是为了兼容以前的命名方式,如果你手动把get_name改成getOther就会生成other的key值,规则就是去掉get然后把首字母小写,正宗方式应该用JSONField注解。此为非bug,是你的使用方式不对。
> Good caught. A trivial suggestion. Thanks for your suggestion, the code has been modified.