取消数字限制
This commit is contained in:
@@ -165,8 +165,8 @@ public class UserCourseBuyServiceImpl extends ServiceImpl<UserCourseBuyDao, User
|
||||
continue;
|
||||
}
|
||||
CellType cellTypeEnum = cell.getCellTypeEnum();
|
||||
if(cellTypeEnum==CellType.NUMERIC){
|
||||
String phone = String.format("%.0f", cell.getNumericCellValue());
|
||||
// if(cellTypeEnum==CellType.NUMERIC){
|
||||
String phone = cell.toString();
|
||||
MyUserEntity myUserEntity = userDao.selectOne(new LambdaQueryWrapper<MyUserEntity>().select(MyUserEntity::getId,MyUserEntity::getName,MyUserEntity::getTel).eq(MyUserEntity::getTel, phone));
|
||||
if(myUserEntity!=null){
|
||||
has.add(myUserEntity);
|
||||
@@ -176,7 +176,7 @@ public class UserCourseBuyServiceImpl extends ServiceImpl<UserCourseBuyDao, User
|
||||
stringStringHashMap.put("phone",phone);
|
||||
nohas.add(stringStringHashMap);
|
||||
}
|
||||
}
|
||||
// }
|
||||
}
|
||||
stringArrayListMap.put("has",has);
|
||||
stringArrayListMap.put("no",nohas);
|
||||
|
||||
Reference in New Issue
Block a user