
49 changed files with 1449 additions and 115 deletions
@ -0,0 +1,109 @@ |
|||||
|
package com.yxt.anrui.base.api.basedistributorlegal; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.yxt.anrui.base.api.basedistributorappendix.BaseDistributorAppendixVo; |
||||
|
import com.yxt.anrui.base.api.basedistributorbank.BaseDistributorBankVo; |
||||
|
import com.yxt.anrui.base.api.basedistributorstaff.BaseDistributorStaffDto; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class BaseDistributorLegalVo implements Vo { |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商名称") |
||||
|
private String distributorName; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商类型key值") |
||||
|
private String distributorType; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商类型value值") |
||||
|
private String distributorTypeValue; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商等级key值") |
||||
|
private String distributorLevel; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商等级value值") |
||||
|
private String distributorLevelValue; |
||||
|
|
||||
|
@ApiModelProperty(value = "证书号码") |
||||
|
private String numCode; |
||||
|
|
||||
|
@ApiModelProperty(value = "联系电话") |
||||
|
private String businessMobile; |
||||
|
|
||||
|
@ApiModelProperty(value = "通讯地址邮编") |
||||
|
private String zipCode; |
||||
|
|
||||
|
@ApiModelProperty(value = "使用组织") |
||||
|
private String useOrg; |
||||
|
@ApiModelProperty(value = "使用组织Name") |
||||
|
private String useOrgName; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商分类key值") |
||||
|
private String distributorClassification; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商分类value值") |
||||
|
private String distributorClassificationValue; |
||||
|
|
||||
|
//以下是法人表字段
|
||||
|
|
||||
|
@ApiModelProperty(value = "企业性质") |
||||
|
private String enterpriseNature; |
||||
|
|
||||
|
@ApiModelProperty(value = "注册资本") |
||||
|
private String registeredCapital; |
||||
|
|
||||
|
@ApiModelProperty(value = "注册资本单位(万元/美元)") |
||||
|
private String registeredCapitalOrg; |
||||
|
|
||||
|
@ApiModelProperty(value = "成立日期") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
@NotNull(message = "成立日期不能为空") |
||||
|
private Date setUpTime; |
||||
|
|
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
@ApiModelProperty(value = "营业期限开始时间") |
||||
|
@NotNull(message = "营业期限开始时间不能为空") |
||||
|
private Date businessTermStartTime; |
||||
|
|
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
@ApiModelProperty(value = "营业期限结束时间") |
||||
|
@NotNull(message = "营业期限结束时间不能为空") |
||||
|
private Date businessTermEndTime; |
||||
|
|
||||
|
@ApiModelProperty(value = "登记机关") |
||||
|
private String registAuthority; |
||||
|
|
||||
|
@ApiModelProperty(value = "核准日期") |
||||
|
private String approvalDate; |
||||
|
|
||||
|
@ApiModelProperty(value = "登记状态") |
||||
|
private String registState; |
||||
|
|
||||
|
@ApiModelProperty(value = "是否担保回购 是:1 否:2") |
||||
|
private String guaranteeOrNot; |
||||
|
|
||||
|
@ApiModelProperty(value = "业务联系人") |
||||
|
private String businessContact; |
||||
|
|
||||
|
@ApiModelProperty(value = "企业负责人") |
||||
|
private String enterpriseContact; |
||||
|
|
||||
|
@ApiModelProperty(value = "联系方式") |
||||
|
private String enterpriseMobile; |
||||
|
|
||||
|
@ApiModelProperty(value = "备注") |
||||
|
private String remarks; |
||||
|
|
||||
|
@ApiModelProperty("人员list") |
||||
|
private List<BaseDistributorStaffDto> list; |
||||
|
@ApiModelProperty(value = "备案资料") |
||||
|
private List<BaseDistributorAppendixVo> baseDistributorAppendixs; |
||||
|
@ApiModelProperty(value = "备案账号") |
||||
|
private List<BaseDistributorBankVo> baseDistributorBanks; |
||||
|
} |
@ -0,0 +1,80 @@ |
|||||
|
package com.yxt.anrui.base.api.basedistributorperson; |
||||
|
|
||||
|
import com.yxt.anrui.base.api.basedistributorappendix.BaseDistributorAppendixVo; |
||||
|
import com.yxt.anrui.base.api.basedistributorbank.BaseDistributorBankVo; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class BaseDistributorPersonVo implements Vo { |
||||
|
|
||||
|
@ApiModelProperty("经销商sid(陕汽必须字段)") |
||||
|
private String distributorSid; |
||||
|
|
||||
|
//以下为基础表的字段
|
||||
|
@ApiModelProperty(value = "姓名") |
||||
|
private String distributorName; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商类型key值") |
||||
|
private String distributorType; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商类型value值") |
||||
|
private String distributorTypeValue; |
||||
|
|
||||
|
@ApiModelProperty(value = "身份证号") |
||||
|
private String numCode; |
||||
|
|
||||
|
@ApiModelProperty(value = "联系电话") |
||||
|
private String businessMobile; |
||||
|
|
||||
|
@ApiModelProperty(value = "通讯地址") |
||||
|
private String address; |
||||
|
|
||||
|
@ApiModelProperty(value = "通讯地址邮编") |
||||
|
private String zipCode; |
||||
|
|
||||
|
@ApiModelProperty("经销商等级key值") |
||||
|
private String distributorLevel; |
||||
|
@ApiModelProperty("经销商等级value值") |
||||
|
private String distributorLevelValue; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商分类") |
||||
|
private String distributorClassification; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商分类value") |
||||
|
private String distributorClassificationValue; |
||||
|
|
||||
|
//以下为个人表的字段
|
||||
|
@ApiModelProperty(value = "项目类型") |
||||
|
private String projectType; |
||||
|
@ApiModelProperty(value = "项目类型Value值") |
||||
|
private String projectTypeValue; |
||||
|
|
||||
|
@ApiModelProperty(value = "区域-省") |
||||
|
private String province; |
||||
|
|
||||
|
@ApiModelProperty(value = "区域-市") |
||||
|
private String city; |
||||
|
|
||||
|
@ApiModelProperty(value = "区域-县区") |
||||
|
private String county; |
||||
|
|
||||
|
@ApiModelProperty(value = "省市县Code值") |
||||
|
private String addressCode; |
||||
|
|
||||
|
@ApiModelProperty(value = "经销商品牌") |
||||
|
private String distributorBrand; |
||||
|
|
||||
|
@ApiModelProperty(value = "所属厂商") |
||||
|
private String belongsToVendor; |
||||
|
|
||||
|
@ApiModelProperty(value = "备注") |
||||
|
private String remarks; |
||||
|
@ApiModelProperty(value = "备案资料") |
||||
|
private List<BaseDistributorAppendixVo> baseDistributorAppendixs; |
||||
|
@ApiModelProperty(value = "备案账号") |
||||
|
private List<BaseDistributorBankVo> baseDistributorBanks; |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.yxt.anrui.base.api.baseoutsourcingapplication; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author liuguohui |
||||
|
* @version 1.0 |
||||
|
* @description |
||||
|
* @date 2022/04/13 |
||||
|
*/ |
||||
|
@ApiModel("提交") |
||||
|
@Data |
||||
|
public class SubmitBaseOutSourcingApplicationDto extends BaseOutsourcingApplicationDto{ |
||||
|
|
||||
|
@ApiModelProperty("业务sid") |
||||
|
private String businessSid; |
||||
|
|
||||
|
@ApiModelProperty("意见") |
||||
|
private String comment; |
||||
|
|
||||
|
@ApiModelProperty("流程实例id") |
||||
|
private String instanceId; |
||||
|
|
||||
|
@ApiModelProperty("任务id") |
||||
|
private String taskId; |
||||
|
} |
@ -0,0 +1,43 @@ |
|||||
|
package com.yxt.anrui.base.api.flow; |
||||
|
|
||||
|
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; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author liuguohui |
||||
|
* @Date 2021/12/27 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel("手机端审批流程") |
||||
|
public class AppFlowRecordVo implements Vo { |
||||
|
|
||||
|
@ApiModelProperty(value = "任务名称") |
||||
|
private String taskName; |
||||
|
|
||||
|
@ApiModelProperty(value = "任务执行人名称") |
||||
|
private String assigneeName; |
||||
|
|
||||
|
@ApiModelProperty("任务执行人头像") |
||||
|
private String assigneeHeadImage; |
||||
|
|
||||
|
@ApiModelProperty("任务创建时间") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
|
private String createTime; |
||||
|
|
||||
|
@ApiModelProperty("任务完成时间") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
|
private String finishTime; |
||||
|
|
||||
|
@ApiModelProperty("任务耗时") |
||||
|
private String duration; |
||||
|
|
||||
|
@ApiModelProperty("意见类别 1正常(同意)意见 2退回意见 3 驳回意见 4 委派意见 5 转办意见 6 终止流程 7 撤回流程") |
||||
|
private String type; |
||||
|
|
||||
|
@ApiModelProperty("意见内容") |
||||
|
private String comment; |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.yxt.anrui.base.api.flow; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author liuguohui |
||||
|
* @Date 2021/12/27 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel("手机端查询待办订单任务详情") |
||||
|
public class AppFlowTaskQuery implements Query { |
||||
|
|
||||
|
@ApiModelProperty(value = "订单sid", required = true) |
||||
|
@NotBlank(message = "订单sid不能为空") |
||||
|
private String orderSid; |
||||
|
|
||||
|
@ApiModelProperty(value = "流程实例ID") |
||||
|
private String procInsId; |
||||
|
|
||||
|
@ApiModelProperty(value = "流程部署编号") |
||||
|
private String deployId; |
||||
|
} |
@ -0,0 +1,40 @@ |
|||||
|
package com.yxt.anrui.base.api.flow; |
||||
|
|
||||
|
import lombok.Builder; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @author XuanXuan |
||||
|
* @date 2021/3/28 15:50 |
||||
|
*/ |
||||
|
@Data |
||||
|
@Builder |
||||
|
/*@NoArgsConstructor |
||||
|
@AllArgsConstructor*/ |
||||
|
public class FlowCommentDto implements Serializable { |
||||
|
public FlowCommentDto() { |
||||
|
} |
||||
|
|
||||
|
public FlowCommentDto(String type, String comment) { |
||||
|
this.type = type; |
||||
|
this.comment = comment; |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private static final long serialVersionUID = 1929734226858491967L; |
||||
|
|
||||
|
/** |
||||
|
* 意见类别 1正常(同意)意见 2退回意见 3 驳回意见 4 委派意见 5 转办意见 6 终止流程 7 撤回流程 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 意见内容 |
||||
|
*/ |
||||
|
private String comment; |
||||
|
|
||||
|
} |
@ -0,0 +1,98 @@ |
|||||
|
package com.yxt.anrui.base.api.flow; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* <p>工作流任务<p> |
||||
|
* |
||||
|
* @author XuanXuan |
||||
|
* @date 2021-04-03 |
||||
|
*/ |
||||
|
@ApiModel("工作流任务相关-返回参数") |
||||
|
@Data |
||||
|
public class FlowTask extends BaseEntity implements Serializable { |
||||
|
|
||||
|
@ApiModelProperty("任务编号") |
||||
|
private String taskId; |
||||
|
|
||||
|
@ApiModelProperty("任务名称") |
||||
|
private String taskName; |
||||
|
|
||||
|
@ApiModelProperty("任务Key") |
||||
|
private String taskDefKey; |
||||
|
|
||||
|
@ApiModelProperty("任务执行人Id") |
||||
|
private Long assigneeId; |
||||
|
|
||||
|
@ApiModelProperty("部门名称") |
||||
|
private String deptName; |
||||
|
|
||||
|
@ApiModelProperty("流程发起人部门名称") |
||||
|
private String startDeptName; |
||||
|
|
||||
|
@ApiModelProperty("任务执行人名称") |
||||
|
private String assigneeName; |
||||
|
|
||||
|
@ApiModelProperty("任务执行人头像") |
||||
|
private String assigneeHeadImage; |
||||
|
|
||||
|
@ApiModelProperty("流程发起人Id") |
||||
|
private String startUserId; |
||||
|
|
||||
|
@ApiModelProperty("流程发起人名称") |
||||
|
private String startUserName; |
||||
|
|
||||
|
@ApiModelProperty("流程类型") |
||||
|
private String category; |
||||
|
|
||||
|
@ApiModelProperty("流程变量信息") |
||||
|
private Object procVars; |
||||
|
|
||||
|
@ApiModelProperty("局部变量信息") |
||||
|
private Object taskLocalVars; |
||||
|
|
||||
|
@ApiModelProperty("流程部署编号") |
||||
|
private String deployId; |
||||
|
|
||||
|
@ApiModelProperty("流程ID") |
||||
|
private String procDefId; |
||||
|
|
||||
|
@ApiModelProperty("流程key") |
||||
|
private String procDefKey; |
||||
|
|
||||
|
@ApiModelProperty("流程定义名称") |
||||
|
private String procDefName; |
||||
|
|
||||
|
@ApiModelProperty("流程定义内置使用版本") |
||||
|
private int procDefVersion; |
||||
|
|
||||
|
@ApiModelProperty("流程实例ID") |
||||
|
private String procInsId; |
||||
|
|
||||
|
@ApiModelProperty("历史流程实例ID") |
||||
|
private String hisProcInsId; |
||||
|
|
||||
|
@ApiModelProperty("任务耗时") |
||||
|
private String duration; |
||||
|
|
||||
|
@ApiModelProperty("任务意见") |
||||
|
private FlowCommentDto comment = new FlowCommentDto(); |
||||
|
|
||||
|
@ApiModelProperty("候选执行人") |
||||
|
private String candidate; |
||||
|
|
||||
|
@ApiModelProperty("任务创建时间") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
|
private Date createTime; |
||||
|
|
||||
|
@ApiModelProperty("任务完成时间") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
|
private Date finishTime; |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.yxt.anrui.base.api.flow; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author hanweijia |
||||
|
* @date 2021/11/06 13:53 |
||||
|
* @description |
||||
|
*/ |
||||
|
@Data |
||||
|
public class FlowTaskQuery implements Query { |
||||
|
private static final long serialVersionUID = -7395299971899690002L; |
||||
|
@ApiModelProperty(value = "用户sid", required = true) |
||||
|
private String userSid; |
||||
|
@ApiModelProperty(value = "zd", required = true) |
||||
|
private String zd; |
||||
|
@ApiModelProperty(value = "days", required = true) |
||||
|
private String days; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,51 @@ |
|||||
|
package com.yxt.anrui.base.api.flow; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.HashMap; |
||||
|
import java.util.List; |
||||
|
import java.util.Map; |
||||
|
|
||||
|
/** |
||||
|
* <p>流程任务<p> |
||||
|
* |
||||
|
* @author XuanXuan |
||||
|
* @date 2021-04-03 |
||||
|
*/ |
||||
|
@ApiModel("工作流任务相关--请求参数") |
||||
|
@Data |
||||
|
public class FlowTaskVo { |
||||
|
|
||||
|
@ApiModelProperty("任务Id") |
||||
|
private String taskId; |
||||
|
|
||||
|
@ApiModelProperty("用户Id") |
||||
|
private String userId; |
||||
|
@ApiModelProperty("用户Sid") |
||||
|
private String userSid; |
||||
|
|
||||
|
@ApiModelProperty("任务意见") |
||||
|
private String comment; |
||||
|
|
||||
|
@ApiModelProperty("流程实例Id") |
||||
|
private String instanceId; |
||||
|
|
||||
|
@ApiModelProperty("节点") |
||||
|
private String targetKey; |
||||
|
|
||||
|
@ApiModelProperty("流程变量信息") |
||||
|
private Map<String, Object> values=new HashMap<>(); |
||||
|
|
||||
|
@ApiModelProperty("审批人") |
||||
|
private String assignee; |
||||
|
|
||||
|
@ApiModelProperty("候选人") |
||||
|
private List<String> candidateUsers=new ArrayList<>(); |
||||
|
|
||||
|
@ApiModelProperty("审批组") |
||||
|
private List<String> candidateGroups=new ArrayList<>(); |
||||
|
|
||||
|
} |
@ -0,0 +1,43 @@ |
|||||
|
package com.yxt.anrui.base.api.flow; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
import java.util.Map; |
||||
|
|
||||
|
@Component |
||||
|
public class FlowableFallback implements FlowableFeign{ |
||||
|
@Override |
||||
|
public ResultBean businessStart(String procDefId, String userSid, Map<String, Object> variables) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean processPagerList(Integer pageNum, Integer pageSize) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean myprocess( String userSid, PagerQuery<FlowTaskQuery> taskQueryPagerQuery) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean getAppFlowRecordList(AppFlowTaskQuery query) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return rb.setMsg("接口anrui-buscenter/bussolutiondetail/getOrderTaskDetaile无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean stopProcess(FlowTaskVo flowTaskVo) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean deleteProcess(String procInsId) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,76 @@ |
|||||
|
package com.yxt.anrui.base.api.flow; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import io.swagger.annotations.ApiParam; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import javax.validation.Valid; |
||||
|
import java.util.List; |
||||
|
import java.util.Map; |
||||
|
|
||||
|
@Api(tags = "Flowable") |
||||
|
@FeignClient( |
||||
|
contextId = "anrui-buscenter-flow-Flowable", |
||||
|
name = "anrui-buscenter", |
||||
|
path = "v1/flow", |
||||
|
fallback = FlowableFallback.class) |
||||
|
public interface FlowableFeign { |
||||
|
/** |
||||
|
* 业务系统发起流程申请 |
||||
|
* @param procDefId 流程定义id |
||||
|
* @param userSid 用户sid |
||||
|
* @param variables form参数 |
||||
|
* @return |
||||
|
*/ |
||||
|
@PostMapping("/businessStart/{procDefId}/{userSid}") |
||||
|
public ResultBean businessStart(@ApiParam(value = "流程定义id") @PathVariable(value = "procDefId") String procDefId, |
||||
|
@ApiParam(value = "用户sid") @PathVariable(value = "userSid") String userSid, |
||||
|
@ApiParam(value = "变量集合,json对象") @RequestBody Map<String, Object> variables); |
||||
|
|
||||
|
/** |
||||
|
* 流程定义列表 一般业务中不需要查询该列表 |
||||
|
* @param pageNum 页数 |
||||
|
* @param pageSize 容量 |
||||
|
* @return |
||||
|
*/ |
||||
|
@PostMapping("/processPagerList/{userSid}") |
||||
|
public ResultBean processPagerList(@ApiParam(value = "当前页码", required = true) @RequestParam("pageNum") Integer pageNum, |
||||
|
@ApiParam(value = "每页条数", required = true) @RequestParam("pageSize") Integer pageSize); |
||||
|
|
||||
|
/** |
||||
|
* 我的流程 我发起的流程 |
||||
|
* @param userSid 用户sid |
||||
|
* @param taskQueryPagerQuery 查询参数 |
||||
|
* @return |
||||
|
*/ |
||||
|
@PostMapping("/myprocess/{userSid}") |
||||
|
public ResultBean myprocess(@ApiParam(value = "用户sid") @PathVariable(value = "userSid") String userSid, |
||||
|
@ApiParam(value = "变量集合,json对象") @RequestBody PagerQuery<FlowTaskQuery> taskQueryPagerQuery); |
||||
|
|
||||
|
@ApiOperation("手机端查询审批订单流程记录") |
||||
|
@PostMapping("/getAppFlowRecordList") |
||||
|
public ResultBean<List<AppFlowRecordVo>> getAppFlowRecordList(@RequestBody AppFlowTaskQuery query); |
||||
|
|
||||
|
/** |
||||
|
* 取消申请 |
||||
|
* @param flowTaskVo |
||||
|
* @return |
||||
|
*/ |
||||
|
@ApiOperation(value = "取消申请") |
||||
|
@PostMapping(value = "/task/stopProcess") |
||||
|
@ResponseBody |
||||
|
ResultBean stopProcess(@ApiParam(value = "工作流任务相关--请求参数")@RequestBody FlowTaskVo flowTaskVo); |
||||
|
/** |
||||
|
* 删除流程实例 |
||||
|
* @param procInsId 流程实例id |
||||
|
* @return |
||||
|
*/ |
||||
|
@ApiOperation(value = "删除流程实例") |
||||
|
@DeleteMapping(value = "/task/deleteProcess/{procInsId}") |
||||
|
@ResponseBody |
||||
|
ResultBean deleteProcess(@ApiParam(value = "流程实例id")@PathVariable(value = "procInsId")String procInsId); |
||||
|
} |
@ -0,0 +1,90 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.base.api.flow; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-parent <br/> |
||||
|
* File: TaskQuery.java <br/> |
||||
|
* Class: com.yxt.anrui.portal.biz.flow.TaskQuery <br/> |
||||
|
* Description: <描述类的功能>. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2021/10/27 下午3:36 <br/> |
||||
|
* |
||||
|
* @author popo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
public class TaskQuery implements Query { |
||||
|
|
||||
|
private String userSid; |
||||
|
private String days; |
||||
|
private String zd1; |
||||
|
private String processDefinitionId; |
||||
|
private String startTime; |
||||
|
|
||||
|
public String getZd1() { |
||||
|
return zd1; |
||||
|
} |
||||
|
|
||||
|
public void setZd1(String zd1) { |
||||
|
this.zd1 = zd1; |
||||
|
} |
||||
|
|
||||
|
public String getProcessDefinitionId() { |
||||
|
return processDefinitionId; |
||||
|
} |
||||
|
|
||||
|
public void setProcessDefinitionId(String processDefinitionId) { |
||||
|
this.processDefinitionId = processDefinitionId; |
||||
|
} |
||||
|
|
||||
|
public String getUserSid() { |
||||
|
return userSid; |
||||
|
} |
||||
|
|
||||
|
public void setUserSid(String userSid) { |
||||
|
this.userSid = userSid; |
||||
|
} |
||||
|
|
||||
|
public String getDays() { |
||||
|
return days; |
||||
|
} |
||||
|
|
||||
|
public void setDays(String days) { |
||||
|
this.days = days; |
||||
|
} |
||||
|
|
||||
|
public String getStartTime() { |
||||
|
return startTime; |
||||
|
} |
||||
|
|
||||
|
public void setStartTime(String startTime) { |
||||
|
this.startTime = startTime; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue