|
|
|
@ -78,13 +78,13 @@ public class ThrDeptServiceImpl extends ServiceImpl<ThrDeptDao, ThrDeptEntity> i
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean insertInvWarehouse(ThrDeptEntity thrDeptEntity) {
|
|
|
|
|
return thrDeptDao.insertThrInvWarehouse(thrDeptEntity);
|
|
|
|
|
public boolean insertThrDept(ThrDeptEntity thrDeptEntity) {
|
|
|
|
|
return thrDeptDao.insertThrDept(thrDeptEntity);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean insertInvWarehouses(List<ThrDeptEntity> thrDeptEntities) {
|
|
|
|
|
return thrDeptDao.insertDeptList(thrDeptEntities);
|
|
|
|
|
public boolean insertThrDeptList(List<ThrDeptEntity> thrDeptEntities) {
|
|
|
|
|
return thrDeptDao.insertThrDeptList(thrDeptEntities);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -161,7 +161,7 @@ public class ThrDeptServiceImpl extends ServiceImpl<ThrDeptDao, ThrDeptEntity> i
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
//插入数据
|
|
|
|
|
thrDeptDao.insertDeptList(list);
|
|
|
|
|
thrDeptDao.insertThrDeptList(list);
|
|
|
|
|
thrInvWarehouseDao.insertThrInvWarehouses(warehouseList);
|
|
|
|
|
if (list.size() >= limit) {
|
|
|
|
|
page++;
|
|
|
|
|