Browse Source

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

tags/v1.2.0^2
xiaoying 1 year ago
parent
commit
0425a968b2
2 changed files with 5 additions and 0 deletions
  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 View File

*/ */
private Integer inspectionType; private Integer inspectionType;


private String tenantUserName;



} }

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



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

Loading…
Cancel
Save