We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.5.7
当前查询条件:
// 查询条件:联系人 if (StringUtils.isNotEmpty(req.getContactName()) && !SqlInjectionUtils.check(req.getContactName())) { // 阿弥陀佛,罪过罪过 String sql_contact = String.format( "SELECT clue_id FROM cl_clue_contact WHERE `name` LIKE '%%%s%%'", req.getContactName()); lqwr.inSql(ClClueInfoEntity::getId, sql_contact); }
期望查询条件:
// 查询条件:联系人 if (StringUtils.isNotEmpty(req.getContactName())) { LambdaQueryWrapper<ClClueContactEntity> lqwr_contact = new LambdaQueryWrapper<>(); lqwr_contact.select(ClClueContactEntity::getClueId); lqwr_contact.like(ClClueContactEntity::getName, "%" + req.getContactName() + "%"); lqwr.inSql(ClClueInfoEntity::getId, lqwr_contact); }
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当前程序版本
v3.5.7
功能改进
当前查询条件:
期望查询条件:
参考资料
No response
The text was updated successfully, but these errors were encountered: