diff --git a/.gitignore b/.gitignore index 5dc85f9..ef23b53 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,9 @@ target/ !**/src/main/**/target/ !**/src/test/**/target/ +# Compiled class files +*.class + node_modules/ .DS_Store diff --git a/src/main/java/org/hsbc/service/PmsServiceimp.java b/src/main/java/org/hsbc/service/PmsServiceimp.java index b4bcd21..771d745 100644 --- a/src/main/java/org/hsbc/service/PmsServiceimp.java +++ b/src/main/java/org/hsbc/service/PmsServiceimp.java @@ -8,9 +8,11 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.stereotype.Service; +import org.springframework.web.server.ResponseStatusException; import java.time.LocalDate; -import org.springframework.stereotype.Service; import java.util.List; import java.util.Optional; @@ -23,6 +25,9 @@ public class PmsServiceimp implements PmsService { @Autowired private WalletService walletService; + @Autowired + private TransactionService transactionService; + // 1️⃣ Add Asset @Override public PmsEntity addAsset(PmsEntity asset) {