From f77a9d8f16bae6b4cf809891f037c038070e81ed Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 19 六月 2025 17:12:50 +0800 Subject: [PATCH] 工单,数据中心用户查看数据的权限,合同考核每日,以及导出每日和按月 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java | 125 ++++++----------------------------------- 1 files changed, 19 insertions(+), 106 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java index 8f34f5a..945fa0b 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/ContractResult.java @@ -1,140 +1,53 @@ package com.ycl.platform.domain.entity; import annotation.Excel; +import com.baomidou.mybatisplus.annotation.TableLogic; +import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; -import com.ycl.system.entity.BaseEntity; -import org.apache.commons.lang.builder.ToStringBuilder; -import org.apache.commons.lang.builder.ToStringStyle; +import lombok.Data; import java.math.BigDecimal; import java.util.Date; /** - * 鍚堝悓鑰冩牳缁撴灉瀵硅薄 t_default_result + * 鑰冩牳缁撴灉瀵硅薄 t_check_result * * @author ruoyi * @date 2024-04-01 */ -public class ContractResult extends BaseEntity -{ +@TableName("t_contract_result") +@Data +public class ContractResult { private static final long serialVersionUID = 1L; - /** */ private Long id; - /** 鑰冩牳鍗曚綅 */ - @Excel(name = "鑰冩牳鍗曚綅") + @Excel(name = "鑰冩牳瀵硅薄") private Long unitId; - /** 鑰冩牳鍙戝竷 */ + @Excel(name = "杩愮淮鍚堝悓") + private Long contractId; + @Excel(name = "鑰冩牳鍙戝竷") private Long publishId; - /** 鑰冩牳鍒嗘暟 */ @Excel(name = "鑰冩牳鍒嗘暟") - private BigDecimal defaultScore; + private BigDecimal score; - /** 瀹℃牳鐘舵�� */ - @Excel(name = "瀹℃牳鐘舵��") - private Long auditState; - - /** 鏄惁鍙戝竷 */ @Excel(name = "鏄惁鍙戝竷") - private Long publish; + private Integer publish; - /** 鑰冩牳鏃堕棿 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "鑰冩牳鏃堕棿", width = 30, dateFormat = "yyyy-MM-dd") private Date checkTime; - /** 閫昏緫鍒犻櫎 */ - private String deleted; + @TableLogic + private Integer deleted; - public void setId(Long id) - { - this.id = id; - } + private Date updateTime; - public Long getId() - { - return id; - } - public void setUnitId(Long unitId) - { - this.unitId = unitId; - } + private Integer whichYear; + private Integer whichMonth; - public Long getUnitId() - { - return unitId; - } - public void setPublishId(Long publishId) - { - this.publishId = publishId; - } - - public Long getPublishId() - { - return publishId; - } - public void setDefaultScore(BigDecimal defaultScore) - { - this.defaultScore = defaultScore; - } - - public BigDecimal getDefaultScore() - { - return defaultScore; - } - public void setAuditState(Long auditState) - { - this.auditState = auditState; - } - - public Long getAuditState() - { - return auditState; - } - public void setPublish(Long publish) - { - this.publish = publish; - } - - public Long getPublish() - { - return publish; - } - public void setCheckTime(Date checkTime) - { - this.checkTime = checkTime; - } - - public Date getCheckTime() - { - return checkTime; - } - public void setDeleted(String deleted) - { - this.deleted = deleted; - } - - public String getDeleted() - { - return deleted; - } - - @Override - public String toString() { - return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) - .append("id", getId()) - .append("unitId", getUnitId()) - .append("publishId", getPublishId()) - .append("defaultScore", getDefaultScore()) - .append("auditState", getAuditState()) - .append("publish", getPublish()) - .append("checkTime", getCheckTime()) - .append("updateTime", getUpdateTime()) - .append("deleted", getDeleted()) - .toString(); - } + private Integer whichDay; } -- Gitblit v1.8.0