
30 changed files with 293 additions and 159 deletions
@ -0,0 +1,31 @@ |
|||
package com.yxt.anrui.portal.api.sysstaffpost; |
|||
|
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* Project: anrui_portal(门户建设) <br/> |
|||
* File: SysStaffPostVo.java <br/> |
|||
* Class: com.yxt.anrui.portal.api.sysstaffpost.SysStaffPostVo <br/> |
|||
* Description: 员工岗位关联表 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2021-08-03 00:24:30 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@ApiModel(value = "员工岗位关联表 视图数据对象", description = "员工岗位关联表 视图数据对象") |
|||
@Data |
|||
public class SysStaffPostVos implements Vo { |
|||
|
|||
private String sid; |
|||
private String name; |
|||
} |
@ -0,0 +1,22 @@ |
|||
package com.yxt.anrui.oa.feign.portal.sysstaffpost; |
|||
|
|||
import com.yxt.common.core.result.ResultBean; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Api(tags = "员工岗位关联表") |
|||
@FeignClient( |
|||
contextId = "anrui-portal-SysStaffPost", |
|||
name = "anrui-portal", |
|||
path = "v1/sysstaffpost") |
|||
public interface SysStaffPostFeign { |
|||
|
|||
@ApiOperation("根据员工sid查询岗位信息") |
|||
@GetMapping("/selPostByStaffSid/{sid}") |
|||
ResultBean<List<SysStaffPostVos>> selPostByStaffSid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,11 @@ |
|||
package com.yxt.anrui.oa.feign.portal.sysstaffpost; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class SysStaffPostVos implements Vo { |
|||
|
|||
private String sid; |
|||
private String name; |
|||
} |
Loading…
Reference in new issue