浏览代码

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

tags/v1.2.0^2
xiaoying 1年前
父节点
当前提交
0425a968b2
共有 2 个文件被更改,包括 5 次插入0 次删除
  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 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存