|
|
|
@ -152,7 +152,7 @@ public class DlBasicService {
|
|
|
|
|
//仓库用户表
|
|
|
|
|
if (CollUtil.isNotEmpty(syncDataResponse.getWarehouseUserEntities())) {
|
|
|
|
|
for (WarehouseUserEntity warehouseUserEntity : syncDataResponse.getWarehouseUserEntities()) {
|
|
|
|
|
warehouseUserDao.insertOrUpdate(warehouseUserEntity);
|
|
|
|
|
warehouseUserDao.insert(warehouseUserEntity);
|
|
|
|
|
}
|
|
|
|
|
remark.append("仓库用户:").append(syncDataResponse.getWarehouseUserEntities().size()).append("条\n");
|
|
|
|
|
}
|
|
|
|
@ -160,7 +160,7 @@ public class DlBasicService {
|
|
|
|
|
//仓库单据类型表
|
|
|
|
|
if (CollUtil.isNotEmpty(syncDataResponse.getWarehouseBussinessTypeEntities())) {
|
|
|
|
|
for (WarehouseBussinessTypeEntity warehouseUserEntity : syncDataResponse.getWarehouseBussinessTypeEntities()) {
|
|
|
|
|
warehouseBussinessTypeDao.insertOrUpdate(warehouseUserEntity);
|
|
|
|
|
warehouseBussinessTypeDao.insert(warehouseUserEntity);
|
|
|
|
|
}
|
|
|
|
|
remark.append("仓库单据:").append(syncDataResponse.getWarehouseBussinessTypeEntities().size()).append("条\n");
|
|
|
|
|
}
|
|
|
|
|