自动化立体仓库 - WMS系统
#
lsh
2024-10-24 2cf7eb592181c2d0baaffcdb66f302bce30ab164
src/main/java/com/zy/asrs/controller/MatController.java
@@ -18,6 +18,7 @@
import com.zy.asrs.service.MatService;
import com.zy.asrs.utils.MatExcelListener;
import com.zy.asrs.utils.OutLocBoxExcelListener;
import com.zy.asrs.utils.OutpandianBoxExeclListener;
import com.zy.common.CodeRes;
import com.zy.common.config.AdminInterceptor;
import com.zy.common.entity.MatExcel;
@@ -385,8 +386,8 @@
    @ManagerAuth(memo = "导入箱号盘点出库")
    @Transactional
    public R outLocBoxExcelImport1(MultipartFile file) throws IOException {
        OutLocBoxExcelListener listener = new OutLocBoxExcelListener(getUserId());
        EasyExcel.read(file.getInputStream(), OutLocBoxExcel.class, listener).sheet().doRead();
        OutpandianBoxExeclListener listener = new OutpandianBoxExeclListener(getUserId());
        EasyExcel.read(file.getInputStream(), pandianExcel.class, listener).sheet().doRead();
        return R.ok("成功出库"+listener.getTotal()+"条商品数据");
    }