Import angepasst
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
dotworker
2023-02-24 09:17:56 +01:00
parent f0aa2ac5d5
commit 101f3652c5
10 changed files with 238 additions and 119 deletions

View File

@@ -23,6 +23,8 @@ class StockRepository extends ServiceEntityRepository
public function save(Stock $entity, bool $flush = false): void
{
$entity->setUpdateTime(new \DateTime());
$this->getEntityManager()->persist($entity);
if ($flush) {

View File

@@ -23,6 +23,7 @@ class WarehouseRepository extends ServiceEntityRepository
public function save(Warehouse $entity, bool $flush = false): void
{
$entity->setPrio(0);
$this->getEntityManager()->persist($entity);
if ($flush) {