|
|
|
@ -71,6 +71,9 @@ public class Test {
|
|
|
|
|
@Autowired
|
|
|
|
|
private OutstorageService outstorageService;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private OpOrderChildService opOrderChildService;
|
|
|
|
|
|
|
|
|
|
@GetMapping("/hello")
|
|
|
|
|
public String hello(@RequestParam(value = "name", defaultValue = "World") String name) {
|
|
|
|
|
return String.format("Hello %s!", name);
|
|
|
|
@ -110,10 +113,11 @@ public class Test {
|
|
|
|
|
|
|
|
|
|
@GetMapping("/test-api")
|
|
|
|
|
public String testApi() {
|
|
|
|
|
HashMap<String, HashMap<Long, String>> data = opOrderChildService.getOrderIdAndSkuIdAndSkuSubNameMap(Arrays.asList("6921789682161751044"), Arrays.asList(1777095601448988L));
|
|
|
|
|
Map<String, String> result = outstorageService.matchPurchaseLogisticsInfo("1688DS", "顺丰速运", "SF1610042925672", null);
|
|
|
|
|
System.out.println(result);
|
|
|
|
|
// opOrderDsService.updateOpOrderDsFilterStatus("6921789682161751044", "1688DS");
|
|
|
|
|
return "haha";
|
|
|
|
|
return data.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class Aes
|
|
|
|
@ -158,6 +162,12 @@ public class Test {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) throws ParseException {
|
|
|
|
|
try {
|
|
|
|
|
System.out.println(CommonTool.mbSubString("你12324好是的3423423发生45345率的4353发生3453率胜453多负少", 10));
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
throw new RuntimeException(e.getMessage());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Pattern p = Pattern.compile("^([T|W])(JT\\d+)$");
|
|
|
|
|
Matcher m = p.matcher("WJT23242342342342");
|
|
|
|
|
if (m.find()) {
|
|
|
|
|