Commit 8961ba86 by 范富荣

新增督导任务模块基础类

1 parent 111cae9a
package cn.com.glsx.dj.supervisor.config;
import cn.com.glsx.dj.supervisor.remote.SupervisorTaskInfoRemote;
import org.oreframework.boot.autoconfigure.dubbo.reference.ReferenceBuilderFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
......@@ -44,4 +45,10 @@ public class DubboConfig {
}
@Bean
public SupervisorTaskInfoRemote supervisorTaskInfoRemote() {
return factory.builder(SupervisorTaskInfoRemote.class).check(false).timeout(30000).build();
}
}
package cn.com.glsx.dj.supervisor.controller;
import cn.com.glsx.dj.supervisor.remote.SupervisorTaskInfoRemote;
import com.rop.annotation.NeedInSessionType;
import com.rop.annotation.ServiceMethodBean;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
@Slf4j
@ServiceMethodBean(version = "1.0.0", needInSession = NeedInSessionType.NO)
@Api("督导任务接口")
public class SupervisorTaskInfoController {
@Autowired
private SupervisorTaskInfoRemote supervisorTaskInfoRemote;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!