项目、合同、运单、预结算、正式结算、付款对接mk
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
package org.springblade.transport.feign;
|
||||
|
||||
import org.springblade.core.tool.api.FR;
|
||||
import org.springblade.transport.pojo.dto.MkProcessSyncDTO;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
/**
|
||||
* MK 业务流程同步 Feign
|
||||
*/
|
||||
@FeignClient(value = "blade-transport")
|
||||
public interface IMkProcessClient {
|
||||
|
||||
String API_PREFIX = "/feign/client/mkProcess";
|
||||
String APPLY = API_PREFIX + "/apply";
|
||||
|
||||
@PostMapping(APPLY)
|
||||
FR<Boolean> apply(@RequestBody MkProcessSyncDTO param);
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
package org.springblade.transport.pojo.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* MK 流程节点同步参数
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "MK 流程节点同步参数")
|
||||
public class MkProcessSyncDTO implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "业务类型,如 project-apply")
|
||||
private String bizType;
|
||||
|
||||
@Schema(description = "业务主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "动作:sync / approve / reject")
|
||||
private String action;
|
||||
|
||||
@Schema(description = "处理人姓名")
|
||||
private String processorName;
|
||||
|
||||
@Schema(description = "MK 流程实例详情")
|
||||
private Object processInfo;
|
||||
}
|
||||
Reference in New Issue
Block a user