|
|
@ -25,7 +25,9 @@ import org.springframework.util.CollectionUtils; |
|
|
|
|
|
|
|
|
|
|
|
import javax.validation.Validator; |
|
|
|
import javax.validation.Validator; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -545,4 +547,12 @@ public class SysUserServiceImpl implements ISysUserService |
|
|
|
wrapper.select(SysUser::getUserId,SysUser::getPhonenumber).eq(SysUser::getDelFlag,"0").like(SysUser::getPhonenumber,phonenumber); |
|
|
|
wrapper.select(SysUser::getUserId,SysUser::getPhonenumber).eq(SysUser::getDelFlag,"0").like(SysUser::getPhonenumber,phonenumber); |
|
|
|
return userMapper.selectList(wrapper); |
|
|
|
return userMapper.selectList(wrapper); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public int updateStatusByIds(Long[] userIds,String status) { |
|
|
|
|
|
|
|
Map<String,Object> params=new HashMap<>(); |
|
|
|
|
|
|
|
params.put("userIds",userIds); |
|
|
|
|
|
|
|
params.put("status",status); |
|
|
|
|
|
|
|
return userMapper.updateStatusByIds(params); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|