新增无聊条码保存不上bug修改
This commit is contained in:
+3
@@ -70,6 +70,9 @@ public class MaterialBarCodeDomainService {
|
|||||||
if (CollectionUtil.isEmpty(materialBaseInfoDO.getMaterialBarCodeList())){
|
if (CollectionUtil.isEmpty(materialBaseInfoDO.getMaterialBarCodeList())){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
materialBaseInfoDO.getMaterialBarCodeList().forEach(item -> {
|
||||||
|
item.setMaterialBaseInfoId(materialBaseInfoDO.getMaterialBaseInfoId());
|
||||||
|
});
|
||||||
return materialBarCodeService.batchInsertOrUpdate(materialBaseInfoDO.getMaterialBarCodeList());
|
return materialBarCodeService.batchInsertOrUpdate(materialBaseInfoDO.getMaterialBarCodeList());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user