Bläddra i källkod

新增对接飞手服务时传参username

tags/v1.2.0^2
xiaoying 1 år sedan
förälder
incheckning
0425a968b2
2 ändrade filer med 5 tillägg och 0 borttagningar
  1. +4
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/request/third/PilotTaskRequest.java
  2. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/pilot/AddPilotTaskService.java

+ 4
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/request/third/PilotTaskRequest.java Visa fil

@@ -88,4 +88,8 @@ public class PilotTaskRequest {
*/
private Integer inspectionType;

private String tenantUserName;



}

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/pilot/AddPilotTaskService.java Visa fil

@@ -33,6 +33,7 @@ public class AddPilotTaskService {

//第三方请求体需要
PilotTaskRequest pilotTaskRequest = new PilotTaskRequest();
pilotTaskRequest.setTenantUserName(tenant.getUsername());
pilotTaskRequest.setTaskCode(inspection.getCode());
pilotTaskRequest.setTaskName(inspection.getName());
pilotTaskRequest.setTenantName(tenant.getName());

Laddar…
Avbryt
Spara