批量开课

This commit is contained in:
wangjinlei
2025-03-31 09:08:39 +08:00
parent f3642350a1
commit 97ad8c910a

View File

@@ -149,7 +149,7 @@ public class UserCourseBuyServiceImpl extends ServiceImpl<UserCourseBuyDao, User
CellType cellTypeEnum = cell.getCellTypeEnum();
if(cellTypeEnum==CellType.NUMERIC){
String phone = String.format("%.0f", cell.getNumericCellValue());
MyUserEntity myUserEntity = userDao.selectOne(new LambdaQueryWrapper<MyUserEntity>().eq(MyUserEntity::getTel, phone));
MyUserEntity myUserEntity = userDao.selectOne(new LambdaQueryWrapper<MyUserEntity>().select(MyUserEntity::getId,MyUserEntity::getName,MyUserEntity::getTel).eq(MyUserEntity::getTel, phone));
if(myUserEntity!=null){
has.add(myUserEntity);
}else{