取消数字限制
This commit is contained in:
@@ -165,8 +165,8 @@ public class UserCourseBuyServiceImpl extends ServiceImpl<UserCourseBuyDao, User
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
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 = cell.toString();
|
||||||
MyUserEntity myUserEntity = userDao.selectOne(new LambdaQueryWrapper<MyUserEntity>().select(MyUserEntity::getId,MyUserEntity::getName,MyUserEntity::getTel).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);
|
||||||
@@ -176,7 +176,7 @@ public class UserCourseBuyServiceImpl extends ServiceImpl<UserCourseBuyDao, User
|
|||||||
stringStringHashMap.put("phone",phone);
|
stringStringHashMap.put("phone",phone);
|
||||||
nohas.add(stringStringHashMap);
|
nohas.add(stringStringHashMap);
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
stringArrayListMap.put("has",has);
|
stringArrayListMap.put("has",has);
|
||||||
stringArrayListMap.put("no",nohas);
|
stringArrayListMap.put("no",nohas);
|
||||||
|
|||||||
Reference in New Issue
Block a user