|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
import com.qmth.sop.common.enums.FlowStatusEnum;
|
|
|
+import com.qmth.sop.common.enums.ProductTypeEnum;
|
|
|
import com.qmth.sop.common.enums.TFCustomTypeEnum;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
@@ -20,13 +21,10 @@ import java.util.Objects;
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
public class WorkTaskResult implements Serializable {
|
|
|
|
|
|
- @ApiModelProperty(value = "用户id")
|
|
|
+ @ApiModelProperty(value = "待办人id")
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
private Long userId;
|
|
|
|
|
|
- @ApiModelProperty(value = "用户姓名")
|
|
|
- private String realName;
|
|
|
-
|
|
|
@ApiModelProperty(value = "流程状态")
|
|
|
private FlowStatusEnum status;
|
|
|
|
|
@@ -70,12 +68,6 @@ public class WorkTaskResult implements Serializable {
|
|
|
@ApiModelProperty(value = "流程类型str")
|
|
|
private String typeStr;
|
|
|
|
|
|
- @ApiModelProperty(value = "用户登录名")
|
|
|
- private String loginName;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "用户手机号")
|
|
|
- private String mobileNumber;
|
|
|
-
|
|
|
@ApiModelProperty(value = "流程编号")
|
|
|
private String code;
|
|
|
|
|
@@ -85,21 +77,152 @@ public class WorkTaskResult implements Serializable {
|
|
|
@ApiModelProperty(value = "动态表单")
|
|
|
FlowTaskResult setupMap;
|
|
|
|
|
|
+ @ApiModelProperty(value = "实体id")
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long objId;
|
|
|
|
|
|
- public FlowTaskResult getSetupMap() {
|
|
|
- return setupMap;
|
|
|
+ @ApiModelProperty(value = "crm单号")
|
|
|
+ private String crmNo;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "crm名称")
|
|
|
+ private String crmName;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "服务单元id")
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long serviceId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "服务单元名称")
|
|
|
+ private String serviceName;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "服务单元类型,OFFICE:教务处,CLOUD_MARK:云阅卷")
|
|
|
+ private ProductTypeEnum serviceType;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "服务单元类型str")
|
|
|
+ private String serviceTypeStr;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "客户id")
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long customId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "客户名称")
|
|
|
+ private String customName;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "发起人id")
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long createId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "发起人登录名")
|
|
|
+ private String createLoginName;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "发起人真实姓名")
|
|
|
+ private String createRealName;
|
|
|
+
|
|
|
+ public Long getObjId() {
|
|
|
+ return objId;
|
|
|
}
|
|
|
|
|
|
- public void setSetupMap(FlowTaskResult setupMap) {
|
|
|
- this.setupMap = setupMap;
|
|
|
+ public void setObjId(Long objId) {
|
|
|
+ this.objId = objId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCrmNo() {
|
|
|
+ return crmNo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCrmNo(String crmNo) {
|
|
|
+ this.crmNo = crmNo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCrmName() {
|
|
|
+ return crmName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCrmName(String crmName) {
|
|
|
+ this.crmName = crmName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getServiceId() {
|
|
|
+ return serviceId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setServiceId(Long serviceId) {
|
|
|
+ this.serviceId = serviceId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getServiceName() {
|
|
|
+ return serviceName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setServiceName(String serviceName) {
|
|
|
+ this.serviceName = serviceName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public ProductTypeEnum getServiceType() {
|
|
|
+ return serviceType;
|
|
|
}
|
|
|
|
|
|
- public String getRealName() {
|
|
|
- return realName;
|
|
|
+ public void setServiceType(ProductTypeEnum serviceType) {
|
|
|
+ this.serviceType = serviceType;
|
|
|
}
|
|
|
|
|
|
- public void setRealName(String realName) {
|
|
|
- this.realName = realName;
|
|
|
+ public String getServiceTypeStr() {
|
|
|
+ if (Objects.nonNull(serviceType)) {
|
|
|
+ return serviceType.getTitle();
|
|
|
+ } else {
|
|
|
+ return serviceTypeStr;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setServiceTypeStr(String serviceTypeStr) {
|
|
|
+ this.serviceTypeStr = serviceTypeStr;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getCustomId() {
|
|
|
+ return customId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCustomId(Long customId) {
|
|
|
+ this.customId = customId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCustomName() {
|
|
|
+ return customName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCustomName(String customName) {
|
|
|
+ this.customName = customName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getCreateId() {
|
|
|
+ return createId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateId(Long createId) {
|
|
|
+ this.createId = createId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCreateLoginName() {
|
|
|
+ return createLoginName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateLoginName(String createLoginName) {
|
|
|
+ this.createLoginName = createLoginName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCreateRealName() {
|
|
|
+ return createRealName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateRealName(String createRealName) {
|
|
|
+ this.createRealName = createRealName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public FlowTaskResult getSetupMap() {
|
|
|
+ return setupMap;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSetupMap(FlowTaskResult setupMap) {
|
|
|
+ this.setupMap = setupMap;
|
|
|
}
|
|
|
|
|
|
public TFCustomTypeEnum getType() {
|
|
@@ -122,22 +245,6 @@ public class WorkTaskResult implements Serializable {
|
|
|
this.typeStr = typeStr;
|
|
|
}
|
|
|
|
|
|
- public String getLoginName() {
|
|
|
- return loginName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setLoginName(String loginName) {
|
|
|
- this.loginName = loginName;
|
|
|
- }
|
|
|
-
|
|
|
- public String getMobileNumber() {
|
|
|
- return mobileNumber;
|
|
|
- }
|
|
|
-
|
|
|
- public void setMobileNumber(String mobileNumber) {
|
|
|
- this.mobileNumber = mobileNumber;
|
|
|
- }
|
|
|
-
|
|
|
public String getCode() {
|
|
|
return code;
|
|
|
}
|