应急系统测试调整

This commit is contained in:
tiger_zhou 2022-11-28 14:55:02 +08:00
parent a2ee2e1858
commit e628916d52
2 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,7 @@ public class PaperCompositionController {
* @return * @return
*/ */
@Role(value = RoleEnum.SuperAdmin) @Role(value = RoleEnum.SuperAdmin)
@GetMapping(path = "/manage/paging") @PostMapping(path = "/manage/paging")
public PageVO<PaperCompositionWithRuleVo> findPaperCompositionForPage(@RequestBody FindPaperCompositionPageReqVo req) { public PageVO<PaperCompositionWithRuleVo> findPaperCompositionForPage(@RequestBody FindPaperCompositionPageReqVo req) {
return this.compositionService.findPaperCompositionByPage(req); return this.compositionService.findPaperCompositionByPage(req);
} }

View File

@ -2,7 +2,6 @@ package club.joylink.rtss.services.ws;
import club.joylink.rtss.simulation.cbtc.data.map.Section; import club.joylink.rtss.simulation.cbtc.data.map.Section;
import club.joylink.rtss.util.JsonUtils; import club.joylink.rtss.util.JsonUtils;
import club.joylink.rtss.util.test.LogTest;
import club.joylink.rtss.vo.ws.TrainPosition; import club.joylink.rtss.vo.ws.TrainPosition;
import club.joylink.rtss.websocket.client.SimulationSessionHandler; import club.joylink.rtss.websocket.client.SimulationSessionHandler;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
@ -40,7 +39,7 @@ public class StompTest {
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
LogTest lt = new LogTest(); EnvLoggerFileTest lt = new EnvLoggerFileTest();
List<TrainPosition> list = lt.readFile("d:\\spring.log2"); List<TrainPosition> list = lt.readFile("d:\\spring.log2");
// List<TrainPosition> list = lt.readSource("d:\\t.txt"); // List<TrainPosition> list = lt.readSource("d:\\t.txt");
// runToLeft(stompSession,"001"); // runToLeft(stompSession,"001");