批量开课
This commit is contained in:
@@ -148,6 +148,9 @@ public class UserCourseBuyServiceImpl extends ServiceImpl<UserCourseBuyDao, User
|
|||||||
while (rowIterator.hasNext()) {
|
while (rowIterator.hasNext()) {
|
||||||
Row row = rowIterator.next();
|
Row row = rowIterator.next();
|
||||||
Cell cell = row.getCell(1);
|
Cell cell = row.getCell(1);
|
||||||
|
if(cell==null){
|
||||||
|
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 = String.format("%.0f", cell.getNumericCellValue());
|
||||||
|
|||||||
Reference in New Issue
Block a user