Skip to content

Commit

Permalink
Revert "Merge branch 'DCMFOSS-26' into Spike_analysis"
Browse files Browse the repository at this point in the history
This reverts commit 8e74ac3, reversing
changes made to 3bb827c.
  • Loading branch information
OSousa117 committed Dec 12, 2023
1 parent 8e74ac3 commit b8d6d1f
Show file tree
Hide file tree
Showing 51 changed files with 976 additions and 1,955 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import jakarta.persistence.*;
import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;
import lombok.*;
import org.eclipse.tractusx.demandcapacitymgmt.demandcapacitymgmtbackend.entities.enums.EventType;
import org.eclipse.tractusx.demandcapacitymgmt.demandcapacitymgmtbackend.entities.enums.MaterialDemandStatus;

import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;

@Entity
@Cacheable(false)
@Table(name = "material_demand")
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@
package org.eclipse.tractusx.demandcapacitymgmt.demandcapacitymgmtbackend.repositories;

import jakarta.persistence.Cacheable;
import java.util.List;
import java.util.UUID;
import org.eclipse.tractusx.demandcapacitymgmt.demandcapacitymgmtbackend.entities.MaterialDemandEntity;
import org.eclipse.tractusx.demandcapacitymgmt.demandcapacitymgmtbackend.entities.enums.MaterialDemandStatus;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.UUID;

@Repository
@Cacheable(false)
public interface MaterialDemandRepository extends JpaRepository<MaterialDemandEntity, UUID> {
List<MaterialDemandEntity> findBySupplierId_Id(UUID id);

@Query("select m from MaterialDemandEntity m where m.customerId.id = ?1")
List<MaterialDemandEntity> findByCustomerId_Id(UUID id);

Expand Down

This file was deleted.

Loading

0 comments on commit b8d6d1f

Please sign in to comment.