修改
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package online.junmowen.blog.admin.module.business.goods.service;
|
||||
|
||||
import org.apache.fesod.sheet.FastExcel;
|
||||
import org.apache.fesod.sheet.FesodSheet;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import jakarta.annotation.Resource;
|
||||
@@ -173,7 +173,7 @@ public class GoodsService {
|
||||
public ResponseDTO<String> importGoods(MultipartFile file) {
|
||||
List<GoodsImportForm> dataList;
|
||||
try {
|
||||
dataList = FastExcel.read(file.getInputStream()).head(GoodsImportForm.class)
|
||||
dataList = FesodSheet.read(file.getInputStream()).head(GoodsImportForm.class)
|
||||
.sheet()
|
||||
.doReadSync();
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user