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