Pārlūkot izejas kodu

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

tags/v1.2.0^2
xiaoying pirms 1 gada
vecāks
revīzija
0425a968b2
2 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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());

Notiek ielāde…
Atcelt
Saglabāt