批量开课
This commit is contained in:
@@ -149,7 +149,7 @@ public class UserCourseBuyServiceImpl extends ServiceImpl<UserCourseBuyDao, User
|
|||||||
CellType cellTypeEnum = cell.getCellTypeEnum();
|
CellType cellTypeEnum = cell.getCellTypeEnum();
|
||||||
if(cellTypeEnum==CellType.NUMERIC){
|
if(cellTypeEnum==CellType.NUMERIC){
|
||||||
String phone = String.format("%.0f", cell.getNumericCellValue());
|
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){
|
if(myUserEntity!=null){
|
||||||
has.add(myUserEntity);
|
has.add(myUserEntity);
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user