parent
824f7d1653
commit
935b8b1883
15 changed files with 379 additions and 154 deletions
@ -0,0 +1,76 @@ |
||||
package com.daqing.financial.guarantee.model.response; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.metadata.BaseRowModel; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.ToString; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 业务统计拒绝列表导出到excel实体类 |
||||
* |
||||
* @auther River |
||||
* @date 2021/1/4 15:11 |
||||
*/ |
||||
@Data |
||||
@ToString |
||||
public class DgStatisticsExcelRefuseResponse extends BaseRowModel implements Serializable { |
||||
|
||||
@ApiModelProperty("业务编号") |
||||
@ExcelProperty(value = "业务编号",index = 0) |
||||
private String businessCode; |
||||
|
||||
@ApiModelProperty("客户姓名") |
||||
@ExcelProperty(value = "客户姓名",index = 1) |
||||
private String name; |
||||
|
||||
@ApiModelProperty("客户联系方式") |
||||
@ExcelProperty(value = "联系电话",index = 2) |
||||
private String phone; |
||||
|
||||
@ApiModelProperty("业务类型") |
||||
@ExcelProperty(value = "产品类型",index = 3) |
||||
private String businessType; |
||||
|
||||
@ApiModelProperty("申请额度") |
||||
@ExcelProperty(value = "金额",index = 4) |
||||
private Double applyAmount; |
||||
|
||||
@ApiModelProperty("申请期限") |
||||
@ExcelProperty(value = "期数",index = 5) |
||||
private String applyTime; |
||||
|
||||
@ApiModelProperty("申请日期") |
||||
@ExcelProperty(value = "申请日期",index = 6) |
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
private Date createTime; |
||||
|
||||
@ApiModelProperty("拒绝人") |
||||
@ExcelProperty(value = "当前审批人",index = 7) |
||||
private String refuseName; |
||||
|
||||
@ApiModelProperty("拒绝节点id") |
||||
@ExcelProperty(value = "任务节点",index = 8) |
||||
private Integer processId; |
||||
|
||||
@ApiModelProperty("拒绝时间") |
||||
@ExcelProperty(value = "拒绝时间",index = 9) |
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
private Date refuseTime; |
||||
|
||||
@ApiModelProperty("拒绝原因") |
||||
@ExcelProperty(value = "拒绝原因",index = 10) |
||||
private String refuseOpinion; |
||||
|
||||
@ApiModelProperty("提单人姓名") |
||||
@ExcelProperty(value = "提单人",index = 11) |
||||
private String employeeName; |
||||
|
||||
@ApiModelProperty("部门") |
||||
@ExcelProperty(value = "所属部门",index = 12) |
||||
private String department; |
||||
} |
@ -0,0 +1,69 @@ |
||||
package com.daqing.financial.guarantee.model.response; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.metadata.BaseRowModel; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.ToString; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 业务统计列表导出到excel实体类 |
||||
* |
||||
* @auther River |
||||
* @date 2021/1/4 14:48 |
||||
*/ |
||||
@Data |
||||
@ToString |
||||
public class DgStatisticsExcelResponse extends BaseRowModel implements Serializable { |
||||
|
||||
@ApiModelProperty("业务编号") |
||||
@ExcelProperty(value = "业务编号",index = 0) |
||||
private String businessCode; |
||||
|
||||
@ApiModelProperty("客户姓名") |
||||
@ExcelProperty(value = "客户姓名",index = 1) |
||||
private String name; |
||||
|
||||
@ApiModelProperty("客户联系方式") |
||||
@ExcelProperty(value = "联系电话",index = 2) |
||||
private String phone; |
||||
|
||||
@ApiModelProperty("业务类型") |
||||
@ExcelProperty(value = "产品类型",index = 3) |
||||
private String businessType; |
||||
|
||||
@ApiModelProperty("申请额度") |
||||
@ExcelProperty(value = "金额",index = 4) |
||||
private Double applyAmount; |
||||
|
||||
@ApiModelProperty("申请期限") |
||||
@ExcelProperty(value = "期数",index = 5) |
||||
private String applyTime; |
||||
|
||||
@ApiModelProperty("申请日期") |
||||
@ExcelProperty(value = "申请日期",index = 6) |
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
private Date createTime; |
||||
|
||||
@ApiModelProperty("完成任务节点id") |
||||
@ExcelProperty(value = "完成任务节点id",index = 7) |
||||
private Integer processId; |
||||
|
||||
@ApiModelProperty("最新操作时间") |
||||
@ExcelProperty(value = "任务分配时间",index = 8) |
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
private Date operationTime; |
||||
|
||||
@ApiModelProperty("提单人姓名") |
||||
@ExcelProperty(value = "提单人",index = 9) |
||||
private String employeeName; |
||||
|
||||
@ApiModelProperty("部门") |
||||
@ExcelProperty(value = "所属部门",index = 10) |
||||
private String department; |
||||
|
||||
} |
@ -0,0 +1,53 @@ |
||||
package com.daqing.framework.domain.hrms.response; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.metadata.BaseRowModel; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.ToString; |
||||
import org.springframework.data.annotation.Transient; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 员工列表导出到excel实体类 |
||||
* |
||||
* @auther River |
||||
* @date 2021/1/4 15:27 |
||||
*/ |
||||
@Data |
||||
@ToString |
||||
public class EmployeeExcelResponse extends BaseRowModel implements Serializable { |
||||
|
||||
@ApiModelProperty("姓名") |
||||
@ExcelProperty(value = "姓名",index = 0) |
||||
private String name; |
||||
|
||||
@ExcelProperty(value = "账号",index = 1) |
||||
@ApiModelProperty("账号") |
||||
private String account; |
||||
|
||||
@ExcelProperty(value = "工号",index = 2) |
||||
@ApiModelProperty("工号") |
||||
private String jobNumber; |
||||
|
||||
@ExcelProperty(value = "部门",index = 3) |
||||
@ApiModelProperty("部门") |
||||
@Transient |
||||
private String departmentNameList; |
||||
|
||||
@ExcelProperty(value = "职位",index = 4) |
||||
@ApiModelProperty("职位") |
||||
private String positionNameList; |
||||
|
||||
@ExcelProperty(value = "角色",index = 5) |
||||
@ApiModelProperty("角色") |
||||
private String roleNameList; |
||||
|
||||
@ExcelProperty(value = "创建时间",index = 6) |
||||
@ApiModelProperty("创建时间") |
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
private Date createTime; |
||||
} |
Loading…
Reference in new issue