|
|
@@ -74,17 +74,6 @@ public class InspectionServiceTest { |
|
|
|
public void testEdit() { |
|
|
|
EditInspectionRequest request = new EditInspectionRequest(); |
|
|
|
request.setId("54601a9f13236dd3b5151db5ebdb0794"); |
|
|
|
request.setType(1); |
|
|
|
request.setName("test1"); |
|
|
|
request.setChannelId("1"); |
|
|
|
request.setLegId("1"); |
|
|
|
request.setInspectionType(1); |
|
|
|
request.setAirportId(1); |
|
|
|
request.setAirportName("禄口1"); |
|
|
|
request.setInspectionLine(1); |
|
|
|
request.setInspectionLineName("路线11"); |
|
|
|
request.setInspectionTime(DateUtils.now()); |
|
|
|
request.setNote("test"); |
|
|
|
|
|
|
|
JsonResult result = iInspectionService.update(request); |
|
|
|
System.out.println(">>>>>>>>>>>>>" + result); |
|
|
@@ -98,14 +87,7 @@ public class InspectionServiceTest { |
|
|
|
public void testResubmit() { |
|
|
|
EditInspectionRequest request = new EditInspectionRequest(); |
|
|
|
request.setId("1f2ed1f784eb36165785d5235350ef7d"); |
|
|
|
request.setCode("XJRW20221130092941"); |
|
|
|
request.setType(1); |
|
|
|
request.setInspectionType(2); |
|
|
|
request.setName("test1"); |
|
|
|
request.setChannelId("1"); |
|
|
|
request.setChannelName("G2"); |
|
|
|
request.setLegId("1"); |
|
|
|
request.setLegName("航段1"); |
|
|
|
request.setAirportId(1); |
|
|
|
request.setAirportName("禄口1"); |
|
|
|
request.setInspectionLine(1); |
|
|
@@ -116,7 +98,6 @@ public class InspectionServiceTest { |
|
|
|
request.setEndLongitude("22"); |
|
|
|
request.setEndLatitude("22"); |
|
|
|
request.setInspectionTime(DateUtils.now()); |
|
|
|
request.setNote("test"); |
|
|
|
|
|
|
|
JSONObject json = (JSONObject) JSONObject.toJSON(request); |
|
|
|
log.info("-----> 重新提交请求参数:json={}", json); |