|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
package com.glxp.api.service.thrsys.impl;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
|
|
import cn.hutool.core.util.IdUtil;
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
|
@ -85,7 +84,7 @@ public class ThrDeptServiceImpl extends ServiceImpl<ThrDeptDao, ThrDeptEntity> i
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean insertInvWarehouses(List<ThrDeptEntity> thrDeptEntities) {
|
|
|
|
|
return thrDeptDao.insertInvWarehouses(thrDeptEntities);
|
|
|
|
|
return thrDeptDao.insertDeptList(thrDeptEntities);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -162,7 +161,7 @@ public class ThrDeptServiceImpl extends ServiceImpl<ThrDeptDao, ThrDeptEntity> i
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
//插入数据
|
|
|
|
|
thrDeptDao.insertInvWarehouses(list);
|
|
|
|
|
thrDeptDao.insertDeptList(list);
|
|
|
|
|
thrInvWarehouseDao.insertThrInvWarehouses(warehouseList);
|
|
|
|
|
if (list.size() >= limit) {
|
|
|
|
|
page++;
|
|
|
|
|