This commit is contained in:
zhouwentao 2024-06-22 16:24:00 +08:00
parent 273f486487
commit 554e402026
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class YxSchoolChildController extends JeecgController<YxSchoolChild, IYxS
long count = 0; long count = 0;
LambdaQueryWrapper<YxSchoolChild> lambdaQueryWrapper = new LambdaQueryWrapper<YxSchoolChild>(); LambdaQueryWrapper<YxSchoolChild> lambdaQueryWrapper = new LambdaQueryWrapper<YxSchoolChild>();
if (StringUtils.isNotBlank(yxSchoolChild.getId())) { if (StringUtils.isNotBlank(yxSchoolChild.getId())) {
lambdaQueryWrapper.ne(YxSchoolChild::getSchoolId,yxSchoolChild.getId()); lambdaQueryWrapper.ne(YxSchoolChild::getId,yxSchoolChild.getId());
} }
lambdaQueryWrapper.eq(YxSchoolChild::getSchoolName, yxSchoolChild.getSchoolName()); lambdaQueryWrapper.eq(YxSchoolChild::getSchoolName, yxSchoolChild.getSchoolName());
count = yxSchoolChildService.count(lambdaQueryWrapper); count = yxSchoolChildService.count(lambdaQueryWrapper);