优化import
This commit is contained in:
parent
d2eb90df7b
commit
5bafd04b30
@ -5,7 +5,6 @@ import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Modifying;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
|
@ -2,10 +2,8 @@ package com.example.springdemo.dao;
|
||||
|
||||
import com.example.springdemo.entities.Users;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Modifying;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
@Repository
|
||||
|
@ -7,7 +7,6 @@ import com.example.springdemo.entities.Dishes;
|
||||
import com.example.springdemo.entities.Merchants;
|
||||
import com.example.springdemo.entities.password.MerchantsPassword;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.data.jpa.repository.Modifying;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
|
@ -4,7 +4,6 @@ import com.example.springdemo.dao.PermissionsRepository;
|
||||
import com.example.springdemo.dao.RolesPermissionsRepository;
|
||||
import com.example.springdemo.entities.RBAC.Permissions;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.data.jpa.repository.Modifying;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
|
@ -5,7 +5,6 @@ import com.example.springdemo.dao.UsersRepository;
|
||||
import com.example.springdemo.entities.Users;
|
||||
import com.example.springdemo.entities.password.UsersPassword;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.data.jpa.repository.Modifying;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.example.springdemo;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
|
Loading…
Reference in New Issue
Block a user