Merge branch 'master' of http://pms.dtyx.net:3000/cuizhibin/znpt-backend
This commit is contained in:
commit
7034fecc0b
|
@ -1,17 +1,20 @@
|
||||||
package com.dite.znpt.domain.entity;
|
package com.dite.znpt.domain.entity;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
import java.util.Date;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import java.io.Serial;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import java.io.Serializable;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.baomidou.mybatisplus.annotation.*;
|
|
||||||
import com.dite.znpt.domain.AuditableEntity;
|
import com.dite.znpt.domain.AuditableEntity;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
import com.alibaba.excel.annotation.ExcelProperty;
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author huise23
|
* @author huise23
|
||||||
|
@ -82,6 +85,11 @@ public class ContractEntity extends AuditableEntity implements Serializable {
|
||||||
@TableField("payment_date")
|
@TableField("payment_date")
|
||||||
private Date paymentDate;
|
private Date paymentDate;
|
||||||
|
|
||||||
|
@ExcelProperty("履约时间期限")
|
||||||
|
@ApiModelProperty("履约时间期限")
|
||||||
|
@TableField("performance_deadline")
|
||||||
|
private Date performanceDeadline;
|
||||||
|
|
||||||
@ExcelProperty("付款地址/交付地址")
|
@ExcelProperty("付款地址/交付地址")
|
||||||
@ApiModelProperty("付款地址/交付地址")
|
@ApiModelProperty("付款地址/交付地址")
|
||||||
@TableField("payment_address")
|
@TableField("payment_address")
|
||||||
|
@ -106,5 +114,10 @@ public class ContractEntity extends AuditableEntity implements Serializable {
|
||||||
@ApiModelProperty("合同状态")
|
@ApiModelProperty("合同状态")
|
||||||
@TableField("contract_status")
|
@TableField("contract_status")
|
||||||
private String contractStatus;
|
private String contractStatus;
|
||||||
|
|
||||||
|
@ExcelProperty("合同内容")
|
||||||
|
@ApiModelProperty("合同内容")
|
||||||
|
@TableField("contract_text")
|
||||||
|
private String contractText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
package com.dite.znpt.domain.vo;
|
package com.dite.znpt.domain.vo;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.util.Date;
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author huise23
|
* @author huise23
|
||||||
* @date 2025/07/21 21:13
|
* @date 2025/07/21 21:13
|
||||||
|
@ -57,6 +57,9 @@ public class ContractListReq implements Serializable {
|
||||||
@ApiModelProperty("付款日期/交付日期")
|
@ApiModelProperty("付款日期/交付日期")
|
||||||
private Date paymentDate;
|
private Date paymentDate;
|
||||||
|
|
||||||
|
@ApiModelProperty("履约时间期限")
|
||||||
|
private Date performanceDeadline;
|
||||||
|
|
||||||
@ApiModelProperty("付款地址/交付地址")
|
@ApiModelProperty("付款地址/交付地址")
|
||||||
private String paymentAddress;
|
private String paymentAddress;
|
||||||
|
|
||||||
|
@ -72,5 +75,8 @@ public class ContractListReq implements Serializable {
|
||||||
@ApiModelProperty("合同状态")
|
@ApiModelProperty("合同状态")
|
||||||
private String contractStatus;
|
private String contractStatus;
|
||||||
|
|
||||||
|
@ApiModelProperty("合同内容")
|
||||||
|
private String contractText;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,14 @@
|
||||||
package com.dite.znpt.domain.vo;
|
package com.dite.znpt.domain.vo;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.util.Date;
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.*;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
import com.alibaba.excel.annotation.ExcelProperty;
|
|
||||||
|
|
||||||
import com.dite.znpt.util.ValidationGroup;
|
import java.io.Serial;
|
||||||
import javax.validation.constraints.NotBlank;
|
import java.io.Serializable;
|
||||||
import javax.validation.constraints.NotNull;
|
import java.math.BigDecimal;
|
||||||
import javax.validation.constraints.Size;
|
import java.util.Date;
|
||||||
/**
|
/**
|
||||||
* @author huise23
|
* @author huise23
|
||||||
* @date 2025/07/21 21:13
|
* @date 2025/07/21 21:13
|
||||||
|
@ -62,6 +55,9 @@ public class ContractReq implements Serializable {
|
||||||
@ApiModelProperty("付款日期/交付日期")
|
@ApiModelProperty("付款日期/交付日期")
|
||||||
private Date paymentDate;
|
private Date paymentDate;
|
||||||
|
|
||||||
|
@ApiModelProperty("履约时间期限")
|
||||||
|
private Date performanceDeadline;
|
||||||
|
|
||||||
@ApiModelProperty("付款地址/交付地址")
|
@ApiModelProperty("付款地址/交付地址")
|
||||||
private String paymentAddress;
|
private String paymentAddress;
|
||||||
|
|
||||||
|
@ -76,5 +72,8 @@ public class ContractReq implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty("合同状态")
|
@ApiModelProperty("合同状态")
|
||||||
private String contractStatus;
|
private String contractStatus;
|
||||||
|
|
||||||
|
@ApiModelProperty("合同内容")
|
||||||
|
private String contractText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,9 @@
|
||||||
<if test="paymentDate != null">
|
<if test="paymentDate != null">
|
||||||
and a.payment_date = #{paymentDate}
|
and a.payment_date = #{paymentDate}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="performanceDeadline != null">
|
||||||
|
and a.performance_deadline = #{performanceDeadline}
|
||||||
|
</if>
|
||||||
<if test="paymentAddress != null and paymentAddress != ''">
|
<if test="paymentAddress != null and paymentAddress != ''">
|
||||||
and a.payment_address like concat ('%', #{paymentAddress}, '%')
|
and a.payment_address like concat ('%', #{paymentAddress}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
@ -68,6 +71,9 @@
|
||||||
<if test="contractStatus != null and contractStatus != ''">
|
<if test="contractStatus != null and contractStatus != ''">
|
||||||
and a.contract_status like concat ('%', #{contractStatus}, '%')
|
and a.contract_status like concat ('%', #{contractStatus}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
<if test="contractText != null">
|
||||||
|
and a.contract_text like concat ('%', #{contractText}, '%')
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
Loading…
Reference in New Issue