mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
【功能修复】CRM:回款管理导出报错的问题
This commit is contained in:
parent
39c0652c43
commit
87126d8385
@ -7,7 +7,4 @@ package cn.iocoder.yudao.module.bpm.enums;
|
|||||||
*/
|
*/
|
||||||
public interface DictTypeConstants {
|
public interface DictTypeConstants {
|
||||||
|
|
||||||
String TASK_ASSIGN_RULE_TYPE = "bpm_task_assign_rule_type"; // 任务分配规则类型
|
|
||||||
String TASK_ASSIGN_SCRIPT = "bpm_task_assign_script"; // 任务分配自定义脚本
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
package cn.iocoder.yudao.module.crm.controller.admin.receivable.vo.receivable;
|
package cn.iocoder.yudao.module.crm.controller.admin.receivable.vo.receivable;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
||||||
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
||||||
import cn.iocoder.yudao.module.crm.controller.admin.contract.vo.contract.CrmContractRespVO;
|
import cn.iocoder.yudao.module.crm.controller.admin.contract.vo.contract.CrmContractRespVO;
|
||||||
|
import cn.iocoder.yudao.module.crm.enums.DictTypeConstants;
|
||||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||||
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
@ -27,7 +30,8 @@ public class CrmReceivableRespVO {
|
|||||||
private Long planId;
|
private Long planId;
|
||||||
|
|
||||||
@Schema(description = "回款方式", example = "2")
|
@Schema(description = "回款方式", example = "2")
|
||||||
@ExcelProperty("回款方式")
|
@ExcelProperty(value = "回款方式", converter = DictConvert.class)
|
||||||
|
@DictFormat(DictTypeConstants.CRM_RECEIVABLE_RETURN_TYPE)
|
||||||
private Integer returnType;
|
private Integer returnType;
|
||||||
|
|
||||||
@Schema(description = "回款金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "9000")
|
@Schema(description = "回款金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "9000")
|
||||||
@ -39,7 +43,6 @@ public class CrmReceivableRespVO {
|
|||||||
private LocalDateTime returnTime;
|
private LocalDateTime returnTime;
|
||||||
|
|
||||||
@Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
@Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
||||||
@ExcelProperty("客户编号")
|
|
||||||
private Long customerId;
|
private Long customerId;
|
||||||
@Schema(description = "客户名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "test")
|
@Schema(description = "客户名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "test")
|
||||||
@ExcelProperty("客户名字")
|
@ExcelProperty("客户名字")
|
||||||
@ -49,11 +52,9 @@ public class CrmReceivableRespVO {
|
|||||||
@ExcelProperty("合同编号")
|
@ExcelProperty("合同编号")
|
||||||
private Long contractId;
|
private Long contractId;
|
||||||
@Schema(description = "合同信息")
|
@Schema(description = "合同信息")
|
||||||
@ExcelProperty("合同信息")
|
|
||||||
private CrmContractRespVO contract;
|
private CrmContractRespVO contract;
|
||||||
|
|
||||||
@Schema(description = "负责人的用户编号", example = "25682")
|
@Schema(description = "负责人的用户编号", example = "25682")
|
||||||
@ExcelProperty("负责人的用户编号")
|
|
||||||
private Long ownerUserId;
|
private Long ownerUserId;
|
||||||
@Schema(description = "负责人名字", example = "25682")
|
@Schema(description = "负责人名字", example = "25682")
|
||||||
@ExcelProperty("负责人名字")
|
@ExcelProperty("负责人名字")
|
||||||
@ -67,7 +68,8 @@ public class CrmReceivableRespVO {
|
|||||||
private String processInstanceId;
|
private String processInstanceId;
|
||||||
|
|
||||||
@Schema(description = "审批状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
|
@Schema(description = "审批状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
|
||||||
@ExcelProperty("审批状态")
|
@ExcelProperty(value = "审批状态", converter = DictConvert.class)
|
||||||
|
@DictFormat(DictTypeConstants.CRM_AUDIT_STATUS)
|
||||||
private Integer auditStatus;
|
private Integer auditStatus;
|
||||||
|
|
||||||
@Schema(description = "工作流编号", example = "备注")
|
@Schema(description = "工作流编号", example = "备注")
|
||||||
@ -83,7 +85,6 @@ public class CrmReceivableRespVO {
|
|||||||
private LocalDateTime updateTime;
|
private LocalDateTime updateTime;
|
||||||
|
|
||||||
@Schema(description = "创建人", example = "25682")
|
@Schema(description = "创建人", example = "25682")
|
||||||
@ExcelProperty("创建人")
|
|
||||||
private String creator;
|
private String creator;
|
||||||
@Schema(description = "创建人名字", example = "test")
|
@Schema(description = "创建人名字", example = "test")
|
||||||
@ExcelProperty("创建人名字")
|
@ExcelProperty("创建人名字")
|
||||||
|
Loading…
Reference in New Issue
Block a user