08-21-优化
This commit is contained in:
@ -98,7 +98,7 @@ public class TenderSupplierInputController extends BaseController {
|
||||
public R<Void> edit(TenderSupplierInputBo bo,@RequestPart("file") MultipartFile file) {
|
||||
return toAjax(tenderSupplierInputService.updateByBo(bo,file));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除供应商入库
|
||||
*
|
||||
|
@ -4,8 +4,11 @@ import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
@ -24,7 +27,7 @@ public class TenderSupplierInput extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
@ -97,12 +100,15 @@ public class TenderSupplierInput extends BaseEntity {
|
||||
/**
|
||||
* 发证日期
|
||||
*/
|
||||
private Date issueDate;
|
||||
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String issueDate;
|
||||
|
||||
/**
|
||||
* 证书有效期
|
||||
*/
|
||||
private Date certificateValidity;
|
||||
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String certificateValidity;
|
||||
// private LocalDateTime certificateValidity;
|
||||
|
||||
/**
|
||||
* 近三年营业额
|
||||
@ -117,11 +123,13 @@ public class TenderSupplierInput extends BaseEntity {
|
||||
/**
|
||||
* 安全生产许可证发证日期
|
||||
*/
|
||||
private Date safeCodeData;
|
||||
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String safeCodeData;
|
||||
|
||||
/**
|
||||
* 证书有效期
|
||||
*/
|
||||
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String safeCertificateValidity;
|
||||
|
||||
/**
|
||||
|
@ -7,6 +7,9 @@ import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import jakarta.validation.constraints.*;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
@ -94,12 +97,15 @@ public class TenderSupplierInputBo extends BaseEntity {
|
||||
/**
|
||||
* 发证日期
|
||||
*/
|
||||
private Date issueDate;
|
||||
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String issueDate;
|
||||
|
||||
/**
|
||||
* 证书有效期
|
||||
*/
|
||||
private Date certificateValidity;
|
||||
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String certificateValidity;
|
||||
// private LocalDateTime certificateValidity;
|
||||
|
||||
/**
|
||||
* 近三年营业额
|
||||
@ -114,12 +120,14 @@ public class TenderSupplierInputBo extends BaseEntity {
|
||||
/**
|
||||
* 安全生产许可证发证日期
|
||||
*/
|
||||
private Date safeCodeData;
|
||||
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String safeCodeData;
|
||||
|
||||
/**
|
||||
* 证书有效期
|
||||
*/
|
||||
private Date safeCertificateValidity;
|
||||
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String safeCertificateValidity;
|
||||
|
||||
/**
|
||||
* 注册注册人员的数量
|
||||
|
@ -1,5 +1,6 @@
|
||||
package org.dromara.tender.domain.vo;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
|
||||
import org.dromara.tender.domain.TenderSupplierInput;
|
||||
@ -114,13 +115,14 @@ public class TenderSupplierInputVo implements Serializable {
|
||||
* 发证日期
|
||||
*/
|
||||
@ExcelProperty(value = "发证日期")
|
||||
private Date issueDate;
|
||||
private String issueDate;
|
||||
|
||||
/**
|
||||
* 证书有效期
|
||||
*/
|
||||
@ExcelProperty(value = "证书有效期")
|
||||
private Date certificateValidity;
|
||||
private String certificateValidity;
|
||||
// private LocalDateTime certificateValidity;
|
||||
|
||||
/**
|
||||
* 近三年营业额
|
||||
@ -138,7 +140,7 @@ public class TenderSupplierInputVo implements Serializable {
|
||||
* 安全生产许可证发证日期
|
||||
*/
|
||||
@ExcelProperty(value = "安全生产许可证发证日期")
|
||||
private Date safeCodeData;
|
||||
private String safeCodeData;
|
||||
|
||||
/**
|
||||
* 证书有效期
|
||||
|
Reference in New Issue
Block a user