批量开课

This commit is contained in:
wangjinlei
2025-04-02 14:08:09 +08:00
parent 1aee8a4ae5
commit 765c5b9042

View File

@@ -148,6 +148,9 @@ public class UserCourseBuyServiceImpl extends ServiceImpl<UserCourseBuyDao, User
while (rowIterator.hasNext()) {
Row row = rowIterator.next();
Cell cell = row.getCell(1);
if(cell==null){
continue;
}
CellType cellTypeEnum = cell.getCellTypeEnum();
if(cellTypeEnum==CellType.NUMERIC){
String phone = String.format("%.0f", cell.getNumericCellValue());