From a501b856b10b4b09927ce54f690f60fedde91856 Mon Sep 17 00:00:00 2001 From: 1178634255 <1178634255@qq.com> Date: Fri, 30 Jun 2023 14:39:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E8=B5=84=E8=B4=A8=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../glxp/api/entity/sup/UserCertEntity.java | 48 +++++++++++++++++++ .../glxp/api/req/purchase/certRequest.java | 7 +++ .../mybatis/mapper/sup/UserCertMapper.xml | 29 +++++++++-- 3 files changed, 80 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java b/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java index 912a246..f2791cd 100644 --- a/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java +++ b/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java @@ -127,5 +127,53 @@ public class UserCertEntity implements Serializable { @TableField(exist = false) private String key; + /** + * 配送企业ID外键 + */ + @TableField("CustomerId") + private String customerId; + + /** + * 有效期 + */ + @TableField("vailDate") + @JsonFormat(pattern = "yyyy-MM-dd") + private Date vailDate; + + + @TableField("remark1") + private String remark1; + + /** + * 证书类型:1:供应商;2.生产企业;3.产品品种 + */ + @TableField("type") + private Integer type; + + /** + * 生产企业ID外键 + */ + @TableField("manufacturerIdFk") + private String manufacturerIdFk; + + /** + * 产品证书ID外键 + */ + @TableField("productIdFk") + private String productIdFk; + + /** + * 审核状态 + */ + @TableField("auditStatus") + private Integer auditStatus; + + /** + * 审核说明 + */ + @TableField("auditComment") + private String auditComment; + + private static final long serialVersionUID = 1L; } diff --git a/src/main/java/com/glxp/api/req/purchase/certRequest.java b/src/main/java/com/glxp/api/req/purchase/certRequest.java index 97c5fb2..d5c0852 100644 --- a/src/main/java/com/glxp/api/req/purchase/certRequest.java +++ b/src/main/java/com/glxp/api/req/purchase/certRequest.java @@ -117,6 +117,13 @@ public class certRequest extends ListPageRequest { @ApiModelProperty(value = "更新时间") @TableField(value = "updateTime") private Date updateTime; + private String customerId; + private String manufacturerIdFk; + private String productIdFk; + private Integer auditStatus; + private Integer type; + + private String lastUpdateTime; private static final long serialVersionUID = 1L; } diff --git a/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml b/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml index 068d7a5..5fbcfd1 100644 --- a/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml +++ b/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml @@ -31,12 +31,33 @@ FROM user_cert_set c LEFT JOIN (SELECT * from user_cert WHERE businessId=#{registerId}) a ON c.name = a.name -