
97 changed files with 3208 additions and 1467 deletions
@ -0,0 +1,122 @@ |
|||||
|
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.anrui.base.api.basedistributorstaff.BaseDistributorStaffVo; |
||||
|
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("企业经销商sid") |
||||
|
private String sid; |
||||
|
|
||||
|
@ApiModelProperty("userSid") |
||||
|
private String userSid; |
||||
|
//@ApiModelProperty(value = "使用组织sid:List类型")
|
||||
|
//private String[][] useOrg;
|
||||
|
|
||||
|
@ApiModelProperty(value = "使用组织sid类型") |
||||
|
private String useOrg; |
||||
|
|
||||
|
@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 address; |
||||
|
|
||||
|
@ApiModelProperty(value = "通讯地址邮编") |
||||
|
private String zipCode; |
||||
|
|
||||
|
@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<BaseDistributorStaffVo> list; |
||||
|
@ApiModelProperty(value = "备案资料") |
||||
|
private List<BaseDistributorAppendixVo> baseDistributorAppendixs; |
||||
|
@ApiModelProperty(value = "备案账号") |
||||
|
private List<BaseDistributorBankVo> baseDistributorBanks; |
||||
|
} |
@ -0,0 +1,82 @@ |
|||||
|
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 sid; |
||||
|
|
||||
|
@ApiModelProperty("userSid") |
||||
|
private String userSid; |
||||
|
//以下为基础表的字段
|
||||
|
@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,17 @@ |
|||||
|
package com.yxt.anrui.base.api.basepostprice; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @Author dimengzhe |
||||
|
* @Date 2022/5/12 15:22 |
||||
|
* @Description |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BaseOrderPostPriceQuery implements Query { |
||||
|
private static final long serialVersionUID = -8496157517849599849L; |
||||
|
|
||||
|
private String brandSid; |
||||
|
private String roleSid; |
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.yxt.anrui.base.api.basepostprice; |
||||
|
|
||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @Author dimengzhe |
||||
|
* @Date 2022/5/12 15:19 |
||||
|
* @Description |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BaseOrderPostPriceVo implements Vo { |
||||
|
private static final long serialVersionUID = 7153675503206019053L; |
||||
|
@ApiModelProperty(value = "让价金额") |
||||
|
@JsonSerialize(using = ToStringSerializer.class) |
||||
|
private String price; |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.yxt.anrui.base.api.basevehiclepolicy; |
||||
|
|
||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @Author dimengzhe |
||||
|
* @Date 2022/5/13 10:28 |
||||
|
* @Description |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BaseVehiclePriceVo implements Vo { |
||||
|
private static final long serialVersionUID = 4695719404638327720L; |
||||
|
|
||||
|
@ApiModelProperty(value = "优惠金额") |
||||
|
@JsonSerialize(using = ToStringSerializer.class) |
||||
|
private String discountMoney; |
||||
|
} |
@ -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-base-flow-Flowable", |
||||
|
name = "anrui-base", |
||||
|
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; |
||||
|
} |
||||
|
} |
@ -1,13 +1,28 @@ |
|||||
<?xml version="1.0" encoding="UTF-8" ?> |
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.yxt.anrui.base.biz.basepostprice.BasePostPriceMapper"> |
<mapper namespace="com.yxt.anrui.base.biz.basepostprice.BasePostPriceMapper"> |
||||
<!-- <where> ${ew.sqlSegment} </where>--> |
<!-- <where> ${ew.sqlSegment} </where>--> |
||||
<!-- ${ew.customSqlSegment} --> |
<!-- ${ew.customSqlSegment} --> |
||||
<select id="selectPageVo" resultType="com.yxt.anrui.base.api.basepostprice.BasePostPriceVo"> |
<select id="selectPageVo" resultType="com.yxt.anrui.base.api.basepostprice.BasePostPriceVo"> |
||||
SELECT * FROM base_post_price <where> ${ew.sqlSegment} </where> |
SELECT * |
||||
</select> |
FROM base_post_price |
||||
|
<where> |
||||
|
${ew.sqlSegment} |
||||
|
</where> |
||||
|
</select> |
||||
|
|
||||
<select id="selectListAllVo" resultType="com.yxt.anrui.base.api.basepostprice.BasePostPriceVo"> |
<select id="selectListAllVo" resultType="com.yxt.anrui.base.api.basepostprice.BasePostPriceVo"> |
||||
SELECT * FROM base_post_price <where> ${ew.sqlSegment} </where> |
SELECT * |
||||
</select> |
FROM base_post_price |
||||
|
<where> |
||||
|
${ew.sqlSegment} |
||||
|
</where> |
||||
|
</select> |
||||
|
|
||||
|
<select id="selectPostPrice" resultType="com.yxt.anrui.base.api.basepostprice.BaseOrderPostPriceVo"> |
||||
|
select price |
||||
|
from base_post_price |
||||
|
where brandSid = #{brandSid} |
||||
|
and roleSid = #{roleSid} |
||||
|
</select> |
||||
</mapper> |
</mapper> |
@ -1,13 +1,28 @@ |
|||||
<?xml version="1.0" encoding="UTF-8" ?> |
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.yxt.anrui.base.biz.basevehiclepolicy.BaseVehiclePolicyMapper"> |
<mapper namespace="com.yxt.anrui.base.biz.basevehiclepolicy.BaseVehiclePolicyMapper"> |
||||
<!-- <where> ${ew.sqlSegment} </where>--> |
<!-- <where> ${ew.sqlSegment} </where>--> |
||||
<!-- ${ew.customSqlSegment} --> |
<!-- ${ew.customSqlSegment} --> |
||||
<select id="selectPageVo" resultType="com.yxt.anrui.base.api.basevehiclepolicy.BaseVehiclePolicyVo"> |
<select id="selectPageVo" resultType="com.yxt.anrui.base.api.basevehiclepolicy.BaseVehiclePolicyVo"> |
||||
SELECT * FROM base_vehicle_policy <where> ${ew.sqlSegment} </where> |
SELECT * |
||||
</select> |
FROM base_vehicle_policy |
||||
|
<where> |
||||
|
${ew.sqlSegment} |
||||
|
</where> |
||||
|
</select> |
||||
|
|
||||
<select id="selectListAllVo" resultType="com.yxt.anrui.base.api.basevehiclepolicy.BaseVehiclePolicyVo"> |
<select id="selectListAllVo" resultType="com.yxt.anrui.base.api.basevehiclepolicy.BaseVehiclePolicyVo"> |
||||
SELECT * FROM base_vehicle_policy <where> ${ew.sqlSegment} </where> |
SELECT * |
||||
</select> |
FROM base_vehicle_policy |
||||
|
<where> |
||||
|
${ew.sqlSegment} |
||||
|
</where> |
||||
|
</select> |
||||
|
|
||||
|
<select id="selectPrice" resultType="com.yxt.anrui.base.api.basevehiclepolicy.BaseVehiclePriceVo"> |
||||
|
select bd.discountMoney |
||||
|
from base_vehicle_policy bv |
||||
|
left join base_discountpackage bd on bd.sid = bv.policySid |
||||
|
where vehicleSid = #{vehicleSid} |
||||
|
</select> |
||||
</mapper> |
</mapper> |
@ -0,0 +1,87 @@ |
|||||
|
<template> |
||||
|
<div> |
||||
|
<!-- 此上传模板支持多文件上传--> |
||||
|
<el-upload action="" :data="datas" :accept="accept" :on-change="handleChange" :on-remove="handleRemove" :file-list="fileList_FuJian" :http-request="uploadSectionFile" :show-file-list="showfile" multiple> |
||||
|
<el-button size="small" type="primary">选择文件</el-button> |
||||
|
<div slot="tip" v-show="reminder == true" class="el-upload__tip">单个文件大小不允许超过100M,支持上传文件类型: {{ accept }}</div> |
||||
|
</el-upload> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import { upload } from '@/api/business/beiAn' |
||||
|
|
||||
|
export default { |
||||
|
props: { |
||||
|
placeholder: { |
||||
|
type: String, |
||||
|
default: '' |
||||
|
}, |
||||
|
// 由父组件根据不同需求传参数,设置接受上传的文件类型 |
||||
|
accept: { |
||||
|
type: String, |
||||
|
default: '' |
||||
|
}, |
||||
|
// 设置提示内容能否展示 |
||||
|
reminder: { |
||||
|
type: Boolean, |
||||
|
default: true |
||||
|
}, |
||||
|
// 设置是否显示已上传文件列表 |
||||
|
showfile: { |
||||
|
type: Boolean, |
||||
|
default: true |
||||
|
} |
||||
|
}, |
||||
|
data() { |
||||
|
return { |
||||
|
datas: null, |
||||
|
name: null, |
||||
|
accessToken: {}, |
||||
|
fileList_FuJian: [], |
||||
|
enclosure: '', |
||||
|
file_add: '', |
||||
|
idsz: '', |
||||
|
file_catch: '', |
||||
|
files_list: [] |
||||
|
} |
||||
|
}, |
||||
|
methods: { |
||||
|
show(val) { |
||||
|
this.fileList_FuJian = [] |
||||
|
this.fileList_FuJian = val |
||||
|
}, |
||||
|
handleChange(file, fileList) { |
||||
|
}, |
||||
|
handleRemove(file, fileList) { |
||||
|
this.$emit('handleRemove', file) |
||||
|
}, |
||||
|
// 上传文件 FrontPhoto |
||||
|
uploadSectionFile(params) { |
||||
|
const file = params.file |
||||
|
// 根据后台需求数据格式 |
||||
|
const form = new FormData() |
||||
|
// 文件对象 |
||||
|
form.append('file', file) |
||||
|
// 项目封装的请求方法,下面做简单介绍 |
||||
|
upload(form).then((res) => { |
||||
|
// 自行处理各种情况 |
||||
|
if (res.success) { |
||||
|
this.$emit('handleSuccess', res) |
||||
|
} |
||||
|
if (res.msg === '操作成功') { |
||||
|
this.$message({ |
||||
|
message: '上传成功!', |
||||
|
type: 'success' |
||||
|
}) |
||||
|
} |
||||
|
}).catch((err) => { |
||||
|
console.log(err) |
||||
|
// 如果等于备案,就调备案图片上传接口 |
||||
|
}) |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style scoped></style> |
File diff suppressed because it is too large
@ -0,0 +1,27 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.busmaindeposit.pc; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @Author dimengzhe |
||||
|
* @Date 2022/5/12 9:22 |
||||
|
* @Description |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PcBusDepositQuery implements Query { |
||||
|
private static final long serialVersionUID = -8450815150713107831L; |
||||
|
|
||||
|
@ApiModelProperty(value = "付款人姓名") |
||||
|
private String draweeName; |
||||
|
@ApiModelProperty(value = "创建开始日期") |
||||
|
private String createDateStart; |
||||
|
@ApiModelProperty(value = "创建结束日期") |
||||
|
private String createDateEnd; |
||||
|
|
||||
|
@ApiModelProperty(value = "业务员sid") |
||||
|
private String staffSid; |
||||
|
@ApiModelProperty(value = "客户sid") |
||||
|
private String customerSid; |
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.busmaindeposit.pc; |
||||
|
|
||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @Author dimengzhe |
||||
|
* @Date 2022/5/11 16:13 |
||||
|
* @Description |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PcBusDepositVo implements Vo { |
||||
|
private static final long serialVersionUID = 8256642059267742328L; |
||||
|
|
||||
|
@ApiModelProperty(value = "节点状态") |
||||
|
private String nodeState; |
||||
|
|
||||
|
@ApiModelProperty(value = "单据类型") |
||||
|
private String depositBillType; |
||||
|
|
||||
|
@ApiModelProperty(value = "单据编号") |
||||
|
private String billNo; |
||||
|
@ApiModelProperty(value = "制单日期") |
||||
|
private String createDate; |
||||
|
@ApiModelProperty(value = "销售专员") |
||||
|
private String staffName; |
||||
|
|
||||
|
@ApiModelProperty(value = "客户付款人") |
||||
|
private String draweeName; |
||||
|
@ApiModelProperty(value = "联系电话") |
||||
|
private String draweeMobile; |
||||
|
@ApiModelProperty(value = "订金") |
||||
|
@JsonSerialize(using = ToStringSerializer.class) |
||||
|
private String deposit; |
||||
|
@ApiModelProperty(value = "已使用订金") |
||||
|
@JsonSerialize(using = ToStringSerializer.class) |
||||
|
private String usedDeposit; |
||||
|
@ApiModelProperty(value = "预定车辆") |
||||
|
private Integer vehicleNum; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bussalesorder; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @Author dimengzhe |
||||
|
* @Date 2022/5/13 10:59 |
||||
|
* @Description |
||||
|
*/ |
||||
|
@Data |
||||
|
public class BusSalesOrderPowerVo implements Vo { |
||||
|
private static final long serialVersionUID = -7297987001568904641L; |
||||
|
|
||||
|
@ApiModelProperty(value = "销售支持部经理是否有权限") |
||||
|
private Boolean isHavePower; |
||||
|
@ApiModelProperty(value = "总经理是否有权限") |
||||
|
private Boolean isPower; |
||||
|
} |
Loading…
Reference in new issue