其他档案档案-归档状态 及 新增字段

new
parent 40c6c6f272
commit 7763960c6d

@ -0,0 +1,16 @@
--
alter table electronic_other alter column archive_state set default 0;
--
ALTER TABLE electronic_other CHANGE column archive_state file_status varchar(64);
--
ALTER TABLE electronic_other ADD COLUMN `file_type` varchar(64) NULL DEFAULT NULL COMMENT '';
ALTER TABLE electronic_other ADD COLUMN `site` varchar(64) NULL DEFAULT NULL COMMENT '';
ALTER TABLE electronic_other ADD COLUMN `files_num` varchar(64) NULL DEFAULT NULL COMMENT '';
-- ID ID ID
ALTER TABLE electronic_other ADD COLUMN `organization_id` bigint(20) NULL DEFAULT NULL COMMENT 'ID';
ALTER TABLE electronic_other ADD COLUMN `depot_id` bigint(20) NULL DEFAULT NULL COMMENT 'ID';
ALTER TABLE electronic_other ADD COLUMN `cabinet_id` bigint(20) NULL DEFAULT NULL COMMENT 'ID';

@ -72,7 +72,7 @@ public class ElectronicOtherBaseVO {
private Long userId;
@Schema(description = "归档状态")
private String archiveState;
private String fileStatus;
@Schema(description = "立档单位ID")
private Long organizationId;

@ -80,7 +80,7 @@ public class ElectronicOtherExcelVO {
private Long userId;
@ExcelProperty("归档状态")
private String archiveState;
private String fileStatus;
@ExcelProperty("立档单位ID")
private Long organizationId;

@ -75,7 +75,7 @@ public class ElectronicOtherExportReqVO {
private Long userId;
@Schema(description = "归档状态")
private String archiveState;
private String fileStatus;
@Schema(description = "立档单位ID")
private Long organizationId;

@ -77,7 +77,7 @@ public class ElectronicOtherPageReqVO extends PageParam {
private Long userId;
@Schema(description = "归档状态")
private String archiveState;
private String fileStatus;
@Schema(description = "立档单位ID")
private Long organizationId;

@ -106,7 +106,7 @@ public class ElectronicOtherDO extends BaseDO {
/**
*
*/
private String archiveState;
private String fileStatus;
/**

@ -39,7 +39,7 @@ public interface ElectronicOtherMapper extends BaseMapperX<ElectronicOtherDO> {
.likeIfPresent(ElectronicOtherDO::getDeptName, reqVO.getDeptName())
.eqIfPresent(ElectronicOtherDO::getRecordId, reqVO.getRecordId())
.eqIfPresent(ElectronicOtherDO::getUserId, reqVO.getUserId())
.eqIfPresent(ElectronicOtherDO::getArchiveState, reqVO.getArchiveState())
.eqIfPresent(ElectronicOtherDO::getFileStatus, reqVO.getFileStatus())
.orderByDesc(ElectronicOtherDO::getId));
}
@ -65,7 +65,7 @@ public interface ElectronicOtherMapper extends BaseMapperX<ElectronicOtherDO> {
.likeIfPresent(ElectronicOtherDO::getDeptName, reqVO.getDeptName())
.eqIfPresent(ElectronicOtherDO::getRecordId, reqVO.getRecordId())
.eqIfPresent(ElectronicOtherDO::getUserId, reqVO.getUserId())
.eqIfPresent(ElectronicOtherDO::getArchiveState, reqVO.getArchiveState())
.eqIfPresent(ElectronicOtherDO::getFileStatus, reqVO.getFileStatus())
.orderByDesc(ElectronicOtherDO::getId));
}

Loading…
Cancel
Save