mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 第三方平台解析密钥方法
This commit is contained in:
@@ -34,6 +34,7 @@ import com.jsowell.pile.vo.uniapp.PileConnectorDetailVO;
|
||||
import com.jsowell.pile.vo.web.*;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.apache.commons.lang3.RandomStringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -824,19 +825,23 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
List<String> list = new ArrayList<>();
|
||||
list.add("0");
|
||||
list.add("1");
|
||||
list.add("4");
|
||||
list.add("3");
|
||||
list.add("2");
|
||||
list.add(null);
|
||||
list.add("");
|
||||
|
||||
list = list.stream().filter(StringUtils::isNotBlank).collect(Collectors.toList());
|
||||
list.sort(Comparator.comparing(Integer::new));
|
||||
String s = RandomStringUtils.randomAlphanumeric(16);
|
||||
System.out.println(s);
|
||||
|
||||
System.out.println(list);
|
||||
// List<String> list = new ArrayList<>();
|
||||
// list.add("0");
|
||||
// list.add("1");
|
||||
// list.add("4");
|
||||
// list.add("3");
|
||||
// list.add("2");
|
||||
// list.add(null);
|
||||
// list.add("");
|
||||
//
|
||||
// list = list.stream().filter(StringUtils::isNotBlank).collect(Collectors.toList());
|
||||
// list.sort(Comparator.comparing(Integer::new));
|
||||
//
|
||||
// System.out.println(list);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user