mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
优化批量获取桩状态
This commit is contained in:
@@ -104,7 +104,7 @@ import java.text.SimpleDateFormat;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@ActiveProfiles("dev")
|
||||
@ActiveProfiles("pre")
|
||||
@SpringBootTest(classes = JsowellApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||
@RunWith(SpringRunner.class)
|
||||
public class SpringBootTestController {
|
||||
@@ -270,19 +270,23 @@ public class SpringBootTestController {
|
||||
@Test
|
||||
public void selectPileConnectorInfoListByPileSnListTest() {
|
||||
List<String> pileSnList = Lists.newArrayList();
|
||||
pileSnList.add("");
|
||||
pileSnList.add("");
|
||||
pileSnList.add("");
|
||||
pileSnList.add("");
|
||||
pileSnList.add("");
|
||||
pileSnList.add("");
|
||||
pileSnList.add("");
|
||||
pileSnList.add("");
|
||||
pileSnList.add("");
|
||||
pileSnList.add("");
|
||||
// pileConnectorInfoService.getPileStatus(pileSnList);
|
||||
pileSnList.add("88230000000249");
|
||||
pileSnList.add("88230000000573");
|
||||
pileSnList.add("88230000000735");
|
||||
pileSnList.add("88230000001122");
|
||||
pileSnList.add("88230000001124");
|
||||
pileSnList.add("88230000001125");
|
||||
pileSnList.add("88230000001126");
|
||||
pileSnList.add("88230000001127");
|
||||
pileSnList.add("88230000001128");
|
||||
pileSnList.add("88230000001129");
|
||||
pileSnList.add("88230000001130");
|
||||
pileSnList.add("88230000001131");
|
||||
|
||||
pileConnectorInfoService.getPileStatusV2(pileSnList);
|
||||
// pileConnectorInfoService.selectPileConnectorInfoList("88000000000028");
|
||||
// Map<String, String> pileStatus = pileConnectorInfoService.getPileStatus(pileSnList);
|
||||
|
||||
Map<String, String> pileStatusV2 = pileConnectorInfoService.getPileStatusV2(pileSnList);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user