取消数字限制

This commit is contained in:
wuchunlei
2025-08-04 10:49:39 +08:00
parent 9a34f94445
commit 00c83cd6fe

View File

@@ -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);