14 changed files with 143 additions and 34 deletions
@ -0,0 +1,17 @@ |
|||||
|
package org.dromara.business.api; |
||||
|
|
||||
|
/** |
||||
|
* @auther yq |
||||
|
* @data 2025/3/18 |
||||
|
*/ |
||||
|
public interface RemoteBusinessTaskService { |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 更新预约工单状态 |
||||
|
* @param fileId 航线id |
||||
|
* @param jobId 飞行记录id |
||||
|
* @param isJobStatus 飞行状态 |
||||
|
*/ |
||||
|
void updateTaskStatus(String fileId, String jobId,Boolean isJobStatus); |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package org.dromara.business.dubbo; |
||||
|
|
||||
|
import lombok.RequiredArgsConstructor; |
||||
|
import org.apache.dubbo.config.annotation.DubboService; |
||||
|
import org.dromara.business.api.RemoteBusinessTaskService; |
||||
|
import org.dromara.business.service.IBusinessTaskService; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
/** |
||||
|
* @auther yq |
||||
|
* @data 2025/3/18 |
||||
|
*/ |
||||
|
@RequiredArgsConstructor |
||||
|
@Service |
||||
|
@DubboService |
||||
|
public class RemoteBusinessTaskServiceImpl implements RemoteBusinessTaskService { |
||||
|
private final IBusinessTaskService businessTaskService; |
||||
|
|
||||
|
|
||||
|
@Override |
||||
|
public void updateTaskStatus(String fileId, String jobId, Boolean isJobStatus) { |
||||
|
|
||||
|
} |
||||
|
} |
Loading…
Reference in new issue