feat(bpm): 新增补卡申请相关 API 接口
- 添加 BpmOAReplacementCardApi接口,用于处理补卡申请相关操作 - 实现了获取当前用户正在处理中补卡申请的需补卡编号的功能
This commit is contained in:
parent
c897545148
commit
a8535516ad
@ -0,0 +1,21 @@
|
||||
package cn.iocoder.yudao.module.bpm.api.oa;
|
||||
|
||||
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
||||
import cn.iocoder.yudao.module.bpm.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@FeignClient(name = ApiConstants.NAME) // TODO 芋艿:fallbackFactory =
|
||||
@Tag(name = "RPC 服务 - 补卡申请")
|
||||
public interface BpmOAReplacementCardApi {
|
||||
|
||||
String PREFIX = ApiConstants.PREFIX + "/oa/replacement-card";
|
||||
|
||||
@GetMapping(PREFIX + "/getPunchRecordIds")
|
||||
@Operation(summary = "获取当前用户正在处理中补卡申请的需补卡编号")
|
||||
CommonResult<List<Long>> getPunchRecordIds();
|
||||
}
|
Loading…
Reference in New Issue
Block a user