解决冲突

This commit is contained in:
石璞臻 2024-11-20 10:53:59 +08:00
parent 18dab91f3b
commit 15733c9a6b
3 changed files with 5 additions and 6 deletions

View File

@ -43,10 +43,10 @@ public interface UserRepository {
/** /**
* 查询用户 * 查询用户
* @param searchKeywords * @param searchKeyWords
* @return * @return
*/ */
List<User> search(SearchKeyWords searchKeywords); List<User> search(SearchKeyWords searchKeyWords);
/** /**
* 删除用户 * 删除用户

View File

@ -83,11 +83,11 @@ public class UserServiceImpl implements UserService {
/** /**
* 查询用户信息 * 查询用户信息
* @param searchKeywords * @param searchKeyWords
* @return * @return
*/ */
@Override @Override
public List<User> searchUser(SearchKeywords searchKeywords) { return userRepository.search(searchKeywords); } public List<User> searchUser(SearchKeyWords searchKeyWords) { return userRepository.search(searchKeyWords); }
/** /**
* 根据userId逻辑删除用户 * 根据userId逻辑删除用户
@ -99,5 +99,4 @@ public class UserServiceImpl implements UserService {
public Boolean deleteUser(String userId) { public Boolean deleteUser(String userId) {
return userRepository.deleteUser(userId)>0; return userRepository.deleteUser(userId)>0;
} }
public List<User> searchUser(SearchKeyWords searchKeywords) { return userRepository.search(searchKeywords); }
} }

View File

@ -16,7 +16,7 @@ import javax.annotation.Generated;
@Generated( @Generated(
value = "org.mapstruct.ap.MappingProcessor", value = "org.mapstruct.ap.MappingProcessor",
date = "2024-11-20T10:18:06+0800", date = "2024-11-20T10:52:53+0800",
comments = "version: 1.4.1.Final, compiler: javac, environment: Java 1.8.0_271 (Oracle Corporation)" comments = "version: 1.4.1.Final, compiler: javac, environment: Java 1.8.0_271 (Oracle Corporation)"
) )
public class UserMappersImpl implements UserMappers { public class UserMappersImpl implements UserMappers {