feat(qc/certificate): 新增证书类型字段
在QcCertificate实体及相关业务对象中新增certificateType字段,用于标识出厂合格证、检测报告、质保书等证书类型。调整涉及数据库映射、查询条件及导出映射。调整前,证书记录缺少类型分类;调整后,支持按证书类型进行筛选与统计,提升证书管理能力。
This commit is contained in:
@@ -70,6 +70,10 @@ public class QcCertificate extends BaseEntity {
|
||||
* 质保证明说明(注释)
|
||||
*/
|
||||
private String note;
|
||||
/**
|
||||
* 证书类型(如:出厂合格证、检测报告、质保书等)
|
||||
*/
|
||||
private String certificateType;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
@@ -82,6 +82,11 @@ public class QcCertificateBo extends BaseEntity {
|
||||
*/
|
||||
private String note;
|
||||
|
||||
/**
|
||||
* 证书类型(如:出厂合格证、检测报告、质保书等)
|
||||
*/
|
||||
private String certificateType;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
@@ -100,5 +100,11 @@ public class QcCertificateVo {
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 证书类型(如:出厂合格证、检测报告、质保书等)
|
||||
*/
|
||||
@ExcelProperty(value = "证书类型")
|
||||
private String certificateType;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -75,6 +75,7 @@ public class QcCertificateServiceImpl implements IQcCertificateService {
|
||||
lqw.le(bo.getApproveTimeEnd() != null, QcCertificate::getApproveTime, bo.getApproveTimeEnd());
|
||||
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getNote()), QcCertificate::getNote, bo.getNote());
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getCertificateType()), QcCertificate::getCertificateType, bo.getCertificateType());
|
||||
return lqw;
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
<result property="approveTime" column="approve_time"/>
|
||||
<result property="note" column="note"/>
|
||||
<result property="remark" column="remark"/>
|
||||
<result property="certificateType" column="certificate_type"/>
|
||||
<result property="delFlag" column="del_flag"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
<result property="createBy" column="create_by"/>
|
||||
|
||||
Reference in New Issue
Block a user